CHAPTER 2PHP and JavaScript Modularity

Chapter 1 states that ease of adaptation and growth is a vital component of scalability. AJAX and modularity used in combination give you the opportunity to make adaptation and growth of your applications much simpler. AJAX supplies the easy data communication you need and want, and modularity makes that data easy to create and handle. As you read this chapter you will see how a non-modular application can be modularized, and in this way, you will learn how to create modular applications. As you do this you will develop a highly flexible, procedural AJAX application using both JavaScript and PHP.

The chapter covers the following topics:

Modularity defined

Design for the real world

PHP modularity and controllers ...

Get Oracle Database Ajax & PHP Web Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.