SlideShare a Scribd company logo
1 of 13
Why Yii?
Presenter: Naincy Gupta
Mindfire Solutions
 Introduction
 Architecture
 Technologies
 Features of Yii
 Comparison with other PHP Frameworks
 Why to choose?
Agenda
Introduction
YII is a framework for creating Web applications using PHP 5 (or
greater).

High-performance framework and good for developing Web applications.

YII Framework is best because it is based on DRY (Don't repeat
yourself) design pattern that is why is called fast application
development framework.

YII is designed from the beginning to fit for serious Web application
development.

YII is a pure OOP framework.
Architecture
Architecture Flow:
1.) Pre-initialize the application with CApplication::preinit();
2.) Set up class autoloader and error handling
3.) Register core application components
4.) Load application configuration
5.) Initialize the application
- Register application behaviours
- Load static application components
6.) Raise on Begin Request event
7.) Process the user request
- Resolve the user request
- Create controller
- Run controller
Technologies
YII built with help of Qiang Xue made use of severa; other web technologies to
enhance power of YII Qiang Xue used.
PRADO is major source in development of YII
YII referenced its implementation of the active recprd design pattern for its
ORM layer.
Joomla and Symphony were also used in development in YII
jQuery is integrated in YII
Features of YII

Great Integration with industry standards CSS and JS frameworks like jQuery,
BootStrap, etc. Made it easy to create modern responsive designs.

YII also hepls in maintaining the application design as recommended by YII, which
helps in maintaining application security.

Migration utility provide great control over Database changes, will help us to upgrade /
downgrade application version on differnt installations.

Large collection of widgets and third party components.

Custom Theme Management

YII caching support is very handy with high traffic websites

Unit Testing Frameworks
- PHP5 MVC - Powerful Cache
- Nice API - RBAC, auth framework
- Migrations - Console
- Form Builder - Error Handler, Log
- Themes - GII
- Test Framework - Widgets
- Well documented - Friendly community
Comparison
with other
Frameworks
Features YII Laravel Symphony2 CI
Version 1.1.14 4.1.24 2.4 2.1.4
Requirement >= PHP 5.1.0 >= 5.3.7 with
mcrypt ext.
>=PHP5.3.2 >= PHP 5.1.6
Cache Storage APC,
MemCache,
XCache,
ZendPlatform
File System,
Database,
Memcached,
APC, Redis,
Xcache,
WinCache,
Memory
APC,
eAccelerator,
XCache
File, apc,
memcached,
xcache
Testing Library PHPUnit,
Selenium
PHPUNIT PHPUNIT PHPUnit (In
development)
Security XSS, Xsrf, Sql
Injection
XSS, Xsrf, Sql
Injection
XSS, Xsrf, Sql
Injection
XSS, Xsrf, Sql
Injection
Template
System
PHP and
Prado's -
Others using
Ext. (Razor,
Smarty, Twig,
etc)
Blade, PHP,
Custom
PHP, Twig PHP, Simple
template
parser
"{var_name}"
Logging
Management
Yes Yes PSR-3
compliant
Why to Choose??
When we choose any Framework for development then what we want:
- development should be staright forward
- Not do complex stuff for web apps
- Easy Learning and easy to debug and fix.
- Less configuration
- As simple API possible
Here, answer is YII.
Yii has all these features and many more benefits that we already
discussed. Some more benefits are:
- Easy to customize the application as per customers requirements.
- Provides great command line tool that help us create complicated CRON jobs.
- Data Cache and Performance
Questions??
Mail me your questions at nansee1804@gmail.com
Thank you

More Related Content

What's hot

Java design patterns
Java design patternsJava design patterns
Java design patternsShawn Brito
 
졸업작품 최종 발표
졸업작품 최종 발표졸업작품 최종 발표
졸업작품 최종 발표DongGeun Lee
 
Building APIs with the OpenApi Spec
Building APIs with the OpenApi SpecBuilding APIs with the OpenApi Spec
Building APIs with the OpenApi SpecPedro J. Molina
 
A brief introduction to SQLite PPT
A brief introduction to SQLite PPTA brief introduction to SQLite PPT
A brief introduction to SQLite PPTJavaTpoint
 
Quick flask an intro to flask
Quick flask   an intro to flaskQuick flask   an intro to flask
Quick flask an intro to flaskjuzten
 
InjectionIII의 Hot Reload를 이용하여 앱 개발을 좀 더 편하게 하기.pdf
InjectionIII의 Hot Reload를 이용하여 앱 개발을 좀 더 편하게 하기.pdfInjectionIII의 Hot Reload를 이용하여 앱 개발을 좀 더 편하게 하기.pdf
InjectionIII의 Hot Reload를 이용하여 앱 개발을 좀 더 편하게 하기.pdf정민 안
 
