Showing posts with label PHP Framework. Show all posts
Showing posts with label PHP Framework. Show all posts

Thursday, 19 January 2012

list of free php framework

PHP is a scripting language originally designed for producing dynamic web pages, PHP is a widely-used general-purpose scripting language that is especially suited for web development and can be embedded into HTML. It generally runs on a web server, taking PHP code as its input and creating web pages as output.



Zend Framework

php framework 1 PHP Frameworks   Top Most List
The most hyped framework. Why not; it’s by Zend which develops PHP itself. It has just got out of beta. You will also find it is rich with features too. It was also the fastest. No doubt it has all the corporate stuffs but I still felt it’s a bit tough. Just a little too much for most. It doesn’t have PHP 4 too. But it will definitely more provide support and professional code being backed by a corporate company. This is for those who want to build apps for big enterprises. They will have pro coders and will also be benefited from the components it provides.



CakePHP

php framework 2 PHP Frameworks   Top Most List

CakePHP is a rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications. Using commonly known design patterns like MVC and ORM within the convention over configuration paradigm, CakePHP reduces development costs and helps developers write less code.




Akelos PHP Framework

php framework 11 PHP Frameworks   Top Most List

The Akelos PHP Framework is a web application development platform based on the MVC (Model View Controller) design pattern. Based on good practices, it allows you to: Write views using Ajax easily, Control requests and responses through a controller, Manage internationalized applications, Communicate models and the database using simple conventions.



Yii- PHP framework

php framework 12 PHP Frameworks   Top Most List

Yii – a high-performance component-based PHP framework best for developing large-scale Web applications. Yii comes with a full stack of features, including MVC, DAO/ActiveRecord, I18N/L10N, caching, jQuery-based AJAX support, authentication and role-based access control, scaffolding, input validation, widgets, events, theming, Web services, and so on. Written in strict OOP, Yii is easy to use and is extremely flexible and extensible.



CodeIgniter

php framework 3 PHP Frameworks   Top Most List

CodeIgniter is a powerful PHP framework with a very small footprint, built for PHP coders who need a simple and elegant toolkit to create full-featured web applications. If you’re a developer who lives in the real world of shared hosting accounts and clients with deadlines, and if you’re tired of ponderously large and thoroughly undocumented frameworks.



Symfony – Open-Source PHP Web Framework

php framework 4 PHP Frameworks   Top Most List

Symfony is a full-stack framework, a library of cohesive classes written in PHP5. It provides an architecture, components and tools for developers to build complex web applications faster. Choosing symfony allows you to release your applications earlier, host and scale them without problem, and maintain them over time with no surprise. Symfony is based on experience. It does not reinvent the wheel: it uses most of the best practices of web development and integrates some great third-party libraries.



PRADOTM

php framework 5 PHP Frameworks   Top Most List
PRADOTM is a component-based and event-driven programming framework for developing Web applications in PHP 5. PRADO stands for PHP Rapid Application Development Object-oriented.



Zoop Framework


php framework 6 PHP Frameworks   Top Most List


The Zoop Framework: PHP development without the suck. The Zoop Framework is inclusive, cooperating with and containing components integrated from some existing projects including Smarty, the Prototype JS Framework, and a number of Pear Modules.



xAjax Framework

php framework 7 PHP Frameworks   Top Most List
xAjax is an open source PHP class library that allows to create quickly Ajax applications using HTML, CSS, JavaScript, and PHP.



 

Kohana Framework

php framework 8 PHP Frameworks   Top Most List

Kohana is a PHP 5 framework that uses the model view controller architectural pattern. It aims to be secure, lightweight, and easy to use.



  BlueShoes

php framework 9 PHP Frameworks   Top Most List
BlueShoes is a comprehensive application framework and content management system. It is written in the widely used web-scripting language PHP. BlueShoes offers excellent support for the popular MySQL database as well as support for Oracle and MSSQL.



  Limb

php framework 10 PHP Frameworks   Top Most List
Limb is an OpenSource(LGPL) PHP framework mostly aimed for rapid web application prototyping and development. The current actively developed branch of framework is Limb3(there is also Limb2 but it’s not maintained anymore).

