A web developer who is developing applications in Php & MySql spends the most of his time developing functions and libraries to support his applications. You should not reinvent the wheel, because that takes time and time as we know means money. Your project will have a deadline far more than expected and your boss or employer will be angry.
Let’s see the problem.
So your daily development activities involve:
- Developing a database library which sends and retrieves all the queries to and from the database.
- Developing libraries like add / get /set for each function.
- Developing the scripts which are responsible for the printing of the site.
You see all this code takes time and is very boring because you have to write it without having real results yet.
The solution is simple.
You should use Frameworks. Open source, with lots of community support, and lots of functions and libraries to make your life easier.
If you don’t know what PHP frameworks are, here is a little explanation:
web application framework is a software framework that is designed to support the development of dynamic websites, Web applications and Web services. The framework aims to alleviate the overhead associated with common activities used in Web development. For example, many frameworks provide libraries for database access, templating frameworks and session management, and often promote code reuse.
So now you know what a framework does. It helps you reduce your daily code as it gives you all the mandatory libraries and functions you need to develop your app right a way.
PHP frameworks are the latest hot topic in the PHP community, and new frameworks are being released daily. With over 40 frameworks available it’s difficult to decide which framework works best for you, especially as each framework offers different functionality.
I will list the most known PHP frameworks:
Akelos PHP Framework
The Akelos PHP Framework is a PHP port of the Web application framework Ruby on Rails. Like Rails, Akelos claims to simplify and improve the process of developing database driven web applications.
CakePHP is an open source web application framework written in PHP, modeled after the concepts of Ruby on Rails, and distributed under the MIT License.
CodeIgniter is an open source web application framework for use in building dynamic web sites with PHP. It enables developers to build applications much faster by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and a logical structure to access these libraries.
FUSE is a PHP framework created by Jim Keller that uses Model-view-controller architecture along with Object-relational mapping Data Modeling concepts to provide tools for rapid PHP development.
Kohana is an open source web application PHP5 framework that uses the Model View Controller architectural pattern. It aims to be secure, lightweight, and easy to use.
PHP For Applications
P4A – PHP For Applications is a RAD and object oriented web application framework written in PHP, for building event-driven stateful web applications. It features tableless HTML, accesskey support, auto data type recognition, transparent AJAX, UTF-8, i18n/l10n, PEAR integration..
PRADO is a component-based and event-driven web application framework for PHP 5. PRADO reconceptualizes Web application development in terms of components, events and properties instead of procedures, URLs and query parameters. PRADO is an open source project.
Seagull PHP Framework
Seagull PHP Framework (Seagull) is a OOP PHP software framework for building web, command line and GUI applications. Seagull uses Model-view-controller design pattern. Many popular PHP applications are integrated within the project, as are various templating engines, PEAR libs, testing tools and managed library code.
SilverStripe is a free software / open source content management system (CMS) for creating and managing websites through a simple web interface. Features include an MVC framework, XHTML compliance, multiple ways of organising navigation through folksonomy, a flexible data object model, multiple templates per page, a separate “draft site” and “published site through staging content, asset management , image resizing, versioning and rollback, SEF URLs with meta-data. SilverStripe is designed for UTF-8 support including internationalisation of character sets. It also deploys content through RSS and full text search.
Symfony is a web application framework written in PHP which follows the model-view-controller (MVC) paradigm. Released under the MIT license, Symfony is free software.
Zend Framework is an open source web application framework for developing PHP 5 web applications. It requires a minimum PHP version of 5.1.4.
Zoop Framework stands for Zoop Object Oriented PHP Framework.
Zoop is a free software, object oriented web application framework for PHP based on the Model View Controller Methodology. It is considered one of the more full featured frameworks available for php.
Whatever framework you will use one thing is for sure. You will save much time and effort which will you need for developing the real application.
Before using any framework for a production site please consider reading carefully its specifications, its requirements and of course its feature.
Image courtesy of Leo Reynolds