PHP Frameworks

written by: Pranav Bhat; article published: year 2007, month 05;



In: Categories » Computers and technology » PHP » PHP Frameworks

PHP is finally getting the attention that i deserves, yes I have always believed that PHP is one of those neglected languages, neglected because they are used in abundance but there isn't enough programs or as we call them frameworks to work on PHP. But that was until the release of PHP 5. After the release of PHP, there is a range of Frameworks available.
Today we review and understand closely the various frameworks available for PHP. Some of the most popular frameworks for PHP are:

  1. The Zend Framework.
  2. The Prado Framework.
  3. CakePHP Framework.
  4. Symphony Framework.

These frameworks are ofcourse the most popular ones and there are more than 40 frameworks for PHP and it is very difficult to know which framework suits you the best and will be the most productive for your web development and enterprise goals.
Ofcourse all these frameworks are free and provide a host of services to satisfy almost all of the web development  needs  of a web designer or a website owner. Some of the most common features of all these PHP Framework are as follows:

  •  PHP 5: Thats obvious! All the frameworks support both PHP 5 version of the PHP.Only "The Prado Framework" support the PHP 4.x version of the PHP as well as the PHP 5 version of the PHP.
  • Multiple DBs: All the above mentioned frameworks support multiple databases to be used without making any setup and configuration changes.
  • Validation: All the four frameworks have an inbult validation and a filtering component which can be used.
  • MVC: All the four frameworks have the MVC that is the Model View Controller setup.

So, these are the few components and controllers that are common in most of the PHP based frameworks and therefore one should look out for these components when downloading or using a PHP framework.
Now let us see a brief introduction about each of these PHP based frameworks and their salient features:

  • Zend Framework:Zend Framework is a component based framework with components for almost all of the programming needs of a PHP programmer or PHP developer. 

Some of the components in the Zend Framework are:

  1. zend_acl
  2. zend_auth
  3. zend_cache
  4. zend_config
  5. zend_consolegetop and many more.
  • Prado Framework: The Prado framework provides the following benefits for web application developers.
  1. reusablility
  2. Ease of use
  3. Robustness
  4. Performance
  5. Team Integration
  • CakePHP:

Some of the important features of CakePHP are as follows:

  1. Model, View, Controller Architecture
  2. View Helpers for AJAX, Javascript, HTML Forms and more
  3. Built-in Validation
  4. Application Scaffolding
  5. Application and CRUD code generation via Bake
  6. Access Control Lists
  7. Data Sanitization
  8. Security, Session, and Request Handling Components
  9. Flexible View Caching

Like all other frameworks cakePHP is also component based framework. 

  • The Symphony Framework:

Some of the features of the symphony framework are as follows:

  1. simple templating and helpers
  2. cache management
  3. smart URLs
  4. scaffolding
  5. multilingualism and I18N support
  6. object model and MVC separation
  7. Ajax support
  8. enterprise ready

Thus these are the best options available for frameworks relating to PHP and one should review all these features of all these frameworks against his needs and choose the appropriate framework to work on!
Any suggestions and comments as always are welcome.

legal disclaimer

1) Our website is not responsible for the information contained by this article as well for any and all copyright infringements by authors and writers. E-articles is a free information resource. If you suspect this article for any copyright infringements, please read the Terms of service and contact us to investigate the problem.
2) The E-articles directory team is not responsible for inaccuracies, falsehoods, or any other types of misinformation this tutorial may contain and will not be liable for any loss or damage suffered by a user through the user's reliance on the information gained here. Please read the Terms of service

Useful tools and features

Translate this article to...    Send this article to you or to a friend

Link to this article from your page   
If you like this article (tutorial), please link to it from your web page using the information above. Linking to this page, this is the only way to help us improve our service, the same time providing your visitors with a way to improve their online experience.

related articles

1. PHP mail
In this article, we are going to look at some of the frequently asked questions regarding e-mail and PHP. We will begin by looking at a more fundamental issue: how to actually send an e-mail as HTML. How Do I Send an E-mail As HTML? As the PHP mail function defaults to sending plain text e-mails unless otherwise specified, a frequent question is how to send HTML e-mails using the mail function. The format for the mail function is as follows: mail($to, $subject, $message, $headers); ...

2. PHP Date and Time
In this tutorial, we look at commonly asked questions regarding the date function in PHP. How Do I Read the Date or Time from the Server? To read the date or time from the server, you need to use the PHP date function. You pass the date function a string, with special tokens in place of the date parameters you require. When the code is run, the tokens will be replaced with the date or time section that they represent. For example: <?php echo date("d/m/Y"); ?> outputs 11/02/2003 &...

3. PHP Random Password
In some applications, it can be useful to generate a random password, such as setting the user's initial password and then letting the user change it if he or she wishes. The function shown in the following code generates a password with a number of random characters, and you can set the length of the password when you call the function: <?php function randomPassword($length) { $possibleCharacters = "abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ"; $characterLength = strlen($possibleCharac...

4. How to Install PHP into Apache
In this section, we look at how to install PHP into Apache. The first step is to download it from the PHP web site. There are other sources for PHP around the Web, but it is much easier to get it from the source. Downloading PHP PHP is available as a free download from the PHP web site, http://www.php.net/ downloads.php. The file that you need to download is at the top of the page, in the section labeled Complete Source Code. The current file at the time of this writing was for PHP 4.3....

5. Installing PHP with Apache on Windows
We try to install PHP into Apache so it can process PHP pages and static HTML pages. We assume that you have installed and tested Apache. Downloading PHP The first step is to download PHP, which is available from the PHP downloads page at http://www.php.net/downloads.php. Scroll down the downloads page until you find the section labeled Windows Binaries. The current version at the time of this writing is PHP 4.3.0, and the...