PHP Essentials Paperback – Mar 2000
No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.
Getting the download link through email is temporarily not available. Please check back later.
To get the free app, enter your mobile phone number.
PHP is getting lots of attention as an open-source alternative to Microsoft Active Server Pages, not least because it runs on Linux and other Unix-like systems as well as on Windows. It is a server-side parsing engine that lets you put dynamic content such as online databases on your Web site. The beauty of server-side processing is that any browser can view the results, provided of course that you are careful with your Web-page authoring.
Few books on PHP are available, so PHP Essentials is particularly welcome. The author is a PHP enthusiast and also uses it professionally. Her aim is to provide a hands-on guide to installing and using PHP for those who have no previous knowledge of the product. The book's based on version 3 but covers new PHP 4 features too. Readers are expected to have a basic knowledge of HTML, though. Although databases such as SQL Server and Oracle are briefly discussed, there is a special focus on using PHP with MySQL, an excellent open-source database server. (This is a common partnership, so the focus is appropriate.)
After tackling installation and basic PHP scripts, the book gets straight to the business of linking with a database. The text includes a short introduction to SQL and a complete example of how to create and query a database table. Further chapters cover user authentication, session management with cookies, and Web-based database administration. Finally, a complete e-commerce example in included, with code both printed in the book and available from a supporting Web site. An appendix offers a PHP language reference.
This book teaches by example. It is manageable in size and has a friendly, real-world feel. It is not the last word on the subject, though, so it's best suited to PHP newcomers or those using rival technology who want an idea of what PHP can do. --Tim Anderson, Amazon.co.uk
One of the best books that I have read and also enjoyed on this topic is PHP Essentials. -- Elizabeth Zinkann, Review Columnist for Sys Admin MagazineSee all Product Description
Top Customer Reviews
First, for someone who is already a programmer such as myself (having used C, Perl, Lisp, etc. for years) the book is much too basic. I don't like to see the same 10-line example repeated half a dozen times with only minor changes. At many points, the author basically tells the reader "do it this way and don't ask questions." I don't like that, especially when the author seems to have contradicted herself. As a programmer, I was also shocked by the inaccurate presentation of sprintf() and other functions - turning them into special purpose functions. There were many other things badly done as well. Also, the language reference in the appendix is pretty lame.
Secondly, this book I believe would be bad for those beginning to program. Maybe if you think that you can whip out a webpage with PHP and get rich fast this book would be a good buy. But for all others - stay away! The book doesn't teach programming. Functions are not covered. Control structures are basically ignored. The presentation of variables is badly done. This is very bothersome to me indeed.
Finally, the scope of this book. I thought this was a book on PHP. So why do I have to wade through: how to install Apache & other web servers, a pathetic HTML "refresher", a discussion on database "theory", an SQL lesson, etc.? Another chapter filled with incomplete coverage of the functions for connectivity to 7-8 different databases. Then a chapter that's source code for some bloated e-commerce example.
All things considered, a worthless book. It doesn't matter if you're a beginner or if you have lots of experience - please don't waste your time and money here.
After unsuccessful struggles with other PHP and MySQL books, which caused me to fear I would never learn, thank God I found "Fast and Easy Web Development." Within a day I was writing code and I worked through the entire book in 4 days. After that I never looked back. A year later I have created a highly complex, database intensive site that includes an onsite email system, shopping cart, and all the other staples of an e-commerce site. Make no mistake, her book is introductory, and I quickly moved on to Professional PHP and other more advanced books (I now own 9 PHP books and 4 MySQL books). Nonetheless, I would never have understood them were it not for Meloni. Her book is at just the right level for a beginner. The examples are clear, and nearly every time I was just thinking "but what about....", she answered my question. Even better, her examples were FUN to work through! Some of the other books I've got are valuable, but fun? I think not.
I don't think the negative reviews of her book are fair. Her book is for beginners. So why are advanced programmers who found her book inadequate giving it 1 or 2 stars? That's like a medical doctor criticizing a book on first aid because it doesn't explain how to do heart surgery. People also bitched about typos in the book. But Meloni has a comprehensive listing of all typos on her web site at thickbook.com. So the first thing I did when I got her book was go to the site and correct the typos (there were actually very few). Also, when I was getting started, Meloni answered several emails I sent her to ask for help on problems when I was stuck. That's clearly above the call of duty.
In short, if you're a beginning programmer, go with Meloni.
This book is great for a new user who has never used server side scripting and also for intermediate user though the first four chapters may prove too basic for them. After that its all about web-based application development starting from database setup, user authentication and progressing towards session management and database management through web.
The example codes given in every chapter are explained very clearly. A complex problem is broken down into simpler problems. For each simple problem a PHP solution is given and at the end, all the parts are combined with HTML to come up with the actual code for implementation.
PHP is used for various purpose on the Web and 'PHP Essentials' does a great job of covering the web application development.
Do not take this book as a guide to learning all PHP features, because it doesn't, although the name is misleading.
The book covers many aspects of PHP in enough detail to get you started with the language. The first 8 pages of chapter 2 contain an HTML refresher on forms, tables, lists, etc, which was helpful to me: I haven't dabbled in HTML for some time. Also included is a pretty good Appendix (Appendix A) which contains a lot of reference material which makes reviewing the small details of functions you've previously read of quite easy.
Though almost anyone can pick up the book and get started with some PHP, you'll get maximum enjoyment and will move faster through the book if you know some basic C++, as the loops are set up pretty much the exact same way. As well, knowledge of basic HTML (things such as the <img> and <font> tags, and the attributes that many tags can take.)
If I could change something about the book it'd be: 1- more tables in the book (i.e., in the section on writing/reading data files, it lists the modes, but a table would make that very similar text easier to parse, and see differences.) 2- Add a small section early on with information on loops and general style for the 100% neophyte computer programmer. 3- A section on host security would be nice.. but that's just a personal wish, and can't really be expected in this type of book for beginning.Read more ›
Most recent customer reviews
If you are experience in ANY programmig this is not for you... However if you are brand new to programming and to PHP this will walk you through the basics. Read morePublished on April 18 2003
This book is useful if you are unexperienced with PHP and need to learn but not for go beyond. I found some sintax mistakes in the examples and the order of every chapter is not so... Read morePublished on April 14 2003 by Fernando Barraza A.
This book is a poor introduction to php / mysql.
The way to programming proficiency is to understand small and simple scripts and use the lessons learnt to build your own... Read more
I am a PHP and programming newbie. I found this book to be a very solid and thorough introduction to PHP and database connectivity. Read morePublished on Feb. 26 2002 by Amazon Customer
if you have no confidence about breaking into programming and want a _lot_ of hand holding, this is the book for you.. Read morePublished on Jan. 28 2002 by Jonathan Robinson
for the internet development beginner, this book is ideal. it opens with a historical background of php, a tutorial on developing a php server and then a review of html. Read morePublished on Nov. 19 2001
Either of Julie Meloni's PHP books (PHP Essentials and PHP Fast and Easy) are great books to begin with for those who want to learn about PHP and MySQL. Read morePublished on Oct. 14 2001 by Vaughan Healy
This book is just what you need if you want to know PHP and you just don't know where to begin, the begin would be here, with this book you can introduce yourself to the PHP... Read morePublished on Aug. 28 2001
Honestly the book tells the truth about php among other things. You'll get the know-how on making a web server and compiling php with it. Read morePublished on Aug. 17 2001 by Brian
Look for similar items by category
- Books > Computers & Technology > Internet & Social Media
- Books > Computers & Technology > Networking & Cloud Computing > Networks, Protocols & APIs
- Books > Computers & Technology > Operating Systems > Linux > Networking & System Administration
- Books > Computers & Technology > Operating Systems > Linux > Programming
- Books > Computers & Technology > Operating Systems > Unix
- Books > Computers & Technology > Programming > Languages & Tools
- Books > Computers & Technology > Software
- Books > Computers & Technology > Web Development > Programming > PHP