Fr. 40.70

Learn CakePHP - With Unit Testing

English · Paperback / Softback

Shipping usually within 3 to 5 weeks (title will be specially ordered)

Description

Read more

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.

List of contents

1. What is Unit Testing?.- 2. What is CakePHP?.- 3. Clean Code.- 4. Test Driven Development.- 5. Development Cycle.- 6. Preparing for Testing.- 7. Fixtures.- 8. Model Tests.- 9. Controller Tests 1.- 10. Mocks.- 11. Controller Tests 2.- 12. Test Suites.- 13. Testing from Command Line.- 14. Goodies.- Appendix A.

About the 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.

Summary

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.  




Product details

Authors D&, R&dh&r&dhya D&257;sa, Radharadhya Dasa, Rādhārādhya Dāsa, Rdhrdhya Dsa, David Golding, Sándor Gömöri
Publisher Springer, Berlin
 
Languages English
Product format Paperback / Softback
Released 23.09.2016
 
EAN 9781484212134
ISBN 978-1-4842-1213-4
No. of pages 114
Dimensions 156 mm x 5 mm x 238 mm
Weight 239 g
Illustrations XXIV, 114 p. 36 illus., 18 illus. in color.
Series aPress
Subjects Natural sciences, medicine, IT, technology > IT, data processing > General, dictionaries

B, computer science, Computer Science, general, Web Development, Computer programming, Professional and Applied Computing

Customer reviews

No reviews have been written for this item yet. Write the first review and be helpful to other users when they decide on a purchase.

Write a review

Thumbs up or thumbs down? Write your own review.

For messages to CeDe.ch please use the contact form.

The input fields marked * are obligatory

By submitting this form you agree to our data privacy statement.