Scaling String Manipulation

Strings and string manipulation are a major portion of the computation involved on the back-end server portion, as well as the client portion of a PHP/AJAX application. It would be wise, therefore, to evaluate how to make string manipulation scalable in addition to the control structures previously examined.

There are several ways to concatenate strings in PHP. Each operator and methodology has its proponents and detractors. In order to select which operator or methodology to use, more than opinions, beliefs, or unknowledgeable sugestions are required. Some sort of numeric evaluation of these concatenation techniques would be of great benefit.

The following code contains three methodologies for the concatenation of ...

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.