Archive for November, 2008

忍耐という美徳


画像転載元:philrandolph.com

PHPのような、新しい言語を学ぶのは少し勇気が要ります。他の言語になれていない人にとっては特にそうでしょう。 でも、実はその初めの一歩が一番大変なのです。 いったん始めてしまえば、あとは練習あるのみです。 それには、まずは忍耐強く基本を一つずつ学ぶ必要があります。 PHPの基本を学ぶヒントは、次のようなものがあります。

PHPは、HTMLに不足している機能を補足するスクリプト言語です。 PHPによって、データの収集や処理が可能になります。 この技術を使えば、さらに細分化したデータを生成することが可能になるのです。

  • まずは、道具を揃えましょう。テキストエディタが必要です。
  • FTPも必要です。FTPはあなたのPCとリモートサーバとの間でファイルをやり取りするためのもので、LANやインターネットに接続するのに使います。
  • PHPを使ってファイルを作成する練習をしましょう。

さらに詳しいことは、インターネット上の情報やチュートリアルを参考にしてください。

PHP Shopping Cart

Image Source: img141.imageshack.us

Creating a shopping cart with PHP is, quite amazingly, very simple to do. And if you are able to do it correctly, it could spell a big difference between a very efficient system or just a badly written one. The stock’s details should be stored in the database and the only information that is left is the required information, which is the identification of the product that has been added into the cart. The shopping cart must be accessible and there must be ways to access it. One way to do is, the most popular way, having a click button that says ‘Add To Cart’ on that particular page. What it should be able to do next is to be able to update the products in the shopping cart before a new product range shows up.