Python/Flask Presentation
Python/Flask PresentationPython/Flask Presentation
Python/Flask PresentationParag Mujumdar
 
Full session asp net mvc vs aspnet core
Full session asp net mvc vs aspnet coreFull session asp net mvc vs aspnet core
Full session asp net mvc vs aspnet corefizmhd
 
API Testing with Frisby and Mocha
API Testing with Frisby and MochaAPI Testing with Frisby and Mocha
API Testing with Frisby and MochaLyudmila Anisimova
 
Building a REST Service in minutes with Spring Boot
Building a REST Service in minutes with Spring BootBuilding a REST Service in minutes with Spring Boot
Building a REST Service in minutes with Spring BootOmri Spector
 
Writing REST APIs with OpenAPI and Swagger Ada
Writing REST APIs with OpenAPI and Swagger AdaWriting REST APIs with OpenAPI and Swagger Ada
Writing REST APIs with OpenAPI and Swagger AdaStephane Carrez
 
4조 졸업작품 ppt
4조 졸업작품 ppt4조 졸업작품 ppt
4조 졸업작품 pptssuser767696
 
VueJS Best Practices
VueJS Best PracticesVueJS Best Practices
VueJS Best PracticesFatih Acet
 
API Governance and GitOps in Hybrid Integration Platform (MuleSoft)
API Governance and GitOps in Hybrid Integration Platform (MuleSoft)API Governance and GitOps in Hybrid Integration Platform (MuleSoft)
API Governance and GitOps in Hybrid Integration Platform (MuleSoft)Sumanth Donthi
 
API Management architect presentation
API Management architect presentationAPI Management architect presentation
API Management architect presentationsflynn073
 
What is an API Gateway?
What is an API Gateway?What is an API Gateway?
What is an API Gateway?LunchBadger
 

What's hot (20)

Rest API
Rest APIRest API
Rest API
 
Introduction to spring boot
Introduction to spring bootIntroduction to spring boot
Introduction to spring boot
 
Java design patterns
Java design patternsJava design patterns
Java design patterns
 
졸업작품 최종 발표
졸업작품 최종 발표졸업작품 최종 발표
졸업작품 최종 발표
 
Building APIs with the OpenApi Spec
Building APIs with the OpenApi SpecBuilding APIs with the OpenApi Spec
Building APIs with the OpenApi Spec
 
A brief introduction to SQLite PPT
A brief introduction to SQLite PPTA brief introduction to SQLite PPT
A brief introduction to SQLite PPT
 
Quick flask an intro to flask
Quick flask   an intro to flaskQuick flask   an intro to flask
Quick flask an intro to flask
 
InjectionIII의 Hot Reload를 이용하여 앱 개발을 좀 더 편하게 하기.pdf
InjectionIII의 Hot Reload를 이용하여 앱 개발을 좀 더 편하게 하기.pdfInjectionIII의 Hot Reload를 이용하여 앱 개발을 좀 더 편하게 하기.pdf
InjectionIII의 Hot Reload를 이용하여 앱 개발을 좀 더 편하게 하기.pdf
 
Python/Flask Presentation
Python/Flask PresentationPython/Flask Presentation
Python/Flask Presentation
 
Full session asp net mvc vs aspnet core
Full session asp net mvc vs aspnet coreFull session asp net mvc vs aspnet core
Full session asp net mvc vs aspnet core
 
An Introduction To REST API
An Introduction To REST APIAn Introduction To REST API
An Introduction To REST API
 
API Testing with Frisby and Mocha
API Testing with Frisby and MochaAPI Testing with Frisby and Mocha
API Testing with Frisby and Mocha
 
Building a REST Service in minutes with Spring Boot
Building a REST Service in minutes with Spring BootBuilding a REST Service in minutes with Spring Boot
Building a REST Service in minutes with Spring Boot
 
Writing REST APIs with OpenAPI and Swagger Ada
Writing REST APIs with OpenAPI and Swagger AdaWriting REST APIs with OpenAPI and Swagger Ada
Writing REST APIs with OpenAPI and Swagger Ada
 
4조 졸업작품 ppt
4조 졸업작품 ppt4조 졸업작품 ppt
4조 졸업작품 ppt
 
VueJS Best Practices
VueJS Best PracticesVueJS Best Practices
VueJS Best Practices
 
API Governance and GitOps in Hybrid Integration Platform (MuleSoft)
API Governance and GitOps in Hybrid Integration Platform (MuleSoft)API Governance and GitOps in Hybrid Integration Platform (MuleSoft)
API Governance and GitOps in Hybrid Integration Platform (MuleSoft)
 
API Management architect presentation
API Management architect presentationAPI Management architect presentation
API Management architect presentation
 
