SlideShare ist ein Scribd-Unternehmen logo
1 von 20
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 large-
    scale 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 fit 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 object-
    oriented 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 file.
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 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.
THANK YOU

Weitere ähnliche Inhalte

Was ist angesagt?

RIA with Flex & PHP - Tulsa TechFest 2009
RIA with Flex & PHP  - Tulsa TechFest 2009RIA with Flex & PHP  - Tulsa TechFest 2009
RIA with Flex & PHP - Tulsa TechFest 2009
Jason Ragsdale
 

Was ist angesagt? (20)

Yii framework
Yii frameworkYii framework
Yii framework
 
RIA with Flex & PHP - Tulsa TechFest 2009
RIA with Flex & PHP  - Tulsa TechFest 2009RIA with Flex & PHP  - Tulsa TechFest 2009
RIA with Flex & PHP - Tulsa TechFest 2009
 
Yii Introduction
Yii IntroductionYii Introduction
Yii Introduction
 
Yii PHP MVC Framework presentation silicongulf.com
Yii PHP MVC Framework presentation silicongulf.comYii PHP MVC Framework presentation silicongulf.com
Yii PHP MVC Framework presentation silicongulf.com
 
Yii workshop
Yii workshopYii workshop
Yii workshop
 
Introduction To Code Igniter
Introduction To Code IgniterIntroduction To Code Igniter
Introduction To Code Igniter
 
Codeigniter, a MVC framework for beginner
Codeigniter, a MVC framework for beginnerCodeigniter, a MVC framework for beginner
Codeigniter, a MVC framework for beginner
 
Code igniter - A brief introduction
Code igniter - A brief introductionCode igniter - A brief introduction
Code igniter - A brief introduction
 
Mainframe, the fast PHP framework
Mainframe, the fast PHP frameworkMainframe, the fast PHP framework
Mainframe, the fast PHP framework
 
Introduction To CodeIgniter
Introduction To CodeIgniterIntroduction To CodeIgniter
Introduction To CodeIgniter
 
Folio3 - An Introduction to PHP Yii
Folio3 - An Introduction to PHP YiiFolio3 - An Introduction to PHP Yii
Folio3 - An Introduction to PHP Yii
 
Spring Mvc
Spring MvcSpring Mvc
Spring Mvc
 
PHP Framework Battle
PHP Framework BattlePHP Framework Battle
PHP Framework Battle
 
Liferay (DXP) 7 Tech Meetup for Developers
Liferay (DXP) 7 Tech Meetup for DevelopersLiferay (DXP) 7 Tech Meetup for Developers
Liferay (DXP) 7 Tech Meetup for Developers
 
JSF 2: Myth of panacea? Magic world of user interfaces
JSF 2: Myth of panacea? Magic world of user interfacesJSF 2: Myth of panacea? Magic world of user interfaces
JSF 2: Myth of panacea? Magic world of user interfaces
 
Reactjs Basics
Reactjs BasicsReactjs Basics
Reactjs Basics
 
Building Web Application Using Spring Framework
Building Web Application Using Spring FrameworkBuilding Web Application Using Spring Framework
Building Web Application Using Spring Framework
 
Components Approach to building Web Apps
Components Approach to building Web AppsComponents Approach to building Web Apps
Components Approach to building Web Apps
 
Introduction to Ibatis by Rohit
Introduction to Ibatis by RohitIntroduction to Ibatis by Rohit
Introduction to Ibatis by Rohit
 
Support Tools für die Admin-Konsole - Nebil Kisa, Advanced Support Engineer
Support Tools für die Admin-Konsole - Nebil Kisa, Advanced Support EngineerSupport Tools für die Admin-Konsole - Nebil Kisa, Advanced Support Engineer
Support Tools für die Admin-Konsole - Nebil Kisa, Advanced Support Engineer
 

Andere mochten auch

YiiConf 2012 - Alexander Makarov - Yii2, what's new
YiiConf 2012 - Alexander Makarov - Yii2, what's newYiiConf 2012 - Alexander Makarov - Yii2, what's new
YiiConf 2012 - Alexander Makarov - Yii2, what's new
Alexander Makarov
 
1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.
1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.
1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.
Bicol IT.org
 

Andere mochten auch (17)

Introduction Yii Framework
Introduction Yii FrameworkIntroduction Yii Framework
Introduction Yii Framework
 
MVC en CakePHP 2.0
MVC en CakePHP 2.0MVC en CakePHP 2.0
MVC en CakePHP 2.0
 
Andres Gutierrez
Andres GutierrezAndres Gutierrez
Andres Gutierrez
 
