PHP Articles
Basic & Beginners
Advanced
Database
XML, Webservices
Design Patterns
Ajax
All Articles
Main Menu
Home
About PHP Hacks
Links
Contact Us
Search


Advanced PHP Tutorials
Creating charts with JPGraph PDF Print E-mail
Monday, 18 September 2006
JPGraph is an Object Oriented graph library, which can help you to draw graphs. The real advantage in using JPGraph is its simplicity. Creating a graph at runtime may sound complex! But JPGraph class has been designed in such a way that they hide the complex part from the user. Few lines of coding can create amazing graphs, which you can never think of.
Last Updated ( Friday, 22 September 2006 )
Read more...
 
Generate OpenOffice documents with PHP PDF Print E-mail
Monday, 11 September 2006
PHP DocWriter is a set of PHP classes that allows you to create documents in OpenOffice.org XML  format (that is, StarOffice/OpenOffice.org documents). You can download the library files from here (http://phpdocwriter.sourceforge.net/download.php?lang=en). Also, you can find installation steps in the mentioned link.

It is also capable of communicating with the OpenOffice.org application with the purpose of converting OpenOffice.org XML generated documents to any other format supported by the OpenOffice.org application in an automatic and transparent way.

Last Updated ( Monday, 11 September 2006 )
Read more...
 
Validating Forms with Random Generated Images PDF Print E-mail
Monday, 28 August 2006
In PHP validation of forms using randomly generated images is achieved by using something known as CAPTCHA (completely automated public Turing test to tell computers and humans apart).

You may be thinking just exactly what is a captcha? Well you are likely to have already seen them across the web. They are those little images with a code on the front that you type into a box in order to submit something. This kind of system helps to prevent automatic submitting of an operation by some kind of program or robot. In this tutorial I will show you how to make a CAPTCHA. It’s not the most advanced captcha available because it uses a simple system font and nothing more.

Read more...
 
Inheritance and polymorphism in PHP PDF Print E-mail
Friday, 28 July 2006
In inheritance an object has a “is-a” relationship with other objects. An "is-a" relationship means that an object is or "can be seen as" another object. Thus, a derivative object can be seen as the object it was derived from. Here are some real world examples to give you a better idea of how you should interpret that:

•    a car is a vehicle
•    a bike is a vehicle
•    a man is a human being
•    a woman is a human being


Last Updated ( Friday, 28 July 2006 )
Read more...
 
Introduction to Abstract classes in PHP PDF Print E-mail
Friday, 28 July 2006

An abstract class is a class that cannot (or should not) be instantiated. They are surprisingly useful for certain purposes. In this article, you will learn the important concepts related to abstract classes in PHP, and see many hands-on examples that will allow you to make use of them in your own applications.

Although PHP wasn’t originally conceived to include many object-oriented features found in full-fledged OOP languages, it has gone through different major rewrites. It now provides developers with a mature, rich language, which offers numerous improvements, particularly in an area known as Object Model. Admittedly, with the long-awaited release of PHP 5, the implementation of a powerful object model has dramatically changed the scenario most PHP programmers must tackle on a daily basis.

The introduction of strong object-based features, such as member visibility, interfaces, and exceptions –- to name a few -– has brought boosted capacities to all those developers wanting to take a deeper approach to using object-oriented programming. Generally speaking, one of the most interesting topics surrounding the object-based paradigm is the implementation of abstract classes inside of PHP applications, certainly a very useful concept when applied in the appropriate development context.

Last Updated ( Friday, 28 July 2006 )
Read more...
 

Syndicate


Login Form





Lost Password?
No account yet? Register