Ember - introduction
Ember - introductionEmber - introduction
Ember - introduction
 
What is an API Gateway?
What is an API Gateway?What is an API Gateway?
What is an API Gateway?
 

Viewers also liked

Introduction Yii Framework
Introduction Yii FrameworkIntroduction Yii Framework
Introduction Yii FrameworkTuan Nguyen
 
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 yiiAndy Kelk
 
Yii Framework Security
Yii Framework SecurityYii Framework Security
Yii Framework SecurityIlko Kacharov
 
Futex Scaling for Multi-core Systems
Futex Scaling for Multi-core SystemsFutex Scaling for Multi-core Systems
Futex Scaling for Multi-core SystemsDavidlohr Bueso
 
Why choose Yii framework?
Why choose Yii framework?Why choose Yii framework?
Why choose Yii framework?goodcore
 

Viewers also liked (12)

Yii framework
Yii frameworkYii framework
Yii framework
 
Introduction Yii Framework
Introduction Yii FrameworkIntroduction Yii Framework
Introduction Yii Framework
 
yii framework
yii frameworkyii framework
yii framework
 
Yii Framework
Yii FrameworkYii Framework
Yii Framework
 
Yii framework
Yii frameworkYii framework
Yii framework
 
FUTEX 2015 Programme gb
FUTEX 2015 Programme gbFUTEX 2015 Programme gb
FUTEX 2015 Programme gb
 
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
 
Nram presentation 3
Nram presentation 3Nram presentation 3
Nram presentation 3
 
Yii Framework Security
Yii Framework SecurityYii Framework Security
Yii Framework Security
 
Futex Scaling for Multi-core Systems
Futex Scaling for Multi-core SystemsFutex Scaling for Multi-core Systems
Futex Scaling for Multi-core Systems
 
Why choose Yii framework?
Why choose Yii framework?Why choose Yii framework?
Why choose Yii framework?
 
Slideshare ppt
Slideshare pptSlideshare ppt
Slideshare ppt
 

Similar to Introduction to YII framework

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 frameworkjananya213
 
PHP and FastCGI Performance Optimizations
PHP and FastCGI Performance OptimizationsPHP and FastCGI Performance Optimizations
PHP and FastCGI Performance OptimizationsAlessandro Pilotti
 
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 KnowClarion Technologies
 
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 developmentAppfinz Technologies
 
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.pdfMoon Technolabs Pvt. Ltd.
 
Building and managing applications fast for IBM i
Building and managing applications fast for IBM iBuilding and managing applications fast for IBM i
Building and managing applications fast for IBM iZend by Rogue Wave Software
 
java web framework standard.20180412
java web framework standard.20180412java web framework standard.20180412
java web framework standard.20180412FirmansyahIrma1
 
Yii Development
Yii DevelopmentYii Development
Yii Developmentjananya213
 
Yii Training session-1
Yii Training session-1Yii Training session-1
Yii Training session-1AkkiCredencys
 
Microsoft power point automation-opensourcetestingtools_matrix-1
Microsoft power point   automation-opensourcetestingtools_matrix-1Microsoft power point   automation-opensourcetestingtools_matrix-1
Microsoft power point automation-opensourcetestingtools_matrix-1tactqa
 
Microsoft power point automation-opensourcetestingtools_matrix-1
Microsoft power point   automation-opensourcetestingtools_matrix-1Microsoft power point   automation-opensourcetestingtools_matrix-1
Microsoft power point automation-opensourcetestingtools_matrix-1tactqa
 
JBoss BPM Suite 6 Tech labs
JBoss BPM Suite 6 Tech labsJBoss BPM Suite 6 Tech labs
JBoss BPM Suite 6 Tech labsAndrea Leoncini
 

Similar to Introduction to YII framework (20)

P H P Framework
P H P  FrameworkP H P  Framework
P H P Framework
 
Introduce Yii
Introduce YiiIntroduce Yii
Introduce Yii
 
Fwdtechseminars
FwdtechseminarsFwdtechseminars
Fwdtechseminars
 
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
 
PHP and FastCGI Performance Optimizations
PHP and FastCGI Performance OptimizationsPHP and FastCGI Performance Optimizations
PHP and FastCGI Performance Optimizations
 
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
 
PHP Frameworks
PHP FrameworksPHP Frameworks
PHP Frameworks
 
Lamp Zend Security
Lamp Zend SecurityLamp Zend Security
Lamp Zend Security
 
Php Web Frameworks
Php Web FrameworksPhp Web Frameworks
Php Web Frameworks
 
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 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
 
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
 
Best PHP Frameworks
Best PHP FrameworksBest PHP Frameworks
Best PHP Frameworks
 
Building and managing applications fast for IBM i
Building and managing applications fast for IBM iBuilding and managing applications fast for IBM i
Building and managing applications fast for IBM i
 