Introduction to Yii & performance comparison with Drupal
Introduction to Yii & performance comparison with DrupalIntroduction to Yii & performance comparison with Drupal
Introduction to Yii & performance comparison with Drupal
 
FRAMEWORD Yii
FRAMEWORD YiiFRAMEWORD Yii
FRAMEWORD Yii
 
Yii inicios
Yii iniciosYii inicios
Yii inicios
 
Framework Yii
Framework YiiFramework Yii
Framework Yii
 
Apresentando o Yii Framework
Apresentando o Yii FrameworkApresentando o Yii Framework
Apresentando o Yii Framework
 
Conociendo a Laravel, el Framework de PHP para artesanos de la web
Conociendo a Laravel, el Framework de PHP para artesanos de la webConociendo a Laravel, el Framework de PHP para artesanos de la web
Conociendo a Laravel, el Framework de PHP para artesanos de la web
 
Introduce Yii
Introduce YiiIntroduce Yii
Introduce Yii
 
Yii Training session-1
Yii Training session-1Yii Training session-1
Yii Training session-1
 
Yii Introduction
Yii IntroductionYii Introduction
Yii Introduction
 
FUTEX 2015 Programme gb
FUTEX 2015 Programme gbFUTEX 2015 Programme gb
FUTEX 2015 Programme gb
 
YiiConf 2012 - Alexander Makarov - Yii2, what's new
YiiConf 2012 - Alexander Makarov - Yii2, what's newYiiConf 2012 - Alexander Makarov - Yii2, what's new
YiiConf 2012 - Alexander Makarov - Yii2, what's new
 
1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.
1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.
1ST TECH TALK: "Yii : The MVC framework" by Benedicto B. Balilo Jr.
 
PHP Unit Testing in Yii
PHP Unit Testing in YiiPHP Unit Testing in Yii
PHP Unit Testing in Yii
 
Devconf 2011 - PHP - How Yii framework is developed
Devconf 2011 - PHP - How Yii framework is developedDevconf 2011 - PHP - How Yii framework is developed
Devconf 2011 - PHP - How Yii framework is developed
 

Ähnlich wie yii framework

Ähnlich wie yii framework (20)

Fwdtechseminars
FwdtechseminarsFwdtechseminars
Fwdtechseminars
 
P H P Framework
P H P  FrameworkP H P  Framework
P H P Framework
 
Yii web application development company
Yii web application development companyYii web application development company
Yii web application development company
 
Top PHP Frameworks in 2024 That Developer Must Know
Top PHP Frameworks in 2024 That Developer Must KnowTop PHP Frameworks in 2024 That Developer Must Know
Top PHP Frameworks in 2024 That Developer Must Know
 
Top 10 best PHP frameworks for web development.pdf
Top 10 best PHP frameworks for web development.pdfTop 10 best PHP frameworks for web development.pdf
Top 10 best PHP frameworks for web development.pdf
 
Best PHP Frameworks
Best PHP FrameworksBest PHP Frameworks
Best PHP Frameworks
 
CODE IGNITER
CODE IGNITERCODE IGNITER
CODE IGNITER
 
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
 
10 reasons to choose the yii framework
10 reasons to choose the yii framework10 reasons to choose the yii framework
10 reasons to choose the yii framework
 
Top 6 leading PHP frameworks for web development
Top 6 leading PHP frameworks for web developmentTop 6 leading PHP frameworks for web development
Top 6 leading PHP frameworks for web development
 
Top 10 python frameworks for web development in 2020
Top 10 python frameworks for web development in 2020Top 10 python frameworks for web development in 2020
Top 10 python frameworks for web development in 2020
 
Php Web Frameworks
Php Web FrameworksPhp Web Frameworks
Php Web Frameworks
 
A Complete Guide to Python Web Development
A Complete Guide to Python Web DevelopmentA Complete Guide to Python Web Development
A Complete Guide to Python Web Development
 
Top 6 php framework
Top 6 php frameworkTop 6 php framework
Top 6 php framework
 
Project report for final year project
Project report for final year projectProject report for final year project
Project report for final year project
 
Top 5 advanced php framework in 2018
Top 5 advanced php framework in 2018Top 5 advanced php framework in 2018
Top 5 advanced php framework in 2018
 
Some Features make CodeIgniter Powerfull PHP framework.pdf
Some Features make CodeIgniter Powerfull PHP framework.pdfSome Features make CodeIgniter Powerfull PHP framework.pdf
Some Features make CodeIgniter Powerfull PHP framework.pdf
 
Top 13 Backend Frameworks for Web development in 2024
Top 13 Backend Frameworks for Web development in 2024Top 13 Backend Frameworks for Web development in 2024
Top 13 Backend Frameworks for Web development in 2024
 
