SlideShare a Scribd company logo
By
C.Leena Roja
10381A0521
CONTENTS:
 INTRODUCTION
 HISTORY
 TECHNOLOGIES
 INSTALLATION
 PERFORMANCE
 MODULE
 ADVANTAGES AND DISADVANTAGES
 CONCLUSION
Introduction:
 Yii is pronounced as Yee or ji:,and is acronym for “Yes It Is!”.
 Yii is a high-performance component-based PHP framework for developing
large-scale Webapplications.
 The Yii is a free,open-source web application development framework
written in PHP5.
 It has been built with sophisticated,enterprise applications in mind.
 Yii supports MVC design pattern.
History:
 Developed by Qiang Xue.
 Qiang Xue was with experience in development of frameworks PRADO
one of famous framework for PHP
 By having the Years of experience ,he started the Yii project on january
1,2008.
 On december 3,2008,after nearly one year’s development,Yii 1.0 was
formally released to the public.
Technologies:
YII incorporates many ideas and work from other well-known web programming
frameworks and applications.
 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.
Installation:
Step1:
 Download latest version of Yii framework from www.yiiframework.com
 And then click on “Download Yii” button in that website
 Step2:Open the file containing folder and then extract the file.
 Step3:Rename the file to yii.
 Step4:open command prompt,type cd,yii,frameworkyiic.
(If yiic file is unable to open,then change the
path(c:xamppphpphp.exe),by opening that file in a
notepad++)
 Step5:specify the path to create first Yii application.
 The path will be c:xampphtdocsyiitest
 Step6:next the command will be displayed,type ‘yes’ for creation of
application.
 Yiitestcss
Home About
Step7:type localhost/yiitest/ in the address bar of the browser then an
web application will be appear
contact login
Features:
 MVC design pattern
 Form input and validation
 Authentication and Authorization
 Error handling and Logging errors
 Security
 Detailed documentation
 Automatic code generation
Performance:
 Yii is a high-performance framework.
 RPS(Request Per Second)-it describes how many requests an
application written in a framework can process per second.
Why Yii is so fast?
 Yii is so much faster because it is using lazy loading techinque.
 Eg:it does not include class file and does not access object until those
are needed.
 By having Benchmark,we can measure the performance.
 Benchmark in computing is the act of running a computer program,a
set of programs,or other operations,in order to assess the relative
performance of an object.
License:
 The Yii framework is free software. It is released under the terms of the
BSD License.
 Redistribution and use in source and binary forms,with or without
modifications are permitted by having BSD license only.
 The text contained in the official and user-contributed documentation is
licensed under the GNU Free Documentation License(GFDL).
 GFDL license allows users to copy,distribute and/or modify the document.
Module:
 A module is a self contained software unit that consists of
models,views,controllers and other components.
 A module resembles to an application.
 But module cnnot be deployed alone and it must be reside inside of an
application.
 Modules are useful for a large-scale application.single module can be
divided into several modules.
 Each being developed and maintained seperately.
 Can
 Creating module
 Using expression ucfirst(id).’module’.
 Using module
 Declare the module ID in the modules property of the application.
 Nested module
 First call the former parent ,later child module.
 Child modules must be declared in the modules property of their parent.
MVC:
 It divides an interactive application into three components.
 Model
 View
 Controller
 Through this approch each component is created and maintained
seperately.
Model:
 A model represents a single data object.
 Models are used to keep data and their relevant business rules.
 It could be a row in a database table or an html form with user input
fields.
 Yii implements two kinds of models:
 Form models
 Active records
Kinds of models:
 Form model:
 Used to store collected data
from user input.
 Such data is often collected,used
and discarded.
 Active records:
 Tells which record is currently
using.
View:
 View renders the components of a model.
 It access applications,data through model and specifies how that data
should be presented.
 It’s views responsibility to maintain consisitency.
 Layout:
 used to decorate views.
 it contains header and footer,content is embedded in between.
 Widget:
 it is an element of GUI that displays information and provides specific way
for user to interacr with application and operating system.
 System view:
 used by Yii to display error and logging information.
Controller:
 It translates interactions with the views into actions to be performed by