i just found it from net and it's good so i post here.
the source of post is.
http://www.hiddenpixels.com/designer-and-developer-resources/php-frameworks/

The Principles of the MVC Design Pattern and Description of MVC

MVC....

The basic MVC description is following.
MVC like a
M-Model
V-View
C-Controller
The MVC paradigm is a way of breaking an application, or even just a piece of an application's interface, into three parts: the model, the view, and the controller. MVC was originally developed to map the traditional input, processing, output roles into the GUI realm:
Input --> Processing --> Output
Controller --> Model --> View

The Description for Model
  • A model is an object representing data or even activity, e.g. a database table or even some plant-floor production-machine process.
  • The model manages the behavior and data of the application domain, responds to requests for information about its state and responds to instructions to change state.
  • The model represents enterprise data and the business rules that govern access to and updates of this data. Often the model serves as a software approximation to a real-world process, so simple real-world modeling techniques apply when defining the model.
  • The model is the piece that represents the state and low-level behavior of the component. It manages the state and conducts all transformations on that state. The model has no specific knowledge of either its controllers or its views. The view is the piece that manages the visual display of the state represented by the model. A model can have more than one view.
Note that the model may not necessarily have a persistent data store (database), but if it does it may access it through a separate Data Access Object.

The Description for Viwe.
  • A view is some form of visualisation of the state of the model.
  • The view manages the graphical and/or textual output to the portion of the bitmapped display that is allocated to its application. Instead of a bitmapped display the view may generate HTML or PDF output.
  • The view renders the contents of a model. It accesses enterprise data through the model and specifies how that data should be presented.
  • The view is responsible for mapping graphics onto a device. A view typically has a one to one correspondence with a display surface and knows how to render to it. A view attaches to a model and renders its contents to the display surface.
The Description for controller.
  • A controller offers facilities to change the state of the model. The controller interprets the mouse and keyboard inputs from the user, commanding the model and/or the view to change as appropriate.
  • A controller is the means by which the user interacts with the application. A controller accepts input from the user and instructs the model and view to perform actions based on that input. In effect, the controller is responsible for mapping end-user action to application response.
  • The controller translates interactions with the view into actions to be performed by the model. In a stand-alone GUI client, user interactions could be button clicks or menu selections, whereas in a Web application they appear as HTTP GET and POST requests. The actions performed by the model include activating business processes or changing the state of the model. Based on the user interactions and the outcome of the model actions, the controller responds by selecting an appropriate view.
  • The controller is the piece that manages user interaction with the model. It provides the mechanism by which changes are made to the state of the model.

why use a php framework and the benefits of php framework


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.
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 of framework are available and some one are freeware like like Zend Framework, CakePHP Framework and CodeIgniter. They provide a strong organization for your application and follow the commonly used MVC pattern. and The main benefits of using a php framework I have found are as follows:

  • Time saving - The amount of time saved by not having to type in complex code in a lot of situations cuts the time of many projects by over 50% in most cases.
  • Reuse of code - Many web sites that you develop have common features. Because of the way that each part of the code is separate, you are able to copy over controllers, models and view folders to the next project. An example of this is that in every project that requires a content management system(CMS) we are able to copy across the login system. Something that used to be quite a time consuming process. Now we copy it across, and add the users, and we are set to go.
  • Access to services API's - with the way that the web is moving these days, having the ability to twitter, yahoo and Google amongst others is a great way of expanding a web site with ease.
  • Community assistance - There is a large community out there which is always willing to help. When you are proficient with the framework, you can also assist others, which will also improve your coding experience.(Not to mention the warm fuzzy feeling that you get for helping)
  • Easy plugin creation - When you have a feature you want to add to the framework, just simply create a plugin, in a directory that you can copy to all your projects. I created a image resizing plugin, which allows me to upload an image and resize it with 3 lines of code. Unbelievable, when you consider how long this would usually take and the best thing is, once I made it, I have this feature available in all future projects. The time saving benefits can be enormous.

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!