close

Вход

Забыли?

вход по аккаунту

?

yii - iDocScript

код для вставкиСкачать
K.SWETHA.
CSE-IV-A
08Q61A0556.
пЃЅ
пЃЅ
пЃЅ
пЃЅ
пЃЅ
пЃЅ
INTRODUCTION
HISTORY
WORKING PROCESS
TECHNOLOGIES
ADVANTAGES AND DISADVANTAGES
CONCLUSION
пЃЅ
пЃЅ
пЃЅ
Yii is a high-performance component-based PHP framework for developing largescale Webapplications. It enables maximum reusability in Web programming and
can significantly accelerate the development process. The Yii framework is free
software. It is released under the terms of the BSD License.
Yii (Yes it is) :-It is a PHP framework based on Object oriented php5.Developed
by Qiang Xue.who started to work on YII on 1st January 2008.Qiang Xue was with
experience in development of frameworks PRADO one of famous framework for
PHP was also developed by Qiang Xue.
It is said that YII framework is best because it is based on DRY(Don't repeat
yourself)design pattern that is why is is called fast application development
framework.
пЃЅ
Like most PHP frameworks, Yii is an MVC framework. Yii excels over other
PHP frameworks in that it is efficient, feature-rich and clearly-documented.
пЃЅ
Yii is carefully designed from the beginning to п¬Ѓt for serious Web application
development.
пЃЅ
It is the result of Web application development and the investigation and
reflection of the most popular Web programming frameworks and applications.
пЃЅ
To run an Yii-powered Web application, you need a Web server supporting
PHP 5.1.0 or higher. For developers who want to use Yii, understanding objectoriented programming (OOP)is very helpful, because Yii is a pure OOP
framework.
пЃЅ
пЃЅ
пЃЅ
пЃЅ
пЃЅ
The Yii project started on January 1, 2008, in order to fix some drawbacks of
the PRADO framework. For example, PRADO was slow when handling complex
pages, had a steep learning curve and many controls were difficult to customize,
while Yii is much easier and more efficient.
In October 2008 after ten months of private development, the first alpha version of
Yii was released. On December 3, 2008, Yii 1.0 was formally released.
The Yii framework is free software. It is released under the terms of the following
BSD License.
New Features
This page summarizes the main new features introduced in each Yii release.
Version 1.0.7
Added support for displaying call stack information in trace messages
в—¦ Logging Context Information
Added index option to AR relations so that related objects can be indexed using the
values of a specific column
в—¦ Relational Query Options
пЃЅ
пЃЅ
пЃЅ
пЃЅ
Added index option to AR relations so that related objects can be indexed using the
values of a specific column
в—¦ Relational Query Options
Version 1.0.6
Added support for using named scope with update and delete methods:
в—¦ Named Scopes
Added support for profiling SQL executions
◦ Profiling SQL Executions
Added support for customizing a single URL rule by setting its urlFormat and case
Sensitive options:
в—¦ User-friendly URLs
Added support for using a controller action to display application errors:
в—¦ Handling Errors Using an Action
пЃЅ
пЃЅ
пЃЅ
Version 1.0.5
Enhanced active record by supporting named scopes. See:
в—¦ Named Scopes
пЃЅ
пЃЅ
в—¦ Default Named Scope
в—¦ Relational Query with Named Scopes
Enhanced active record by supporting lazy loading with dynamic query options.
See:
в—¦ Dynamic Relational Query Options
Enhanced CUrlManager to support parameterizing the route part in URL rules.
See:
в—¦ Parameterizing Routes in URL Rules .
Yii implements the model-view-controller (MVC) design pattern which is widely
adopted inWeb programming.
пЃЅ
MVC aims to separate business logic from user interface considerations so that
developers can more easily change each part without affecting the other. In MVC,
the model represents the information (the data) and the business rules; the view
contains elements of the user interface such as text, form inputs; and the controller
manages the communication between the model and the view.
пЃЅ
Besides MVC, Yii also introduces a front-controller, called application, which
represents the execution context of request processing. Application resolves the
user request and dispatches it to an appropriate controller for further handling.
MODEL-VIEW-CONTROLLER
пЃЅ
It is a software architecture,currently considered an architectural pattern used
in software engineering.
пЃЅ
Model View Controller (MVC) pattern creates applications that separate the
different aspects of the application (input logic, business logic, and UI logic), while
providing a loose coupling between these elements.
MODEL:A model is an instance of its child class. Models are used to keep data and their
relevant business rules. A model represents a single data object. It could be a row in
a database table or a form of user inputs.
VIEW:A view is a PHP script consisting of mainly elements of user interface the spirit of
seperation of logic and presentation, large chunk of logic should be placed in
controller or model instead of view.
пѓ�
view has a name which is used to identify the view script п¬Ѓle.
CONTROLLER:This controller pattern creates applications that separate the different aspects of
the application (input logic, business logic, and UI logic), while providing a loose
coupling between these elements.
Installation
пЃЅ
пЃЅ
пЃЅ
Installation of Yii mainly involves the following two steps:
Download Yii Framework from yiiframework.com.
After installing Yii, you may want to verify that your server satisfies all the
requirements of using Yii.
пЃЅ
YII built with help of :- Qiang Xue made use of several other web technologies
to enhance the power of YII Qiang Xue used .
пЃЅ
Ruby on Rails:-Yii inherits its spirit of convention over configuration. Yii also
referenced its implementation of the active record design pattern for its ORM layer.
пЃЅ
PRADO:-prado(framework) is major source in development of YII.
пЃЅ
Jquery:-Jquery is integrated in yii .
пЃЅ
Symphony and joomla :- were also used in development of yii.
As mentioned above YII is young framework so developers are still working on it to
make it more awesome But developers around the world started using it due to its great
features and performance.
пЃЅ
пЃЅ
пЃЅ
пЃЅ
пЃЅ
пЃЅ
Out of several frameworks few which are famous :CakePhp
Zend Framework
Symphony
Codeigniter
Prado .
Yii-based projects:
пЃЅ
1) web-based CRM application,
the key feature of the project was building a custom framework above Yii
2) a web-portal for lawyers
пЃЅ
Google will display sitelinks for each language instead of probably mixed up stuff.
In general, the whole SEO possibilities will be better.
пЃЅ
The user experience will be better.
пЃЅ
пЃЅ
You can split your website into a real multi language portal.
It is very fast and efficient.
пЃЅ
If you use different subdomains for one site, the pagerank of your main domain (eg
example.com) will probably suffer.
пЃЅ
Google itself states that it's better to use top-level domains instead of subdomains.
пЃЅ
For small multilanguage sites, I would suggest to just use english url rules with one
main domain.
Yii does not need to be installed under a Web-accessible directory.
An Yii application has one entry script which is usually the only п¬Ѓle 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.
THANK YOU
Документ
Категория
Без категории
Просмотров
22 539
Размер файла
126 Кб
Теги
1/--страниц
Пожаловаться на содержимое документа