the model.
 Front controller for routing.
 Route:
 Formed by controller ID+module ID.
 Seperated by a slash(moduleID/controllerID/actionID)
 controller instantiation:
 Is created when it receives an request.
 Action:
 Action will be performed when it receives an request.
 Default action.
 Filter:
 Filter can be applied before and/or after an action is executed for
authentication.
 Advantages:
 Very fast and efficient
 Accelerate the development process
 MVC
 Authentication and role-based access control
 Website-portal
 Great documentation
 Disadvantages:
 Different subdomains,decrease in main domain
pagerank.
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.
 Compare with other PHP scripts,it is the best and secured one.
THANK YOU
Ad

More Related Content

What's hot (20)

Yii php framework_honey
Yii php framework_honeyYii php framework_honey
Yii php framework_honey
Honeyson Joseph
 
Training report on web developing
Training report on web developingTraining report on web developing
Training report on web developing
Jawhar Ali
 
JINI Technology
JINI TechnologyJINI Technology
JINI Technology
Rachna Singh
 
Report on web development
Report on web developmentReport on web development
Report on web development
AJEETKUMAR932614
 
Zigbee Presentation
Zigbee PresentationZigbee Presentation
Zigbee Presentation
Maathu Michael
 
Jini technology ppt
Jini technology pptJini technology ppt
Jini technology ppt
OECLIB Odisha Electronics Control Library
 
eye phone technology
eye phone technologyeye phone technology
eye phone technology
Naga Dinesh
 
Mobile agents
Mobile agentsMobile agents
Mobile agents
Santosh Pandey
 
QUALITY OF SERVICE(QoS) OF CLOUD
QUALITY OF SERVICE(QoS)OFCLOUDQUALITY OF SERVICE(QoS)OFCLOUD
QUALITY OF SERVICE(QoS) OF CLOUD
Rashmi Agale
 
CSE Final Year Project Presentation on Android Application
CSE Final Year Project Presentation on Android ApplicationCSE Final Year Project Presentation on Android Application
CSE Final Year Project Presentation on Android Application
Ahammad Karim
 
cloud computing:Types of virtualization
cloud computing:Types of virtualizationcloud computing:Types of virtualization
cloud computing:Types of virtualization
Dr.Neeraj Kumar Pandey
 
Chapter 5 IoT Design methodologies
Chapter 5 IoT Design methodologiesChapter 5 IoT Design methodologies
Chapter 5 IoT Design methodologies
pavan penugonda
 
Human activity recognition
Human activity recognitionHuman activity recognition
Human activity recognition
Randhir Gupta
 
NIST Cloud Computing Reference Architecture
NIST Cloud Computing Reference ArchitectureNIST Cloud Computing Reference Architecture
NIST Cloud Computing Reference Architecture
Thanakrit Lersmethasakul
 
Cloud computing using Eucalyptus
Cloud computing using EucalyptusCloud computing using Eucalyptus
Cloud computing using Eucalyptus
Abhishek Dey
 
Virtual machine security
Virtual machine securityVirtual machine security
Virtual machine security
Jacob Zvirikuzhe
 
Online examination system
Online examination systemOnline examination system
Online examination system
Mr. Vikram Singh Slathia
 
Peer to Peer services and File systems
Peer to Peer services and File systemsPeer to Peer services and File systems
Peer to Peer services and File systems
MNM Jain Engineering College
 
Traffic sign detection
Traffic sign detectionTraffic sign detection
Traffic sign detection
Avijit Rai
 
5 pen-pc-technology complete ppt
5 pen-pc-technology complete ppt5 pen-pc-technology complete ppt
5 pen-pc-technology complete ppt
atinav242
 
Training report on web developing
Training report on web developingTraining report on web developing
Training report on web developing
Jawhar Ali
 
eye phone technology
eye phone technologyeye phone technology
eye phone technology
Naga Dinesh
 
QUALITY OF SERVICE(QoS) OF CLOUD
QUALITY OF SERVICE(QoS)OFCLOUDQUALITY OF SERVICE(QoS)OFCLOUD
QUALITY OF SERVICE(QoS) OF CLOUD
Rashmi Agale
 
CSE Final Year Project Presentation on Android Application
CSE Final Year Project Presentation on Android ApplicationCSE Final Year Project Presentation on Android Application
CSE Final Year Project Presentation on Android Application
Ahammad Karim
 
cloud computing:Types of virtualization
cloud computing:Types of virtualizationcloud computing:Types of virtualization
cloud computing:Types of virtualization
Dr.Neeraj Kumar Pandey
 
Chapter 5 IoT Design methodologies
Chapter 5 IoT Design methodologiesChapter 5 IoT Design methodologies
Chapter 5 IoT Design methodologies
pavan penugonda
 
Human activity recognition
Human activity recognitionHuman activity recognition
Human activity recognition
Randhir Gupta
 
NIST Cloud Computing Reference Architecture
NIST Cloud Computing Reference ArchitectureNIST Cloud Computing Reference Architecture
NIST Cloud Computing Reference Architecture
Thanakrit Lersmethasakul
 
Cloud computing using Eucalyptus
Cloud computing using EucalyptusCloud computing using Eucalyptus
Cloud computing using Eucalyptus
Abhishek Dey
 
Traffic sign detection
Traffic sign detectionTraffic sign detection
Traffic sign detection
Avijit Rai
 
5 pen-pc-technology complete ppt
5 pen-pc-technology complete ppt5 pen-pc-technology complete ppt
5 pen-pc-technology complete ppt
atinav242
 

Viewers also liked (20)

Yii Framework
Yii FrameworkYii Framework
Yii Framework
Jason Ragsdale
 
Introduction Yii Framework
Introduction Yii FrameworkIntroduction Yii Framework
Introduction Yii Framework
Tuan Nguyen
 
yii framework
yii frameworkyii framework
yii framework
Akhil Kumar
 
Yii framework
Yii frameworkYii framework
Yii framework
Pratik Gondaliya
 
Introduction to YII framework
Introduction to YII frameworkIntroduction to YII framework
Introduction to YII framework
Naincy Gupta
 
A site in 15 minutes with yii
A site in 15 minutes with yiiA site in 15 minutes with yii
A site in 15 minutes with yii
Andy Kelk
 
Yii framework
Yii frameworkYii framework
Yii framework
Mohammed Saqib
 
Yii Introduction
Yii IntroductionYii Introduction
Yii Introduction
Jason Ragsdale
 
MVC en CakePHP 2.0
MVC en CakePHP 2.0MVC en CakePHP 2.0
MVC en CakePHP 2.0
Saúl Vázquez
 
Andres Gutierrez
Andres GutierrezAndres Gutierrez
Andres Gutierrez
Colombia3.0
 
Gym Computer system
Gym Computer systemGym Computer system
Gym Computer system
busyblawncare91
 
FRAMEWORD Yii
FRAMEWORD YiiFRAMEWORD Yii
FRAMEWORD Yii
critinasb
 
Yii inicios
Yii iniciosYii inicios
Yii inicios
fede003
 
Framework Yii
Framework YiiFramework Yii
Framework Yii
Leonardo Ribeiro
 
Apresentando o Yii Framework
Apresentando o Yii FrameworkApresentando o Yii Framework
Apresentando o Yii Framework
angellicacardozo
 
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
Software Guru
 
Yii Introduction
Yii IntroductionYii Introduction
Yii Introduction
Chandra S Oemarjadi
 
Yii Training session-1
Yii Training session-1Yii Training session-1
Yii Training session-1
AkkiCredencys
 
Introduce Yii
Introduce YiiIntroduce Yii
Introduce Yii
zakieh alizadeh
 
FUTEX 2015 Programme gb
FUTEX 2015 Programme gbFUTEX 2015 Programme gb
FUTEX 2015 Programme gb
FUTEX CONVENTION
 
Introduction Yii Framework
Introduction Yii FrameworkIntroduction Yii Framework
Introduction Yii Framework
Tuan Nguyen
 
Introduction to YII framework
Introduction to YII frameworkIntroduction to YII framework
Introduction to YII framework
Naincy Gupta
 
A site in 15 minutes with yii
A site in 15 minutes with yiiA site in 15 minutes with yii
A site in 15 minutes with yii
Andy Kelk
 
Andres Gutierrez
Andres GutierrezAndres Gutierrez
Andres Gutierrez
Colombia3.0
 
FRAMEWORD Yii
FRAMEWORD YiiFRAMEWORD Yii
FRAMEWORD Yii
critinasb
 
Yii inicios
Yii iniciosYii inicios
Yii inicios
fede003
 
Apresentando o Yii Framework
Apresentando o Yii FrameworkApresentando o Yii Framework
Apresentando o Yii Framework
angellicacardozo
 
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
Software Guru
 
Yii Training session-1
Yii Training session-1Yii Training session-1
Yii Training session-1
AkkiCredencys
 
Ad

Similar to Yii framework (20)

P H P Framework
P H P  FrameworkP H P  Framework
P H P Framework
Animesh Kumar
 
Fwdtechseminars
FwdtechseminarsFwdtechseminars
Fwdtechseminars
Prânith Kumâr
 
CODE IGNITER
CODE IGNITERCODE IGNITER
CODE IGNITER
Yesha kapadia
 
Get things done with Yii - quickly build webapplications
Get things done with Yii - quickly build webapplicationsGet things done with Yii - quickly build webapplications
Get things done with Yii - quickly build webapplications
Giuliano Iacobelli
 
Yii web application development company
Yii web application development companyYii web application development company
Yii web application development company
Enuke Software Pvt Ltd
 
Yii Framework Security
Yii Framework SecurityYii Framework Security
Yii Framework Security
Ilko Kacharov
 
A report on mvc using the information
A report on mvc using the informationA report on mvc using the information
A report on mvc using the information
Toushik Paul
 
Web Application Development with Yii and PHP 2nd Revised ed. Edition Jeffrey ...
Web Application Development with Yii and PHP 2nd Revised ed. Edition Jeffrey ...Web Application Development with Yii and PHP 2nd Revised ed. Edition Jeffrey ...
Web Application Development with Yii and PHP 2nd Revised ed. Edition Jeffrey ...
sadijagagean
 
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
jananya213
 
Object oriented software_engg
Object oriented software_enggObject oriented software_engg
Object oriented software_engg
Annie Thomas
 
Clean architecture with asp.net core
Clean architecture with asp.net coreClean architecture with asp.net core
Clean architecture with asp.net core
Sam Nasr, MCSA, MVP
 
Integrate Shindig with Joomla
Integrate Shindig with JoomlaIntegrate Shindig with Joomla
Integrate Shindig with Joomla
Anand Sharma
 
Top Benefits of Yii Framework Technology.pdf
Top Benefits of Yii Framework Technology.pdfTop Benefits of Yii Framework Technology.pdf
Top Benefits of Yii Framework Technology.pdf
XcelTec
 
ios basics
ios basicsios basics
ios basics
Muthu Sabarinathan
 
Software Portfolio - SetFocus
Software Portfolio - SetFocusSoftware Portfolio - SetFocus
Software Portfolio - SetFocus
Alexander Vogel
 
Php Framework
Php FrameworkPhp Framework
Php Framework
cncwebworld
 
Php framework
Php frameworkPhp framework
Php framework
cncwebworld
 
Yii Framework in the RAD context + Mashup demo built on YII
Yii Framework in the RAD context + Mashup demo built on YIIYii Framework in the RAD context + Mashup demo built on YII
Yii Framework in the RAD context + Mashup demo built on YII
George-Leonard Chetreanu
 
Modern JavaScript Applications: Design Patterns
Modern JavaScript Applications: Design PatternsModern JavaScript Applications: Design Patterns
Modern JavaScript Applications: Design Patterns
Volodymyr Voytyshyn
 
Principles of MVC for Rails Developers
Principles of MVC for Rails DevelopersPrinciples of MVC for Rails Developers
Principles of MVC for Rails Developers
Edureka!
 
Get things done with Yii - quickly build webapplications
Get things done with Yii - quickly build webapplicationsGet things done with Yii - quickly build webapplications
Get things done with Yii - quickly build webapplications
Giuliano Iacobelli
 
Yii web application development company
Yii web application development companyYii web application development company
Yii web application development company
Enuke Software Pvt Ltd
 
Yii Framework Security
Yii Framework SecurityYii Framework Security
Yii Framework Security
Ilko Kacharov
 
A report on mvc using the information
A report on mvc using the informationA report on mvc using the information
A report on mvc using the information
Toushik Paul
 
Web Application Development with Yii and PHP 2nd Revised ed. Edition Jeffrey ...
Web Application Development with Yii and PHP 2nd Revised ed. Edition Jeffrey ...Web Application Development with Yii and PHP 2nd Revised ed. Edition Jeffrey ...
Web Application Development with Yii and PHP 2nd Revised ed. Edition Jeffrey ...
sadijagagean
 
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
jananya213
 
Object oriented software_engg
Object oriented software_enggObject oriented software_engg
Object oriented software_engg
Annie Thomas
 
Clean architecture with asp.net core
Clean architecture with asp.net coreClean architecture with asp.net core
Clean architecture with asp.net core
Sam Nasr, MCSA, MVP
 
Integrate Shindig with Joomla
Integrate Shindig with JoomlaIntegrate Shindig with Joomla
Integrate Shindig with Joomla
Anand Sharma
 
Top Benefits of Yii Framework Technology.pdf
Top Benefits of Yii Framework Technology.pdfTop Benefits of Yii Framework Technology.pdf
Top Benefits of Yii Framework Technology.pdf
XcelTec
 
Software Portfolio - SetFocus
Software Portfolio - SetFocusSoftware Portfolio - SetFocus
Software Portfolio - SetFocus
Alexander Vogel
 
Yii Framework in the RAD context + Mashup demo built on YII
Yii Framework in the RAD context + Mashup demo built on YIIYii Framework in the RAD context + Mashup demo built on YII
Yii Framework in the RAD context + Mashup demo built on YII
George-Leonard Chetreanu
 
Modern JavaScript Applications: Design Patterns
Modern JavaScript Applications: Design PatternsModern JavaScript Applications: Design Patterns
Modern JavaScript Applications: Design Patterns
Volodymyr Voytyshyn
 
Principles of MVC for Rails Developers
Principles of MVC for Rails DevelopersPrinciples of MVC for Rails Developers
Principles of MVC for Rails Developers
Edureka!
 
Ad

Recently uploaded (20)

Huckel_Molecular orbital _Theory_8_Slides.pptx
Huckel_Molecular orbital _Theory_8_Slides.pptxHuckel_Molecular orbital _Theory_8_Slides.pptx
Huckel_Molecular orbital _Theory_8_Slides.pptx
study2022bsc
 
LCL216_2024-2_WEEKS 4 & 5_IF CLAUSES (1).pdf
LCL216_2024-2_WEEKS 4 & 5_IF CLAUSES (1).pdfLCL216_2024-2_WEEKS 4 & 5_IF CLAUSES (1).pdf
LCL216_2024-2_WEEKS 4 & 5_IF CLAUSES (1).pdf
rafaelsago2015
 
English For Carrier, It enhance your Communication Skills
English For Carrier, It enhance your Communication SkillsEnglish For Carrier, It enhance your Communication Skills
English For Carrier, It enhance your Communication Skills
ankitbeherabiru
 
Best Fashion Designing Colleges in Delhi
Best Fashion Designing Colleges in DelhiBest Fashion Designing Colleges in Delhi
Best Fashion Designing Colleges in Delhi
top10privatecolleges
 
remakingyourselfpresentation-250430095415-6476ade1.pptx
remakingyourselfpresentation-250430095415-6476ade1.pptxremakingyourselfpresentation-250430095415-6476ade1.pptx
remakingyourselfpresentation-250430095415-6476ade1.pptx
lakhmanpindariya9176
 
For ssrvm school Admission Campaign.pptx
For ssrvm school Admission Campaign.pptxFor ssrvm school Admission Campaign.pptx
For ssrvm school Admission Campaign.pptx
ArunTYltp
 
sorcesofdrugs-160228074 56 4246643544 (3).ppt
sorcesofdrugs-160228074 56 4246643544 (3).pptsorcesofdrugs-160228074 56 4246643544 (3).ppt
sorcesofdrugs-160228074 56 4246643544 (3).ppt
IndalSatnami
 
Traditional Medicine aDRTYSRTYSRTnd HIV.ppt
Traditional Medicine aDRTYSRTYSRTnd HIV.pptTraditional Medicine aDRTYSRTYSRTnd HIV.ppt
Traditional Medicine aDRTYSRTYSRTnd HIV.ppt
XolaniRadebe7
 
SAFETY BRIEFING.........................
SAFETY BRIEFING.........................SAFETY BRIEFING.........................
SAFETY BRIEFING.........................
BalaChandran458212
 
Green Colorful House Simple Illustration Presentation.pdf.pdf
Green Colorful House Simple Illustration Presentation.pdf.pdfGreen Colorful House Simple Illustration Presentation.pdf.pdf
Green Colorful House Simple Illustration Presentation.pdf.pdf
RhyzCharmSolis
 
Latest Questions & Answers | Prepare for H3C GB0-961 Certification
Latest Questions & Answers | Prepare for H3C GB0-961 CertificationLatest Questions & Answers | Prepare for H3C GB0-961 Certification
Latest Questions & Answers | Prepare for H3C GB0-961 Certification
NWEXAM
 
NATIONALISM IN EUROPE class 10 best ppt.pdf
NATIONALISM IN EUROPE class 10 best ppt.pdfNATIONALISM IN EUROPE class 10 best ppt.pdf
NATIONALISM IN EUROPE class 10 best ppt.pdf
leenamakkar79
 
Research Project csi1 - This presentation compares popular web browsers such ...
Research Project csi1 - This presentation compares popular web browsers such ...Research Project csi1 - This presentation compares popular web browsers such ...
Research Project csi1 - This presentation compares popular web browsers such ...
bomisung0207
 
RCM-billing in medical coding0000 1.pptx
RCM-billing in medical coding0000 1.pptxRCM-billing in medical coding0000 1.pptx
RCM-billing in medical coding0000 1.pptx
liajohn0808
 
Lecture 4.pptx which is need for microeconomic
Lecture 4.pptx which is need for microeconomicLecture 4.pptx which is need for microeconomic
Lecture 4.pptx which is need for microeconomic
mdrakibhasan1427
 
SHIPPING CONTAINdccdcdERS BC (2).pdf.pptx
SHIPPING CONTAINdccdcdERS BC (2).pdf.pptxSHIPPING CONTAINdccdcdERS BC (2).pdf.pptx
SHIPPING CONTAINdccdcdERS BC (2).pdf.pptx
ArshjotSingh30
 
Pixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
Pixida, Simplifying Success in Germany, the USA, Brazil, China and PortugalPixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
Pixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
TechMeetups
 
巴利亚多利德大学毕业证书学校原版文凭补办UVa成绩单办本科成绩单
巴利亚多利德大学毕业证书学校原版文凭补办UVa成绩单办本科成绩单巴利亚多利德大学毕业证书学校原版文凭补办UVa成绩单办本科成绩单
巴利亚多利德大学毕业证书学校原版文凭补办UVa成绩单办本科成绩单
xule9cv6nd
 
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
johncena77770789
 
HCollege ppt guidance and counselin.pptx
HCollege ppt guidance and counselin.pptxHCollege ppt guidance and counselin.pptx
HCollege ppt guidance and counselin.pptx
liajohn0808
 
Huckel_Molecular orbital _Theory_8_Slides.pptx
Huckel_Molecular orbital _Theory_8_Slides.pptxHuckel_Molecular orbital _Theory_8_Slides.pptx
Huckel_Molecular orbital _Theory_8_Slides.pptx
study2022bsc
 
LCL216_2024-2_WEEKS 4 & 5_IF CLAUSES (1).pdf
LCL216_2024-2_WEEKS 4 & 5_IF CLAUSES (1).pdfLCL216_2024-2_WEEKS 4 & 5_IF CLAUSES (1).pdf
LCL216_2024-2_WEEKS 4 & 5_IF CLAUSES (1).pdf
rafaelsago2015
 
English For Carrier, It enhance your Communication Skills
English For Carrier, It enhance your Communication SkillsEnglish For Carrier, It enhance your Communication Skills
English For Carrier, It enhance your Communication Skills
ankitbeherabiru
 
Best Fashion Designing Colleges in Delhi
Best Fashion Designing Colleges in DelhiBest Fashion Designing Colleges in Delhi
Best Fashion Designing Colleges in Delhi
top10privatecolleges
 
remakingyourselfpresentation-250430095415-6476ade1.pptx
remakingyourselfpresentation-250430095415-6476ade1.pptxremakingyourselfpresentation-250430095415-6476ade1.pptx
remakingyourselfpresentation-250430095415-6476ade1.pptx
lakhmanpindariya9176
 
For ssrvm school Admission Campaign.pptx
For ssrvm school Admission Campaign.pptxFor ssrvm school Admission Campaign.pptx
For ssrvm school Admission Campaign.pptx
ArunTYltp
 
sorcesofdrugs-160228074 56 4246643544 (3).ppt
sorcesofdrugs-160228074 56 4246643544 (3).pptsorcesofdrugs-160228074 56 4246643544 (3).ppt
sorcesofdrugs-160228074 56 4246643544 (3).ppt
IndalSatnami
 
Traditional Medicine aDRTYSRTYSRTnd HIV.ppt
Traditional Medicine aDRTYSRTYSRTnd HIV.pptTraditional Medicine aDRTYSRTYSRTnd HIV.ppt
Traditional Medicine aDRTYSRTYSRTnd HIV.ppt
XolaniRadebe7
 
SAFETY BRIEFING.........................
SAFETY BRIEFING.........................SAFETY BRIEFING.........................
SAFETY BRIEFING.........................
BalaChandran458212
 
Green Colorful House Simple Illustration Presentation.pdf.pdf
Green Colorful House Simple Illustration Presentation.pdf.pdfGreen Colorful House Simple Illustration Presentation.pdf.pdf
Green Colorful House Simple Illustration Presentation.pdf.pdf
RhyzCharmSolis
 
Latest Questions & Answers | Prepare for H3C GB0-961 Certification
Latest Questions & Answers | Prepare for H3C GB0-961 CertificationLatest Questions & Answers | Prepare for H3C GB0-961 Certification
Latest Questions & Answers | Prepare for H3C GB0-961 Certification
NWEXAM
 
NATIONALISM IN EUROPE class 10 best ppt.pdf
NATIONALISM IN EUROPE class 10 best ppt.pdfNATIONALISM IN EUROPE class 10 best ppt.pdf
NATIONALISM IN EUROPE class 10 best ppt.pdf
leenamakkar79
 
Research Project csi1 - This presentation compares popular web browsers such ...
Research Project csi1 - This presentation compares popular web browsers such ...Research Project csi1 - This presentation compares popular web browsers such ...
Research Project csi1 - This presentation compares popular web browsers such ...
bomisung0207
 
RCM-billing in medical coding0000 1.pptx
RCM-billing in medical coding0000 1.pptxRCM-billing in medical coding0000 1.pptx
RCM-billing in medical coding0000 1.pptx
liajohn0808
 
Lecture 4.pptx which is need for microeconomic
Lecture 4.pptx which is need for microeconomicLecture 4.pptx which is need for microeconomic
Lecture 4.pptx which is need for microeconomic
mdrakibhasan1427
 
SHIPPING CONTAINdccdcdERS BC (2).pdf.pptx
SHIPPING CONTAINdccdcdERS BC (2).pdf.pptxSHIPPING CONTAINdccdcdERS BC (2).pdf.pptx
SHIPPING CONTAINdccdcdERS BC (2).pdf.pptx
ArshjotSingh30
 
Pixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
Pixida, Simplifying Success in Germany, the USA, Brazil, China and PortugalPixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
Pixida, Simplifying Success in Germany, the USA, Brazil, China and Portugal
TechMeetups
 
巴利亚多利德大学毕业证书学校原版文凭补办UVa成绩单办本科成绩单
巴利亚多利德大学毕业证书学校原版文凭补办UVa成绩单办本科成绩单巴利亚多利德大学毕业证书学校原版文凭补办UVa成绩单办本科成绩单
巴利亚多利德大学毕业证书学校原版文凭补办UVa成绩单办本科成绩单
xule9cv6nd
 
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
COMPRESSION MODELSCOMPRESSION MODELSCOMPRESSION MODELS
johncena77770789
 
HCollege ppt guidance and counselin.pptx
HCollege ppt guidance and counselin.pptxHCollege ppt guidance and counselin.pptx
HCollege ppt guidance and counselin.pptx
liajohn0808
 

Yii framework

  • 2. CONTENTS:  INTRODUCTION  HISTORY  TECHNOLOGIES  INSTALLATION  PERFORMANCE  MODULE  ADVANTAGES AND DISADVANTAGES  CONCLUSION
  • 3. Introduction:  Yii is pronounced as Yee or ji:,and is acronym for “Yes It Is!”.  Yii is a high-performance component-based PHP framework for developing large-scale Webapplications.  The Yii is a free,open-source web application development framework written in PHP5.  It has been built with sophisticated,enterprise applications in mind.  Yii supports MVC design pattern.
  • 4. History:  Developed by Qiang Xue.  Qiang Xue was with experience in development of frameworks PRADO one of famous framework for PHP  By having the Years of experience ,he started the Yii project on january 1,2008.  On december 3,2008,after nearly one year’s development,Yii 1.0 was formally released to the public.
  • 5. Technologies: YII incorporates many ideas and work from other well-known web programming frameworks and applications.  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.
  • 6. Installation: Step1:  Download latest version of Yii framework from www.yiiframework.com  And then click on “Download Yii” button in that website
  • 7.  Step2:Open the file containing folder and then extract the file.  Step3:Rename the file to yii.  Step4:open command prompt,type cd,yii,frameworkyiic. (If yiic file is unable to open,then change the path(c:xamppphpphp.exe),by opening that file in a notepad++)  Step5:specify the path to create first Yii application.  The path will be c:xampphtdocsyiitest  Step6:next the command will be displayed,type ‘yes’ for creation of application.  Yiitestcss
  • 8. Home About Step7:type localhost/yiitest/ in the address bar of the browser then an web application will be appear
  • 10. Features:  MVC design pattern  Form input and validation  Authentication and Authorization  Error handling and Logging errors  Security  Detailed documentation  Automatic code generation
  • 11. Performance:  Yii is a high-performance framework.  RPS(Request Per Second)-it describes how many requests an application written in a framework can process per second.
  • 12. Why Yii is so fast?  Yii is so much faster because it is using lazy loading techinque.  Eg:it does not include class file and does not access object until those are needed.  By having Benchmark,we can measure the performance.  Benchmark in computing is the act of running a computer program,a set of programs,or other operations,in order to assess the relative performance of an object.
  • 13. License:  The Yii framework is free software. It is released under the terms of the BSD License.  Redistribution and use in source and binary forms,with or without modifications are permitted by having BSD license only.  The text contained in the official and user-contributed documentation is licensed under the GNU Free Documentation License(GFDL).  GFDL license allows users to copy,distribute and/or modify the document.
  • 14. Module:  A module is a self contained software unit that consists of models,views,controllers and other components.  A module resembles to an application.  But module cnnot be deployed alone and it must be reside inside of an application.
  • 15.  Modules are useful for a large-scale application.single module can be divided into several modules.  Each being developed and maintained seperately.  Can  Creating module  Using expression ucfirst(id).’module’.  Using module  Declare the module ID in the modules property of the application.  Nested module  First call the former parent ,later child module.  Child modules must be declared in the modules property of their parent.
  • 16. MVC:  It divides an interactive application into three components.  Model  View  Controller  Through this approch each component is created and maintained seperately.
  • 17. Model:  A model represents a single data object.  Models are used to keep data and their relevant business rules.  It could be a row in a database table or an html form with user input fields.  Yii implements two kinds of models:  Form models  Active records
  • 18. Kinds of models:  Form model:  Used to store collected data from user input.  Such data is often collected,used and discarded.  Active records:  Tells which record is currently using.
  • 19. View:  View renders the components of a model.  It access applications,data through model and specifies how that data should be presented.  It’s views responsibility to maintain consisitency.  Layout:  used to decorate views.  it contains header and footer,content is embedded in between.
  • 20.  Widget:  it is an element of GUI that displays information and provides specific way for user to interacr with application and operating system.  System view:  used by Yii to display error and logging information. Controller:  It translates interactions with the views into actions to be performed by the model.  Front controller for routing.
  • 21.  Route:  Formed by controller ID+module ID.  Seperated by a slash(moduleID/controllerID/actionID)  controller instantiation:  Is created when it receives an request.  Action:  Action will be performed when it receives an request.  Default action.  Filter:  Filter can be applied before and/or after an action is executed for authentication.
  • 22.  Advantages:  Very fast and efficient  Accelerate the development process  MVC  Authentication and role-based access control  Website-portal  Great documentation  Disadvantages:  Different subdomains,decrease in main domain pagerank.
  • 23. 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.  Compare with other PHP scripts,it is the best and secured one.