Tag: frameworks

PHP Frameworks

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:

The Zend Framework.
The Prado Framework.
CakePHP Framework.
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:

zend_acl
zend_auth
zend_cache
zend_config
zend_consolegetop and many more.

Prado Framework: The Prado framework provides the following benefits for web application developers.

reusablility
Ease of use
Robustness
Performance
Team Integration

CakePHP:

Some of the important features of CakePHP are as follows:

Model, View, Controller Architecture
View Helpers for AJAX, Javascript, HTML Forms and more
Built-in Validation
Application Scaffolding
Application and CRUD code generation via Bake
Access Control Lists
Data Sanitization
Security, Session, and Request Handling Components
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:

simple templating and helpers
cache management
smart URLs
scaffolding
multilingualism and I18N support
object model and MVC separation
Ajax support
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.

Pro Zend Framework Techniques: Build a Full CMS Project
US $4.97
End Date: Wednesday Sep-08-2010 15:24:52 PDT
Buy It Now for only: US $4.97
Buy it now | Add to watch list

Do You Really Need a Framework for Writing PHP?

PHP is a server-side scripting language used all over the world for general purposes. Earlier, PHP used to be the short for Personal Home Page. It is now known as ‘PHP: Hypertext Processor’. It is very helpful for web development and can be blended into HTML too.

Moreover, it is easy to learn. PHP includes many functions without the need for namespace importing. You can decide whether to write object oriented code or not. The syntax is also similar with weakly typed variables.

The simplicity in using PHP sometimes acts against it. Since there are very few coding restrictions, developers tend to write a bad code. The answer to this is definitely to use a framework. There are various PHP Frameworks available today like Zend Framework, CakePHP Framework and CodeIgniter. They provide a strong organization for your application and follow the commonly used MVC pattern.

Some of the other advantages of using a framework are:

  1. MVC structured code:MVC or Model- View- Controller is a well-known design pattern that demarcates the database and business logic from the presentation layer. This results in simple, clean and understandable code.
  2. Maintaining the coding standards:The MVC code is easy to write and also follows the code restrictions. Due to a uniform and standard coding, things are simpler and bugs can be resolved faster. This will save you a lot of worry and it will be easier to find out where the problem lies.
  3. Attractive URLs:Almost all these frameworks make sure that your URLs look attractive and easy to access. Apache takes care of requests for a particular URL, which further invokes the central framework object. The end-users can only see the URL pasted on their browser, and cannot make out that you are using PHP for the same.

  4. Get all the help you need:When you use a PHP framework, you no longer need to manually enter all the validation criteria for forms etc. The only thing you should do is instantiating a new form validator object and instruct it as you wish. It will handle the rest.
  5. Finish coding faster:Frameworks help the developers to write code in lesser time than usual. This leaves them with some extra time for themselves.All said and done, there is always the option of writing your own framework for your application. However, when you have something like CakePHP doing a lot of nifty things for you or a Zend that provides great functionality, you can select one depending on your requirements. So just choose a framework and start coding!
php-object-oriented-solutions-by-david-powers PHP Object-Oriented Solutions by David Powers
US $15.59
Auction Ends: Friday Sep-03-2010 16:07:55 PDT
  | Watch this Item
php-nuke-garage-by-don-jones PHP-Nuke Garage by Don Jones
US $8.98
Auction Ends: Friday Sep-03-2010 17:14:56 PDT
  | Watch this Item
custom-php-realty-real-estate-fsbo-website-for-sale-nr CUSTOM PHP REALTY REAL ESTATE FSBO WEBSITE FOR SALE NR
US $9.99 (0 Bid)
Auction Ends: Friday Sep-03-2010 17:46:07 PDT
  | Watch this Item
php-cookbook-solutions-and-examples-trachtenberg-sklar PHP Cookbook Solutions and Examples Trachtenberg Sklar
US $19.95
Auction Ends: Friday Sep-03-2010 17:53:55 PDT
  | Watch this Item

  • BrownPHP Tag Cloud

  • Copyright © 1996-2010 Brown PHP. All rights reserved.
    iDream theme by Templates Next | Powered by WordPress

    Powered by Yahoo! Answers