Model View Controller (MVC) is becoming the definitive architecture of website development frameworks due to the stability, extensibility and predictability it lends to development. It is not just the primary separation of database, business logic and interface components, but includes a wide range of considerations for building high-performing, scalable and secure applications.Deciding which MVC framework best suits the project you are about to begin is one of the biggest challenges you'll face as a developer. If you are part of a team, this decision has probably already been made for you; but in any event, you'll need to know how (and why) the framework authors made it work the way it does.Pro PHP MVClooks at the building blocks that make any good MVC framework, and how they apply to PHP. It exposes all considerations that many developers take for granted when using a popular framework, and teaches you how to make the framework your own. Over the course of reading this book, you will learn the theoretical implications of the choices you would make when writing your own MVC framework, and how to put the pieces together in a cohesive package. We take a look at the highly modular Zend Frameworkhow to use its collection of loosely coupled classes to build a unified system. We also look at CakePHP, learning from its automated build system (Bakery) and highly intuitive approach to rapid development. This book will lay bare all the secret parts of MVC for you.What youll learnThe best way to structure your application filesHow to get from a URL to the right controller/actionCleanly interact with data objectsEfficient use of server resources in content deliveryUseful shared class libraries to speed up developmentUnit testing to ensure maximum stabilityWho this book is forThis book is for beginners and advanced developers alike, requiring a basic understanding of PHP5 language features and SQL. If you want to improve your PHP skills, or share the wisdom of popular PHP MVC frameworks, this book will be invaluable to you.Table of ContentsIntroductionFoundationBaseConfigurationCachingRegistryRoutingTemplatesDatabaseModelsTestingStructureBootstrappingRegistration + Login SettingsSearchSharingPhotosExtendingAdministrationTestingCodeIgniter: BootstrappingCodeIgniter: MVCCodeIgniter: ExtendingCodeIgniter: TestingZend Framework: BootstrappingZend Framework: MVCZend Framework: ExtendingZend Framework: TestingCakePHP: BootstrappingCakePHP: MVCCakePHP: ExtendingCakePHP: TestingAppendix A: Setting Up a Web Server
ASIN : 1430241640
Binding : Paperback
EAN : 9781430241645
Edition :
Feature :
ISBN : 1430241640
Label : APRESS
Languages :
Manufacturer : APRESS
Number of Pages : 471
Publication Date : 22 Nov 2012
SKU :
Studio : APRESS