YII


Yii - The Fast, Secure and Professional PHP Framework

Yii is a high-performance PHP framework best for developing Web 2.0 applications. Yii comes with rich features: MVC, DAO/ActiveRecord, I18N/L10N, caching, authentication and role-based access control, scaffolding, testing, etc. It can reduce your development time significantly.

Yii only loads the features that you need. It has powerful caching support. It is explicitly designed to work efficiently with AJAX.Security comes as standard with Yii. It includes input validation, output filtering, SQL injection and Cross-site scripting prevention.Security comes as standard with Yii. It includes input validation, output filtering, SQL injection and Cross-site scripting prevention.Yii helps you develop clean and reusable code. It follows the MVC pattern, ensuring a clear separation of logic and presentation.

Features of Yii Framework

Fast

Check out the differences in how many RPS ( Requests per second) other frameworks can process compared to yii. Check out the drastic difference when we enable the APC extension in php. framework comparison Yii is very much known for its speed. Applications dev eloped in yii loads very fast. It is light weighted and the code is very much optimized . The lazy loading technique improves the speed of Yii. It neither loads a class until its used nor creates an object until its accessed for the first time.

CRUD Feature

Yii got the CRUD feature. This literally saves heaps of time and makes our process much easier. For instance, If we are building a user creation form, we just need to create the User table and the required fields in the database. And using Gii(link)((a powerful tool of Yii to generate models and controllers) we can easily generate the User model and its CRUD.Thats all and we got the user create,update,delete and manage system all in two or three clicks

Database tables as objects

We can create model instances. The database modification with these model instances helps you to avoid complex queries and make your tasks easy. The CDBCriteria of Yii helps to process very complex database queries easily.Yii applications can be switched to different databases without any difficulties. Yii got a query builder, and it generates the query. This prevents sql injection and other attacks.The ORM approach turns tables into classes and rows into objects.

Great support for Jquery and ajax.

There are lots of widgets in Yii which have ajax and jquery support. It do have the jquery dialog, date picker and all so that we just need to call the widgets. We can also send ajax requests easily using the inbuilt ajax buttons in yii.

Theming

Yii applications got theme directory inside so that we can set the theme for the application. Also we can switch easily to different themes inside the config file.This helps the designers to implement designs very easily.

Web Services(API Support)

This framework is totally customizable. Numerous development environments come with it by default. Symfony, making the task of developers much simpler, has got multiple tools. Common software engineering tasks can be automated using such tools.Yii helps easy generation of web services. We can create an action and define a webservice action to it (just 1 line code). And if we try to access the action as a url what we see would be a bulk of xml contents.

Caching

Caching helps to improve the performance and speed of your website. Yii helps you to integrate different caching components on different scenarios.This reduces the time required for page load to a great extent.

Great Documentation

Yii do have one of the best documentation system compared to all other frameworks. Each and every single method is documented clearly and thoroughly.