Trusted PHP Development Services in the USA
Trusted PHP Development Services in the USATrusted PHP Development Services in the USA
Trusted PHP Development Services in the USA
 
Top Web Development Frameworks Comparison: All You Need To Know
Top Web Development Frameworks Comparison: All You Need To KnowTop Web Development Frameworks Comparison: All You Need To Know
Top Web Development Frameworks Comparison: All You Need To Know
 

Mehr von Akhil Kumar

Edp section of solids
Edp  section of solidsEdp  section of solids
Edp section of solids
Akhil Kumar
 
Edp projection of solids
Edp  projection of solidsEdp  projection of solids
Edp projection of solids
Akhil Kumar
 
Edp projection of planes
Edp  projection of planesEdp  projection of planes
Edp projection of planes
Akhil Kumar
 
Edp projection of lines
Edp  projection of linesEdp  projection of lines
Edp projection of lines
Akhil Kumar
 
Edp ortographic projection
Edp  ortographic projectionEdp  ortographic projection
Edp ortographic projection
Akhil Kumar
 
Edp intersection
Edp  intersectionEdp  intersection
Edp intersection
Akhil Kumar
 
Edp ellipse by gen method
Edp  ellipse by gen methodEdp  ellipse by gen method
Edp ellipse by gen method
Akhil Kumar
 
Edp development of surfaces of solids
Edp  development of surfaces of solidsEdp  development of surfaces of solids
Edp development of surfaces of solids
Akhil Kumar
 
Edp typical problem
Edp  typical problemEdp  typical problem
Edp typical problem
Akhil Kumar
 
Edp st line(new)
Edp  st line(new)Edp  st line(new)
Edp st line(new)
Akhil Kumar
 
graphical password authentication
graphical password authenticationgraphical password authentication
graphical password authentication
Akhil Kumar
 

Mehr von Akhil Kumar (20)

Edp section of solids
Edp  section of solidsEdp  section of solids
Edp section of solids
 
Edp scales
Edp  scalesEdp  scales
Edp scales
 
Edp projection of solids
Edp  projection of solidsEdp  projection of solids
Edp projection of solids
 
Edp projection of planes
Edp  projection of planesEdp  projection of planes
Edp projection of planes
 
Edp projection of lines
Edp  projection of linesEdp  projection of lines
Edp projection of lines
 
Edp ortographic projection
Edp  ortographic projectionEdp  ortographic projection
Edp ortographic projection
 
Edp isometric
Edp  isometricEdp  isometric
Edp isometric
 
Edp intersection
Edp  intersectionEdp  intersection
Edp intersection
 
Edp excerciseeg
Edp  excerciseegEdp  excerciseeg
Edp excerciseeg
 
Edp ellipse by gen method
Edp  ellipse by gen methodEdp  ellipse by gen method
Edp ellipse by gen method
 
Edp development of surfaces of solids
Edp  development of surfaces of solidsEdp  development of surfaces of solids
Edp development of surfaces of solids
 
Edp curves2
Edp  curves2Edp  curves2
Edp curves2
 
Edp curve1
Edp  curve1Edp  curve1
Edp curve1
 
Edp typical problem
Edp  typical problemEdp  typical problem
Edp typical problem
 
Edp st line(new)
Edp  st line(new)Edp  st line(new)
Edp st line(new)
 
graphical password authentication
graphical password authenticationgraphical password authentication
graphical password authentication
 
cloud computing
cloud computingcloud computing
cloud computing
 
WORDPRESS
WORDPRESSWORDPRESS
WORDPRESS
 
AJAX
AJAXAJAX
AJAX
 
JOOMLA
JOOMLAJOOMLA
JOOMLA
 

Kürzlich hochgeladen

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Kürzlich hochgeladen (20)

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

yii framework

  • 1. K.SWETHA. CSE-IV-A 08Q61A0556.
  • 2. INTRODUCTION  HISTORY  WORKING PROCESS  TECHNOLOGIES  ADVANTAGES AND DISADVANTAGES  CONCLUSION
  • 3. Yii is a high-performance component-based PHP framework for developing large- scale 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.
  • 4. 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 fit 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 object- oriented programming (OOP)is very helpful, because Yii is a pure OOP framework.
  • 5. 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
  • 6. 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
  • 7. 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
  • 8. ◦ 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 .
  • 9.
  • 10. 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.
  • 11. 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.
  • 12.
  • 13. 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 file.
  • 14. 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.
  • 15. 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.
  • 16. 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
  • 17. 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.
  • 18. 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.
  • 19. 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.