Industrial-Sized Deals Shop all Back to School Shop Women's Handbags Learn more nav_sap_SWP_6M_fly_beacon Melanie Martinez Fire TV Stick Off to College Essentials Shop Popular Services gotS5 gotS5 gotS5  Amazon Echo Starting at $99 Kindle Voyage Metal Gear Solid 5 Shop Back to School with Amazon Back to School with Amazon Outdoor Recreation STEM Toys & Games
and over one million other books are available for Amazon Kindle. Learn more

Real-World Solutions for Developing High-Quality PHP Frameworks and Applications 1st Edition

6 customer reviews
ISBN-13: 000-0470872497
ISBN-10: 0470872497
Why is ISBN important?
ISBN
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Sell yours for a Gift Card
We'll buy it for $1.50
Learn More
Trade in now
Have one to sell? Sell on Amazon
Buy used
$9.86
Buy new
$29.75
More Buying Choices
24 New from $23.61 21 Used from $9.86
Free Two-Day Shipping for College Students with Amazon Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student


InterDesign Brand Store Awareness Textbooks
$29.75 FREE Shipping on orders over $35. Only 16 left in stock (more on the way). Ships from and sold by Amazon.com. Gift-wrap available.

Frequently Bought Together

Real-World Solutions for Developing High-Quality PHP Frameworks and Applications + Building PHP Applications with Symfony, CakePHP, and Zend Framework
Price for both: $65.47

Buy the selected items together

Editorial Reviews

From the Back Cover

Develop high-quality applications and frameworks in PHP

PHP has risen to become one of the most popular programming languages in the world, making high-quality, sustainable applications and frameworks created in PHP more sought after than ever. Using real-world case studies from well-known companies, this valuable book presents the planning, execution, and automation of tests for the different layers and tiers of a web software architecture and explains how these companies measure and test the quality of their software. The authors and contributing PHP experts offer varying opinions as to how problems are solved so that you can benefit from different approaches prior to developing your own apps and frameworks in PHP.

Real-World Solutions for Developing High-Quality PHP Frameworks and Applications:

  • Looks at the characteristics of good internal and external software quality

  • Shares techniques for writing new code, changing and optimizing existing code, and finding and fixing bugs

  • Reveals bad testing practices so you know what to avoid

  • Addresses how to test service-oriented APIs, a WebDAV server, and many PHP frameworks

  • Reviews large-scale selenium-based testing and testing database interaction

Wrox guides are crafted to make learning programming languages and technologies easier than you think. Written by programmers for programmers, they provide a structured, tutorial format that will guide you through all the techniques involved.

wrox.com

Programmer Forums
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.

Read More
Find articles, ebooks, sample chapters and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.

About the Author

Sebastian Bergmann is a cofounder of The PHP Consulting Company. He is a thought leader on software quality assurance and author of PHPUnit and various other tools. He is a sought-after speaker at conferences around the world.

Stefan Priebsch is a cofounder of The PHP Consulting Company, helping customers to improve their development processes and make better use of PHP. He is the author of various books and a frequent speaker at IT conferences.

NO_CONTENT_IN_FEATURE


Best Books of the Month
Best Books of the Month
Want to know our Editors' picks for the best books of the month? Browse Best Books of the Month, featuring our favorite new books in more than a dozen categories.

Product Details

  • Paperback: 408 pages
  • Publisher: Wrox; 1 edition (May 10, 2011)
  • Language: English
  • ISBN-10: 0470872497
  • ISBN-13: 978-0470872499
  • Product Dimensions: 7.4 x 0.8 x 9.3 inches
  • Shipping Weight: 1.6 pounds (View shipping rates and policies)
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (6 customer reviews)
  • Amazon Best Sellers Rank: #1,030,187 in Books (See Top 100 in Books)

More About the Author

Even experienced software developers need to expect the unexpected from time to time. When you cannot afford to experience unpleasant surprises on the launch of your new PHP project, you can rely on the expertise of Sebastian Bergmann. He can identify side-effects and sources of error, even in legacy code, and then provide you with strategies to improve your software development.

