In-function caching can be used to greatly improve the performance of our software. Applying this technique effectively is important to avoid spiraling memory usage and bizarre bugs that can be caused by old cache data lingering around.
Learn how to store a multidimensional array in a file and how to retrieve these data. With this method you can imitate a very basic database functionality.
What is meant by a Front Controller. This is a term used to describe a common place that all page requests are passed through before processing begins. This is ideal to setup your application environment (database connections, .ini configurations, etc). We will be using it to take the request and manipulate it to find the corresponding template. Once the template is found we then process it and then render it.
In PHP4/5 there is an extension named "overload", it is enabled by default in PHP 4.3.0
and higher and also in PHP5. Below 4.3.0 it is usually enabled on most implementations.
Using this extension allows for property access and method calling of a class to be overloaded.
PHP's way of overloading is fairly diffrent in definition to overloading in more traditional OOP
language (c++, java), it works by defining a function within a class, __get, __set or __call. When
a property is accessed or a method is called within that class then the appropriate function gets
called, which provides the name of the propery/method that was used and whatever paramaters are
given. One must explicitly tell PHP to overload a class, as it is not done by default. this is done
with
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.