Yii [easy, efficient and extensible php framework]
#1

PRESENTED BY:
Honeyson Joseph D

[attachment=12070]
introduction
Yii is a high-performance component-based PHP framework for developing large-scale Web applications
Yii is a generic Web programming framework, used for developing virtually all sorts of Web applications
Yii is a Model View Controller framework
CREATING AN Yii APPLICATION
For creating Web application we use a powerful yiic
tool which can be used to automate code creation for
certain tasks.
For simply, we assume that YiiRoot is the directory
where Yii is installed, and WebRoot is the document
root of our Web server.
Step 0. Preparation
After installing the Yii framework, run a simple console command
“% YiiRoot/framework/yiic webapp WebRoot/testdrive “
to generate a skeleton Web application built with Yii.
This will create a skeleton Yii application under the directory WebRoot/testdrive.
Step 1. Create the Database
While Yii can virtually eliminate most repetitive coding tasks, you are responsible for the real creative work.
This often starts with designing the whole system to be built, in terms of some database schema
Step 2a. Yii Generates the Model Classes
Using the built-in Web-based code generator, you can turn database table definitions into model classes instantly, without writing a single line of code.
The model classes will allow you to access the database tables in an object-oriented fashion.
Step 2b. Yii Generates the CRUD Code
Using the code generator, we can further generate code that implements the typical CRUD (create, read, update, delete) features for the selected database tables.
The generated code is highly usable and customizable, following the well-adopted MVC (model-view-controller) design pattern.
Step 3. You customize the code to fit your exact needs
Finally we customize the code to fit our exact needs.
For example,
to hide the password column on the user administration page, simply cross out the 'password' element shown in the user admin view file:
features of Yii
Database Access Objects (DAO), Query Builder
Yii allows developers to model database data in terms of objects and avoid the deadliness and complexity of writing repetitive SQL statements.
Form input and validation
Yii makes collecting form input extremely easy and safe. It comes with a set of validates as well as numerous helper methods and widgets to simplify the task for form input and validation.
- Authentication and authorization
Yii has built-in authentication support. It also supports authorization via hierarchical role-based access control
- Skinning and theming
Yii implements a skinning and theming mechanism that allows you to quickly switch the outlook of a Yii-power website.
- Layered caching scheme
Yii supports data caching, page caching, fragment caching and dynamic content. The storage medium of caching can be changed easily without touching the application code.
- Automatic code generation
Yii provides a set of spontaneous and highly extensible code generation tools that can help you quickly generate the code you need for features such as form input, CRUD.
- Purely object-oriented
Yii framework sticks to strict OOP paradigm. It does not define any global function or variable. And the class hierarchy that it defines allows maximum reusability and customization.
- Error handling and logging
Errors are handled and presented more nicely, and log messages can be categorized, filtered and routed to different destinations.
- Security
Yii is equipped with many security measures to help prevent your Web applications from attacks such as SQL injection, cookie tampering etc.
Disadvantages of Yii framework
Yii is written in approach that does not support the
most innovative, modern advantages brought to PHP
development world with release of PHP 5.3 and soon
– PHP version 6.
Conclusion
Yii does not need to be installed under a Web-accessible directory.
An Yii application has one entry script which is usually the only file that needs to be exposed to Web users.
Other PHP scripts, including those from Yii, should be
protected from Web access since they may be exploited for hacking.

Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: kannada easy of topic environment, vegetable recipes easy, technical seminar topic yii, easy teaching kids to, easy seminar topics for civil engineering in geotech, chemistry easy seminars, extensible bindings language xbl pdf,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  LAMP TECHNOLOGY (LINUX,APACHE,MYSQL,PHP) seminar class 1 3,483 04-04-2018, 04:11 PM
Last Post: Guest
  A survey of usage of Data Mining and Data Warehousing in Academic Institution and Lib seminar class 1 2,128 29-11-2012, 12:56 PM
Last Post: seminar details
  Intelligent Electronic Devices (IEDs) and Supervisory Control and Data Acquisition computer girl 0 1,151 09-06-2012, 06:01 PM
Last Post: computer girl
  The 8051 Microcontroller and Embedded Systems Using Assembly and C computer girl 0 1,049 04-06-2012, 05:41 PM
Last Post: computer girl
  Intrusion-tolerant framework for heterogeneous Wireless Sensor Networks electronics seminars 1 1,626 04-02-2012, 09:47 AM
Last Post: seminar addict
  MOBILE COMPUTING FRAMEWORK seminar class 1 2,997 28-01-2012, 09:40 AM
Last Post: seminar addict
  BLOCK EXTENSIBLE EXCHANGE PROTOCOL A SEMINAR REPORT Computer Science Clay 3 1,999 03-12-2011, 09:41 AM
Last Post: seminar addict
  A MEMORY LEARNING FRAMEWORK FOR EFFECTIVE IMAGE RETRIEVAL seminar surveyer 2 2,218 14-10-2011, 01:06 PM
Last Post: seminar addict
  An Energy Aware Framework for Dynamic Software Management in Mobile Computing Systems project topics 0 1,138 19-07-2011, 03:36 PM
Last Post: project topics
  Extensible Messaging and Presence Protocol (XMPP) smart paper boy 0 1,004 18-06-2011, 03:45 PM
Last Post: smart paper boy

Forum Jump: