Skip to main content
  • Book
  • © 2012

Pro PHP MVC

Apress

Authors:

  • The only book devoted solely to PHP MVC

  • Provides readers with everything they'll need, from first theoretical insights all the way to practical advice on advanced techniques

  • Includes special guidance for the most popular PHP frameworks, including Zend Framework and CakePHP

Buy it now

Buying options

eBook USD 49.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (33 chapters)

  1. Front Matter

    Pages i-xxv
  2. Introduction to MVC

    • Chris Pitt
    Pages 1-7
  3. Foundation

    • Chris Pitt
    Pages 9-25
  4. Base Class

    • Chris Pitt
    Pages 27-39
  5. Configuration

    • Chris Pitt
    Pages 41-49
  6. Caching

    • Chris Pitt
    Pages 51-60
  7. Registry

    • Chris Pitt
    Pages 61-65
  8. Routing

    • Chris Pitt
    Pages 67-82
  9. Templates

    • Chris Pitt
    Pages 83-112
  10. Databases

    • Chris Pitt
    Pages 113-142
  11. Models

    • Chris Pitt
    Pages 143-171
  12. Testing

    • Chris Pitt
    Pages 173-195
  13. Structure

    • Chris Pitt
    Pages 197-199
  14. Bootstrapping

    • Chris Pitt
    Pages 201-217
  15. Registration and Login

    • Chris Pitt
    Pages 219-239
  16. Search

    • Chris Pitt
    Pages 241-260
  17. Settings

    • Chris Pitt
    Pages 261-272
  18. Sharing

    • Chris Pitt
    Pages 273-288
  19. Photos

    • Chris Pitt
    Pages 289-296
  20. Extending

    • Chris Pitt
    Pages 297-319

About this book

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 MVC looks 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 Framework—how 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.

About the author

A bio is not available for this author.

Bibliographic Information

Buy it now

Buying options

eBook USD 49.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access