Skip to Main Content
Pro PHP MVC
book

Pro PHP MVC

by Chris Pitt
October 2012
Beginner to intermediate content levelBeginner to intermediate
500 pages
10h 29m
English
Apress
Content preview from Pro PHP MVC

CHAPTER 11

images

Testing

We have written an enormous amount of code, so far. That’s an achievement, but it can quickly turn into a burden if our code needs to be changed. For anything as complex as a complete MVC framework, you can expect a lot of interconnected code. The more connected the code is, even with the separation that MVC affords our framework, the more likely that changes to code can break other code.

Imagine we wanted to add a few ORM methods to our Model class. They could require changes to methods we already created, and may subtly change the functionality already established. Usually, this will lead to unexpected breaks in our application. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro PHP Programming

Pro PHP Programming

Peter MacIntyre, Brian Danchilla, Mladen Gogala
Ajax Design Patterns

Ajax Design Patterns

Michael Mahemoff

Publisher Resources

ISBN: 9781430241645Purchase book