Two Great Books for PHP Developers
Two Great Books for PHP Developers
Join the DZone community and get the full member experience.Join For Free
Jumpstart your Angular applications with Indigo.Design, a unified platform for visual design, UX prototyping, code generation, and app development.
PHP is hot and this week we have two new releases to keep developers in top form. First, Pragmatic Bookshelf has released Rails for PHP Developers, a guide to Rails from the PHP perspective. Next, No Starch Press has releasedWicked Cool PHP for the developer who wants to get things done.
As per O'Reilly,who are ditributing the book Rails for PHP Developers kick-starts your Rails experience by guiding you through learning both Ruby and Rails from a PHP developer’s perspective. Written by developers with deep experience using PHP, Ruby, and Rails, this book leverages your existing knowledge of PHP to learn Rails application development quickly and effectively.
As a PHP developer, you have some great tools for developing web applications. Ruby on Rails is another key tool to add to your web development toolbox. Rails is a high-level web development framework that emphasizes high productivity and clean code. However, the Ruby language and Rails framework take a different approach from the way many PHP developers write applications.
Authors Derek DeVries and Mike Naberezny tell us, Ruby lies at the foundation of Rails, and we’ll teach you the Ruby language from the beginning by building on your existing foundation of PHP. We’ll explore Ruby through parallel code examples that illustrate the differences between the languages, and help you understand the Ruby idioms and how they differ from popular PHP code and style.
You’ll then learn the Rails framework by iteratively building a complete application, starting from the home page through to a finished product. Along the way, you’ll build your skills as a Rails developer by learning the Rails fundamentals such as MVC structure, domain modeling, and testing.
In addition to serving as a guide to learning both Ruby and Rails from a PHP developer’s perspective, this book includes two extensive reference chapters. They map the most common PHP tasks to their equivalents in the Ruby and Rails world, giving you at-a-glance information that you’ll refer to often.
This great reference will also show you how to:
* Leverage PHP knowledge to learn Ruby on Rails quickly
* Understand key differences between Ruby and PHP
* Learn Rails best practices and relate them to PHP
* Develop techniques for writing effective Rails code
[img_assist|nid=1000|title=|desc=|link=url|url=http://www.oreilly.com/catalog/9781593271732/index.html|align=left|width=76|height=100]According to No Starch Press, Wicked Cool PHP (No Starch Press, February 2008, 216 pp., ISBN 9781593271732), by William Steinmetz and Brian Ward, is a different breed of PHP book. It's made specifically for the developer who wants to know how to get things done without mucking around and wasting a lot of time. This is not a weighty PHP complete reference or bible that threatens to take down your bookshelf and the rest of the bookcase. This is a book for coders to pick up and use, not wade through.
"We do the picking so that our readers won't have to," said No Starch Press Publisher Bill Pollock. "When we release a title, we make sure that we've pared it down to its essence, and at under 250 pages, Wicked Cool PHP is no exception. Just the meat, none of the starch." But don't let this book's lack of girth fool you.
Wicked Cool PHP offers readers a collection of 76 immediately useful PHP scripts, the brainchild of two veteran Web programmers. The scripts can be used to process credit cards, check the validity of email addresses, use HTML templates, and serve dynamic images and text. Most importantly, readers learn how to customize all of the scripts to fit their own needs, and how to troubleshoot their scripts when something goes wrong.
The book also teaches readers how to use PHP to:
* Send and receive email notifications
* Scrape other websites
* Encrypt sensitive data and create a secure login scheme
* Track visitors' behavior with cookies and sessions
* Override PHP's default settings
* Manipulate dates, images, and text on the fly
* Harness SOAP and other web services
* Create an online poll, e-card delivery system, and blog
Opinions expressed by DZone contributors are their own.