- Shopping Bag ( 0 items )
PHP is a server-side scripting language comparable to MS ASP or Cold Fusion. PHP is an open-source and cross-platform language that works with Linux, UNIX and Windows NT operating systems. PHP4 Essentials covers everything from basic PHP techniques such as the variables in HTML, PHP and HTTP, to advanced applications such as mySQL administration. If you are a beginning developer, you can use PHP4 Essentials to help you create diverse web pages. If you are an advanced user of PHP, you will find the annotated language reference included in PHP4 Essentials useful while you design your own advanced applications. Programming.
A Brief History of PNP
In 1994, an incredibly forward-thinking man named Rasmus Lerdorf developed a set of tools that used a parsing engine to interpret a few macros here and there. They were not extravagant: a guest book, a counter, and some other "home page" elements that were cool when the Web was in its infancy. He eventually combined these tools with a form interpretation (FI) package he had written, added some database support, and released what was known as PHP/FI.
Then, in the spirit of Open Source software development, developers all over the world began contributing to PHP/FI. By 1997, more than 50,000 Web sites were using PHP/FI to accomplish different tasks-connecting to a database, displaying dynamic content, and so on.
At that point, the development process really started becoming a team effort. With primary assistance from developers Zeev Suraski and Andi Gutmans, the version 3.0 parser was created. The final release of PHP3 occurred in June of 1998, when it was upgraded to include support for multiple platforms (it's not just for Linux anymore!) and Web servers, numerous databases, and SNMP (Simple Network Management Protocol) and IMAP (Internet Message Access Protocol).
So where are we now? While I'm writing this paragraph just two weeks before the end of 1999, the rapid growth and popularity of PHP are apparent:
What goes PNP go?
PHP does anything you want, except sit on its head and spin. Actually, with a little on-the-fly image manipulation and Dynamic HTML, it can probably do that, too.
According to the PHP Manual, "The goal of the language is to allow Web developers to write dynamically generated pages quickly" Here are some common uses of PHP:
The future of pop
The future of PHP has arrived, with the beta release of PHP4 and the Zend engine (created by Zend Technologies). The final version of PHP4 is scheduled for release during the first quarter of 2000, and all signs point to a successful launch...
Introduction 1. Getting Started with PHP 2. Basic PHP Techniques 3. Working with Databases 4. Creating and Populating Database Tables 5. User Authentication 6. User Tracking and Session Management 7. Advanced PHP Techniques: Web-Based Database Administration 8. Advanced PHP Techniques: Working with Images 9. Advanced PHP Techniques: Working with XML Appendix A: Essential PHP Language Reference Appendix B: Getting Support
If you've been programming with PHP since the beginning of time, there's probably not much you can get out of this book, except to hand it to your boss and say, "Look! Another book on what a wonderful language this is. Can we please stop using ASP/ Cold Fusion/Java/Perl/C++ and migrate to PEP now?" But if you've just dabbled with PHP or have never seen a PHP script, this is the book for you. Whether you're a first-time programmer or you have a few years of Web application development under your belt, you'll find something useful here. I hope what you'll find is a simple "learn-by-example" path to developing highly successful Web sites. Unlike the Web itself, this book is fairly linear. You'll start by installing the software needed to use PHP, and then you'll gradually move into "Hello World!" scripts and eventually create shopping carts and other database-driven applications.
If you have an account with an Internet Service Provider that has enabled the use of PHP for all users on the server, you can skip ahead to Chapter 2. But since you can install freely-available Web servers, PHP, and a database or two on your own machine with a little poking and prodding along the way, I recommend doing so. It's a great way to learn the "guts" of what you're doing (and it looks good on a resume!).
For More Stuff
This book has its own Web site (that figures, doesn't it?), at http:// www.thickbook.com/. At this site you can download all of the code samples in this book, as well as all of the samples I didn't include, such as examples geared toward alternative database types. You can also use the site to alert me to bugs and other problems you have with the examples. Although they have been tested many times, one errant semicolon or quotation mark can cause the dreaded parse error. Also, please use the Web site to tell me about examples you wish I had included. I'll do my best to keep the "Tutorials" section filled with new and exciting topics not covered in this book.