concept web application in category php

appears as: web applications, web application
Zend Framework in Action

This is an excerpt from Manning's book Zend Framework in Action.

Zend_Db_Table implements a Table Data Gateway pattern which, along with the web services components, can be used to form the basis of the model within the MVC system. The model provides the business logic for the application, which is usually but not always database-based in a web application. Zend_Db_Table uses Zend_Db, which provides object-oriented database-independent access to a variety of different databases, such as MySQL, PostgreSQL, SQL Server, Oracle, and SQLite.

Ajax is a way of using JavaScript to create interactive web pages that send data to and from the server behind the scenes. This means that the user doesn’t see the full page refresh and that a website is more responsive and feels faster to the user. As a result, a web application, such as a web-based email client, behaves more like its desktop cousins. Although it is server-based, Zend Framework’s MVC system, which separates different layers of the application, helps make it easier to add Ajax functionality to your websites.

In this chapter, we will look at what Ajax is and how it is used in web applications. We’ll also examine all the components that make up a simple example in both pure JavaScript and using prebuilt Ajax libraries. We will also integrate Ajax into a Zend Framework application so that we can investigate how Ajax interacts with the MVC system. First, let’s look at exactly what Ajax is.

5.1.2. Using Ajax in Web Applications

Ajax has many uses in all kinds of web applications. These are the main uses:

PHP in Action: Objects, Design, Agility

This is an excerpt from Manning's book PHP in Action: Objects, Design, Agility.

Another, more relevant objection to PHP’s low threshold of entry is the fact that it can make things seem too easy. It may foster a false impression that complex web applications using databases with complex dynamic user interfaces can be created and maintained with just basic knowledge. But web applications are like any other software: developing and maintaining large systems with complex logic and processing requires knowledge of design principles, development methodology, and programming practices. That is why books like this one exist.

Duplication comes in varying degrees of awfulness, from one or two lines of code that are somewhat or almost identical, to the web application that’s been copied several times in its entirety and modified differently each time.

Figure 15.3. Web applications make decisions so that the relationship between user action and the “page” that's shown becomes ambiguous