Sinopsis
PHP is the Web development language written by and for Web developers. PHP stands for PHP: Hypertext Preprocessor. The product was originally named Personal Home Page Tools, and many people still think that’s what the acronym stands for. But as it expanded in scope, a new and more appropriate (albeit GNU-ishly recursive) name was selected by community vote. PHP is currently in its fifth major rewrite, called PHP5 or just plain PHP.
PHP is a server-side scripting language, which can be embedded in HTML or used as a standalone binary (although the former use is much more common). Proprietary products in this niche are Microsoft’s Active Server Pages, Macromedia’s ColdFusion, and Sun’s Java Server Pages. Some tech journalists used to call PHP “the open source ASP” because its functionality is similar to that of the Microsoft product—although this formulation was misleading, as PHP was developed before ASP. Over the past few years, however, PHP and server-side Java have gained momentum, while ASP has lost mindshare, so this comparison no longer seems appropriate.
We’ll explore server-side scripting more thoroughly in Chapter 2, but for the moment you can think of it as a collection of super-HTML tags or small programs that run inside your Web pages—except on the server side, before they get sent to the browser. For example, you can use PHP to add common headers and footers to all the pages on a site or to store form-submitted data in a database.
Content
- PHP: The Basics
- Why PHP and MySQL?
- Server-Side Web Scripting
- Getting Started with PHP
- Adding PHP to HTML
- Syntax and Variables
- Control and Functions
- Passing Information between Pages
- Strings
- Arrays and Array Functions
- Numbers
- Basic PHP Gotchas
- PHP and MySQL
- Choosing a Database for PHP
- SQL Tutorial
- MySQL Database Administration
- PHP/MySQL Functions
- Displaying Queries in Tables
- Building Forms from Queries
- PHP/MySQL Efficiency
- PHP/MySQL Gotchas
- Advanced Features and Techniques
- Object-Oriented Programming with PHP
- Advanced Array Functions
- String and Regular Expression Functions
- Filesystem and System Functions
- Sessions, Cookies, and HTTP
- Types and Type Conversions
- Advanced Use of Functions
- Mathematics
- PEAR
- Security
- Configuration
- Exceptions and Error Handling
- Debugging
- Connections
- PostgreSQL
- Oracle
- PEAR Database Functions
- PHP and JavaScript
- PHP and Java
- PHP and XML
- Web Services
- Graphics
- Case Studies
- Weblog
- User Authentication
- A User-Rating System
- A Trivia Game
- Converting Static HTML Sites
- Data Visualization with Venn Diagrams
0 komentar:
Posting Komentar