O'Reilly logo

PHP, MySQL, & JavaScript All-in-One For Dummies by Richard Blum

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 1

The MVC Method

IN THIS CHAPTER

check Exploring the hype about MVC programming

check Comparing MVC to other programming methods

check Implementing MVC

check Using MVC in a client/server environment

In Book 6, I walk you through how to create a complete dynamic web application using object-oriented PHP programming techniques. But there’s more than one way to design and program an object-oriented PHP application. There are, in fact, many different theories on just how best to design and code your dynamic web applications with PHP, all with their own pros and cons. This chapter walks you through one of the more popular methods for designing object-oriented web applications and compares it to some other methods available.

Getting Acquainted with MVC

If you’ve been spending any time reading articles, books, or even discussion group posts about PHP programming, you’ve come across the term MVC. The acronym stands for model–view–controller, which is a method of splitting your object-oriented program code into multiple parts to make it easier to code and implement in an object-oriented environment.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required