java web framework standard.20180412
java web framework standard.20180412java web framework standard.20180412
java web framework standard.20180412
 
Yii Development
Yii DevelopmentYii Development
Yii Development
 
Yii Training session-1
Yii Training session-1Yii Training session-1
Yii Training session-1
 
Microsoft power point automation-opensourcetestingtools_matrix-1
Microsoft power point   automation-opensourcetestingtools_matrix-1Microsoft power point   automation-opensourcetestingtools_matrix-1
Microsoft power point automation-opensourcetestingtools_matrix-1
 
Microsoft power point automation-opensourcetestingtools_matrix-1
Microsoft power point   automation-opensourcetestingtools_matrix-1Microsoft power point   automation-opensourcetestingtools_matrix-1
Microsoft power point automation-opensourcetestingtools_matrix-1
 
JBoss BPM Suite 6 Tech labs
JBoss BPM Suite 6 Tech labsJBoss BPM Suite 6 Tech labs
JBoss BPM Suite 6 Tech labs
 

Recently uploaded

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
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 2024The Digital Insurer
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
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 organizationRadu Cotescu
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
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...Drew Madelung
 
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.pptxEarley Information Science
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
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...apidays
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
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...Neo4j
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 

Recently uploaded (20)

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
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
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.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...
 
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
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
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...
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
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...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

Introduction to YII framework

  • 1. Why Yii? Presenter: Naincy Gupta Mindfire Solutions
  • 2.  Introduction  Architecture  Technologies  Features of Yii  Comparison with other PHP Frameworks  Why to choose? Agenda
  • 3. Introduction YII is a framework for creating Web applications using PHP 5 (or greater).  High-performance framework and good for developing Web applications.  YII Framework is best because it is based on DRY (Don't repeat yourself) design pattern that is why is called fast application development framework.  YII is designed from the beginning to fit for serious Web application development.  YII is a pure OOP framework.
  • 5. Architecture Flow: 1.) Pre-initialize the application with CApplication::preinit(); 2.) Set up class autoloader and error handling 3.) Register core application components 4.) Load application configuration 5.) Initialize the application - Register application behaviours - Load static application components 6.) Raise on Begin Request event 7.) Process the user request - Resolve the user request - Create controller - Run controller
  • 6. Technologies YII built with help of Qiang Xue made use of severa; other web technologies to enhance power of YII Qiang Xue used. PRADO is major source in development of YII YII referenced its implementation of the active recprd design pattern for its ORM layer. Joomla and Symphony were also used in development in YII jQuery is integrated in YII
  • 7. Features of YII  Great Integration with industry standards CSS and JS frameworks like jQuery, BootStrap, etc. Made it easy to create modern responsive designs.  YII also hepls in maintaining the application design as recommended by YII, which helps in maintaining application security.  Migration utility provide great control over Database changes, will help us to upgrade / downgrade application version on differnt installations.  Large collection of widgets and third party components.  Custom Theme Management  YII caching support is very handy with high traffic websites  Unit Testing Frameworks
  • 8. - PHP5 MVC - Powerful Cache - Nice API - RBAC, auth framework - Migrations - Console - Form Builder - Error Handler, Log - Themes - GII - Test Framework - Widgets - Well documented - Friendly community
  • 10. Features YII Laravel Symphony2 CI Version 1.1.14 4.1.24 2.4 2.1.4 Requirement >= PHP 5.1.0 >= 5.3.7 with mcrypt ext. >=PHP5.3.2 >= PHP 5.1.6 Cache Storage APC, MemCache, XCache, ZendPlatform File System, Database, Memcached, APC, Redis, Xcache, WinCache, Memory APC, eAccelerator, XCache File, apc, memcached, xcache Testing Library PHPUnit, Selenium PHPUNIT PHPUNIT PHPUnit (In development) Security XSS, Xsrf, Sql Injection XSS, Xsrf, Sql Injection XSS, Xsrf, Sql Injection XSS, Xsrf, Sql Injection Template System PHP and Prado's - Others using Ext. (Razor, Smarty, Twig, etc) Blade, PHP, Custom PHP, Twig PHP, Simple template parser "{var_name}" Logging Management Yes Yes PSR-3 compliant
  • 11. Why to Choose?? When we choose any Framework for development then what we want: - development should be staright forward - Not do complex stuff for web apps - Easy Learning and easy to debug and fix. - Less configuration - As simple API possible Here, answer is YII. Yii has all these features and many more benefits that we already discussed. Some more benefits are: - Easy to customize the application as per customers requirements. - Provides great command line tool that help us create complicated CRON jobs. - Data Cache and Performance
  • 12. Questions?? Mail me your questions at nansee1804@gmail.com