Learn CakePHP (eBook)
XXIV, 114 Seiten
Apress (Verlag)
978-1-4842-1212-7 (ISBN)
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 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
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 learnWhat is unit testing and CakePHP and how to put the two togetherWhat is clean codingWhat is TDD and the development cycle using this approachHow to work with fixtures, model tests, text callbacks, controller tests, and moreHow to do mocks, test suites, testing from the command line and moreHow to work with code coverage, fixtures data, and private methodsWho this book is forThis book is for experienced PHP programmers and web developers who have little or no experience using CakePHP and/or unit testing.
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
| Erscheint lt. Verlag | 22.8.2016 |
|---|---|
| Zusatzinfo | XXIV, 114 p. 36 illus., 18 illus. in color. |
| Verlagsort | Berkeley |
| Sprache | englisch |
| Themenwelt | Mathematik / Informatik ► Informatik ► Web / Internet |
| Schlagworte | Cake PHP • CakePHP • TDD • Test driven development • Unit Testing • Web Development |
| ISBN-10 | 1-4842-1212-6 / 1484212126 |
| ISBN-13 | 978-1-4842-1212-7 / 9781484212127 |
| Informationen gemäß Produktsicherheitsverordnung (GPSR) | |
| Haben Sie eine Frage zum Produkt? |
DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasserzeichen und ist damit für Sie personalisiert. Bei einer missbräuchlichen Weitergabe des eBooks an Dritte ist eine Rückverfolgung an die Quelle möglich.
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich