Editorial Reviews:
...an instructive and expert demonstration of how to use PHP, MySQL, the Zend Framework, Smarty, Ajax, and other powerful technologies for creating robust Web sites. ? Michael J. Ross, Web developer/Slashdot contributor Want to assert yourself as a cutting?edge PHP web developer? Take a practical approach, learning by example from author Quentin Zervaas, and discover how to bring together the many technologies needed to create a successful, modern web application. In Practical Web 2.0 Applications with PHP, PHP, MySQL, CSS, XHTML, and JavaScript/Ajax development techniques are brought together to show you how to create the hottest PHP web applications, from planning and design up to final implementation, without going over unnecessary basics that will hold you back. This book includes must?have application features such as search functionality, maps, blogs, dynamic image galleries, and personalized user areas. The Zend Framework is used extensively to build the application, allowing you to focus on developing the application rather than on reinventing the wheel. Topics covered include application planning and design; setting up the application framework; using CSS for easier styling; adding dynamic effects the easy way using JavaScript libraries such as Prototype and script.aculo.us; and implementing several must?have web application features such as user login, blogs, dynamic image galleries, search functionality, mapping with Google Maps, and much more. Zervaas covers everything in a practical, tutorial style so you can start working on your own projects as quickly as possible. - Create cutting?edge PHP/MySQL web applications.
- Implement must?have functionality such as blogs, maps, search functionality, and dynamic image galleries.
- Master styling with CSS and dynamic effects using Ajax/JavaScript libraries.
What you?ll learn - How to set up the perfect PHP/MySQL application development environment
- How to implement basic user management functionality
- How to use many of the components from the Zend Framework
- How to effectively make use of the Prototype and script.aculo.us JavaScript libraries, including many examples of developing custom JavaScript classes
- How to create standards?compliant and accessible HTML code and effectively style it using CSS
- How to create a basic blog system and enhance it with Ajax
- How to add personalized user areas to your web application
- How to create a dynamic image gallery
- How to add search functionality to your application
- How to use the Google Maps API to add maps to your application
- How to implement popular Web 2.0 features, such as microformats, tags, and web feeds
Who is this book for? This book is for any PHP developer who wants to stay ahead of the curve, with practical, high?level web application development techniques. About the Apress Practical Series The Practical series from Apress is your best choice for getting the job done, period. From professional to expert, this series lets you apply project?motivated templates (or frameworks) step by step in a very direct, practical, and efficient manner toward current real?world projects that may be sitting on your desk. So whatever your career goal, Apress can be your trusted guide to take you where you want to go on your IT career empowerment path. Related Titles from Apress - Beginning PHP and MySQL: From Novice to Professional, Third Edition
- PHP 5 Objects, Patterns, and Practice
- Beginning PHP and MySQL E-Commerce: From Novice to Professional, Second Edition
Customer Reviews:
Displaying 6 to 9 of 9 total reviews (Page 2 of 2):
Great... once you get going
I won't repeat what the others have said about how great this book is other than to say I agree with them. In addition, as what follows will prove, I am relatively new to PHP. What follows below is answers to two hurdles that I had troubles with 'getting going' - the first having to do with php configuration, and the second concerning Smarty. I simply hope, if you are new like me, the following will save you some head scratching.
First - php settings... While the author does go to extraordinary length to try to spell things out for the reader, one gotcha centers around your 'include_path' settings. The author failed to mention that his default include_path includes a '../include' entry. Without that, any attempt to run the application will report an error with the Zend Loader. A work-around is to simply use ini_set to add '../include' to the index.php file.
Second - Smarty. Installation of Smarty for this project is demonstrated for a unix environment. Being ignorant of that environment, I missed the fact that the author was copying 'Smarty/libs/smarty.class.php' and the rest to 'Smarty/smarty.class.php', etc... In that I already had Smarty installed in php5/include/Smarty/libs, I missed the elimination of the libs folder. So, if you are going to buy this book AND already have Smarty installed, you can do what I did... Go to line 11 in Templater.php to change the require_once to point to where your installation is. In my case, 'Smarty/libs/smarty.class.php'.
Outstanding Demonstration of Php(Zend) and AJAX
After thoroughly going through every chapter in this book (somtimes several times to understand exactly how everything was linking together) I have an incredibly improved understanding on how you might go about building a more complex web application, and an advanced understanding of the MVC pattern.
Every section is extremely well laid out, and the code is explained in detail (in most cases.) The only times where an explanation is lacking are when an approach has been previously explained in the book. Use that memory!
I think if you really dig into and understand this code, you may find yourself well ahead of a lot of your peers.
I even had a problem with one piece of code, and the author was kind enough to reply to my e-mail and help me troubleshoot the problem. (It was my fault.)
Highly suggest this book! Great Book on the Zend Framework.
The only quip I have with this book is the title "Practical Web 2.0 Applications with PHP" it should be called "Practical Zend Framework Applications using PHP"
There is not one example in the book that doesn't use the Zend Framework. That being said the Zend Framework is a great framework - by far the best web framework I've seen. I'm PhD student in Computer Science at UCLA whose dissertation research involves the web. I've used a lot of web applications and frameworks. Symfony, Drupal, Joomla, Ruby on Rails, etc.
Most of these applications and frameworks just suck - that is, it is more work using them than not using them and many severely limit what one can ultimately do.
I like Ruby on Rails but I love the Zend Framework. There are two big differences between the Zend Framework and Ruby on Rails: 1) they both promote MVC style programming but Ror forces you to use it everywhere and the Zend Framework allows you to mix MVC with simply using their framework as a library wherever you want. For example, I am building a social network but want to mix that with a related wiki. I can use MVC for all the social network code and use and existing MediaWiki (which is not MVC based). All I need to do is rewrite some of the mediaWiki code to hand over user authentication to my controllers.
2) it's Php based ... there is much, much more existing Php code to cannibalize for applications than Ruby code
The book itself basically takes you through setting up user profiles, a blog, an image gallery, prototype (javascript) and Google maps using the Zend Framework. The code is very professional and complex at times so a beginning user may have to read a chapter 2-3 times to fully understand it. Still the only way to really learn to write "professional" code is to see it and understand why it was written as it was.
There are some issues I have with the book. In places where something could reasonably be done in multiple ways the book only shows one without any explanation why that way was chosen. For example, in the installing Zend chapter the book tells you to edit the httpd.conf file to set your paths. Most people who use a commercial hosting company don't have access to edit httpd.conf or restart the server. There are ways to reset the path within the Zend bootstrap (which I did) but if I didn't know how to do that I would not have been able to get the examples to work without setting up a server locally on my machine.
Also the bootstrap is left in the index.php file when Zend recommends using the index.php to call the bootstrap.php file from a non-public web directory.
The Zend Framework is only a few months old and this is by far the best web framework out there. There is only one other (decent) book on the framework. This book is about the Zend Framework and only marginally about "Web 2.0" (you use Google maps). The book that should have been titled "Practical Zend Framework Applications using PHP" will teach you how to use the best web framework out there. If the next book shows one how to really use web services, ajax and present web services using the Zend Framework then it can be called "Web 2.0" not this one. PHP Web 2.0 using Zend and Smarty
First of all. What is Web 2.0? Everyone has a definition. The important point is how does THIS BOOK define it. The author of this book defines Web 2.0 as sites that use: standard compliant HTML/CSS, use AJAX, share data using web services, and incorporate social networking tools. This book seeks to show the reader how to use the four components in conjunction with PHP.
The cover of the book states "Develop a complete PHP web application from start to finish." This is exactly what the book does. As the chapters progress you are shown how to create a blog that also includes an image gallery. Additionally, Google maps integration is covered. While, the author is not necessarily advocating that you create blog software from scratch, the blog is perhaps the quintessential Web 2.0 application. This allows the book to highlight the four main design criteria of Web 2.0.
This book makes extensive use of the Smarty and Zend frameworks. The Zend framework is used to achieve the Web 2.0 goals. In many ways this book could be considered a guide to using the Zend framework. MySQL is also used.
The book contains many code examples and demonstrates many techniques that can be reused in any web 2.0 project. More Customer Reviews: Previous Page
|