Sebastian is a co-founder of thePHP.cc and a pioneer in the field of quality assurance in PHP projects. His test framework PHPUnit is a de-facto standard. He is actively involved in the development of PHP and responsible for creating a wide range of tried-and-trusted development tools.

This internationally sought-after expert shares his knowledge and experience through his widely-read books and articles. His presentations at conferences around the world are followed by those in the PHP community and beyond.

Customer Reviews

Most Helpful Customer Reviews

21 of 21 people found the following review helpful By Ryan Kulla on June 12, 2011
Format: Paperback Verified Purchase
Finally a book written for serious PHP application developers. This book really gets it. Using Test-Driven Development from the very first chapter, the book explains practical TDD such as using in-memory databases. There are clear examples of stubs and mocks. Caring so much about TDD, this book also teaches how to write proper Object-oriented Code, utilizing proven best practices and design patterns.

As if that weren't enough, this book also covers PHP frameworks but by no means relies on them. Just glancing at the table of contents was enough for me to buy this book--as there weren't yet any reviews written for it on Amazon.

After reading the first chapter alone--where the authors quote "Uncle Bob's" Clean Code book--I had a good feeling that I was reading something that would finally help PHP developers write truly good code.

I haven't made it through the whole book yet but it has already earned its way as my favorite PHP book, and I have read a lot of them over the last several years.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
14 of 14 people found the following review helpful By Amazon Customer on September 22, 2011
Format: Paperback
Disclaimer: I was sent a free copy for review.

I am not a big believer in programming books. Over the years I have seen only a few that were worth reading, but Real-World Solutions (perhaps a shorter title would be nice...) is a great read. Read not reference. Most programming related books end up as "reference" which is generally useless in the world of Google and StackOverflow. Real-World Solutions is meant to be read, perhaps while looking at your own code and trying a few things out. I also suggest scanning sections that do not apply to you, or you have already mastered.

Most of the book focuses on testing. Unit testing primarily and this could be very dull. However the choice to have stories from real implementations by companies was smart. They also included sections of common problems with (my favorite) more that one suggested solution!

I wish there had been some reference to how the lone coder (such as myself currently) could implement a more agile methods. Also a listing of programs, frameworks, and tools with a one line description and then page numbers would have also been nice for those reading on the couch and then later recall the idea of a tool, but not the name.

Overall this book is great for:
PHP programmer learning or weak in testing knowledge.
A self-taught PHP programmer who wants to find some holes in knowledge (like me!)
Teachers who want to give students a programming book they might actually read.
A manager of programmers trying to find new ways to increase code quality.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
9 of 10 people found the following review helpful By Gordon Mcvey on May 11, 2012
Format: Paperback
I've not completely read this book through yet, so this is only a partial review of the content I have got through so far.

From what I've read I'd say that this is for the most part a high quality book that gives a lot of good advice. It makes a strong argument as to why dependency injection is tremendously preferable to hard coded dependencies and it describes in detail the kinds of problems you can run into if you do hard code your dependencies.

There are some things in the chapters on testing that I think need to be addressed, though. The main one is it advocates direct testing of non-public methods (by subclassing the CUT to expose its protected methods as public). This can make the test fragile, as it's now making assumptions about the inner workings of the class instead of testing its API. Normally you should be able to change or completely remove non-public code without having to worry about the effect it has on the tests. If you're testing non-public methods directly, then you can easily break a test by changing or removing it, making the test fragile. Fragile tests are something the book argues against, with good reason.

If you exercise all the public methods of a class properly within your unit test, then all the non-public methods should also be exercised as well. If they are not, then this indicates that either the unit test isn't thorough enough, or that there is dead code in the CUT.

This is still, however, a very useful resource, and written to a much higher standard than most PHP books. I'd say it's a must-read, and would have given it 5 stars if not for the non-public method testing remarks.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Set up an Amazon Giveaway

Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more
Real-World Solutions for Developing High-Quality PHP Frameworks and Applications
This item: Real-World Solutions for Developing High-Quality PHP Frameworks and Applications
Price: $29.75
Ships from and sold by Amazon.com

What Other Items Do Customers Buy After Viewing This Item?

Want to discover more products? Check out these pages to see more: forums software, pure php, php mvc