PHP: The Good Parts: Delivering the Best of PHP- P2: Vượt qua tất cả các hype về PHP và thâm nhập vào sức mạnh thực sự của ngôn ngữ này. Cuốn sách này khám phá những tính năng hữu ích nhất của PHP và làm thế nào họ có thể đẩy nhanh quá trình phát triển web, và giải thích lý do tại sao thường được sử dụng PHP yếu tố thường được sử dụng sai hoặc misapplied. Bạn sẽ tìm hiểu thêm phần nào sức mạnh để lập trình hướng đối tượng, và làm thế nào để sử dụng. | Table 1-1. Sampling of major websites that use PHP Website name Description URL Facebook Social networking http Flickr Photograph sharing http Wikipedia Online collaborative encyclopedia http SugarCRM Customer relationship management tool http Dotproject Project management tool http Drupal Website construction template engine http Interspire Newsletter and email marketing product http This is only the proverbial tip of the iceberg and is not in any way meant to be an exhaustive list it is simply a short list of examples of what has been built with PHP. If you have been to any of these websites you can see what this powerful language can accomplish. Basic PHP Setup By now you might be anxious to try PHP out for yourself so we ll go through a quick installation discussion here and have you saying Hello world in no time. The basic method of PHP development is to build PHP code on top of web server software like Apache or IIS. There is a stack of software that is generally used for a fully functional development environment either LAMP or WAMP. LAMP stands for Linux Apache MySQL PHP but there are variations to this as one would expect. You could be using PostgreSQL instead of MySQL for the database and therefore the acronym would be LAPP but you get the idea. The other acronym WAMP stands for Windows Apache MySQL PHP. . Typically the OS has no real bearing on the functionality of the written code. PHP written in the Windows environment will certainly operate f A just as well on a Linux box and vice versa. The only thing to be cautious of is if you are doing OS-level commands like CHMOD for changing file permissions or CHOWN for changing file ownerships in Linux and want to do the same in a different OS. Just be sure to test your code well in this and all instances. Since there are so many different platforms and components to setting up a full PHP .