php|architect novembre

è uscito il numero di novembre di php|architect, in questo numero:

PHP 5 & XML
When most people talk about PHP 5, they tend to concentrate on the many improvements in the way it works with objects, which is certainly a significant component of the new release. This often leaves equally important improvements, such as the changes made to the way PHP works with XML, neglected. This article’s goal is to familiarize you with how XML is handled by PHP 5 and how these changes make working with XML much easier. Join PHP developer and author Ilia Alshanetsky for the ultimate tour of all that is PHP 5 & XML!

PHP – XML Generator
Developing a UI that manipulates large data sets is difficult. Developing a UI dynamically upon user request is even more difficult. In this article, Man-ping Grace Chau aims to discuss the difficulties in developing a complex UI, demonstrated by the XML/XSL generator made in the Infospheres Lab at the California Institute of Technology. Examples of how to generate JavaScript dynamically at run time and how to represent a complex DOM tree with simple HTML data structure will also be shown. Furthermore, the article will discuss the optimization of input validation. Several error checking/correction algorithms will be demonstrated. This application is developed in PHP5, with extensive use of the new XML library.

Confronting the Object-Oriented vs. Relational “Impedance Mismatch” – Part II: Managing Distractions
To many object-oriented developers, there is a sense that the relational model for data management is at odds with the concepts of object-oriented development. Are these views justified? Are they practical? In part II of this two-part series, author Rick Morris builds a simple example of an object-oriented application that derives business logic from the database without object/relational mapping.

Hiding Your Sins – Practical Caching for the PHP Developer
After code acceleration (also called opcode cache), caching is one the easiest ways to make an existing website faster by saving the result of a time-consuming operation in a temporary storage medium from which it can be retrieved until a particular event takes place. Allen Smithee illustrates a practical caching approach that requires no external dependencies.

Secure Your System with a Port Security Guard
Intrusion prevention and detection are two essential components of a successful security strategy. In this article, Ron Goff discusses the creation of a “port guard”–a PHP-based system designed exclusively to detect and act upon malicious activity on your server’s Internet connection.

ciauz

%d bloggers like this: