Learn CakePHP: With Unit Testing (2nd Revised edition)

Learn CakePHP: With Unit Testing (2nd Revised edition)

By: David Golding (author), Sandor Gomori (author), Radharadhya Dasa (author)Paperback

More than 4 weeks availability


Accelerate your development of PHP applications using the popular CakePHP web application development framework and unit testing. This short book shows you how to carry out test-driven development with fixtures, model tests, controller tests, mocks, and test suites. Learn CakePHP contains all you need to get started with the CakePHP framework to build faster, better PHP-based web applications. You'll learn about unit testing and how to implement it in CakePHP. This approach to coding leads to better code, better applications, and better programming habits. With this knowledge your PHP skills will go from strength to strength allowing you to write more and improved code. What you'll learn* What is unit testing and CakePHP and how to put the two together* What is clean coding* What is TDD and the development cycle using this approach* How to work with fixtures, model tests, text callbacks, controller tests, and more* How to do mocks, test suites, testing from the command line and more* How to work with code coverage, fixtures data, and private methods Who this book is for This book is for experienced PHP programmers and web developers who have little or no experience using CakePHP and/or unit testing.

Create a review

About Author

rrd started to code for the web in plain HTML in 1998 at the college. As the web evolved, he turned to PHP, then to Javascript. As mobile technologies arrived, he started to play with Java for android development.He's a big fan of CakePHP and jQuery frameworks, open source, and pizza. All of them are there in his web development.


1. What is Unit Testing?2. What is CakePHP?3. Clean Code4. Test Driven Development5. Development Cycle6. Preparing for Testing7. Fixtures8. Model Tests9. Controller Tests 110. Mocks11. Controller Tests 212. Test Suites13. Testing from Command Line14. GoodiesAppendix A

Product Details

  • publication date: 18/11/2015
  • ISBN13: 9781484212134
  • Format: Paperback
  • Year: 2015
  • Number Of Pages: 138
  • ID: 9781484212134
  • weight: 225
  • ISBN10: 1484212134
  • edition: 2nd Revised edition

Delivery Information

  • Saver Delivery: Yes
  • 1st Class Delivery: Yes
  • Courier Delivery: Yes
  • Store Delivery: Yes

Prices are for internet purchases only. Prices and availability in WHSmith Stores may vary significantly