SlideShare une entreprise Scribd logo
1  sur  17
Web Application Framework
Demo: Creating a full flourished and fullyfunctional web application in  2 minutes Contents Whatis a Framework?  Architecture Model viewcontroller(MVC) Features Introducing Yii 2
What is a PHP Framework? 3 ,[object Object],		- Use PHP framework  ,[object Object]
Provids a basic structure for which to build the web applications.
Helps to promote rapid application development  (RAD).
Allows more time in creating the actual web application, instead of writing repetitive code,[object Object]
An architectural pattern in programming that isolates business logic from the UI.
breaks up the development process of an application		- can work on individual elements while others are unaffected
PHP Framework - Why? 5 ,[object Object]
the availability of PHP frameworks is extensive
Save time and effort
offer greater simplicity as well stability
tools for “weak” programmers to tighten up their coding
large support teams,[object Object]
What is         ?? Yii 7 The name Yii (pronounced as /ji:/) stands for easy, efficient and extensible. High-performance component-based PHP framework for developing large-scaleWeb applications. Requires Web server supporting PHP 5.1.0 or higher.
Why? Yii 8 Generic Web programming framework 		- Can be used for developing virtually all sorts of Web apps, offer greater simplicity & stability Efficient, feature-rich and clearly-documented Light-weighted and equipped with sophisticated caching solutions Especially suitable for developing high-traffic applications, such as portals, forums etc.
Why?             Contd.. Yii 9 Yes it is !!!

Contenu connexe

Tendances

CodeIgniter - PHP MVC Framework by silicongulf.com
CodeIgniter - PHP MVC Framework by silicongulf.comCodeIgniter - PHP MVC Framework by silicongulf.com
CodeIgniter - PHP MVC Framework by silicongulf.comChristopher Cubos
 
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
 
PHP Frameworks and CodeIgniter
PHP Frameworks and CodeIgniterPHP Frameworks and CodeIgniter
PHP Frameworks and CodeIgniterKHALID C
 
Introduction to MVC Web Framework with CodeIgniter
Introduction to MVC Web Framework with CodeIgniterIntroduction to MVC Web Framework with CodeIgniter
Introduction to MVC Web Framework with CodeIgniterPongsakorn U-chupala
 
Php Frameworks
Php FrameworksPhp Frameworks
Php FrameworksRyan Davis
 
PHP Frameworks & Introduction to CodeIgniter
PHP Frameworks & Introduction to CodeIgniterPHP Frameworks & Introduction to CodeIgniter
PHP Frameworks & Introduction to CodeIgniterJamshid Hashimi
 
Web application development using zend framework
Web application development using zend frameworkWeb application development using zend framework
Web application development using zend frameworkSayed Ahmed
 
Introduction To CodeIgniter
Introduction To CodeIgniterIntroduction To CodeIgniter
Introduction To CodeIgniterschwebbie
 
Codeigniter, a MVC framework for beginner
Codeigniter, a MVC framework for beginnerCodeigniter, a MVC framework for beginner
Codeigniter, a MVC framework for beginneraminbd
 

Tendances (20)

CodeIgniter - PHP MVC Framework by silicongulf.com
CodeIgniter - PHP MVC Framework by silicongulf.comCodeIgniter - PHP MVC Framework by silicongulf.com
CodeIgniter - PHP MVC Framework by silicongulf.com
 
Yii php framework_honey
Yii php framework_honeyYii php framework_honey
Yii php framework_honey
 
Yii framework
Yii frameworkYii framework
Yii framework
 
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
 
IIS 6.0 and asp.net
IIS 6.0 and asp.netIIS 6.0 and asp.net
IIS 6.0 and asp.net
 
Know about cake php framework with vertexplus
Know about  cake php framework with vertexplusKnow about  cake php framework with vertexplus
Know about cake php framework with vertexplus
 
Php framework
Php frameworkPhp framework
Php framework
 
PHP Frameworks and CodeIgniter
PHP Frameworks and CodeIgniterPHP Frameworks and CodeIgniter
PHP Frameworks and CodeIgniter
 
Introduction to MVC Web Framework with CodeIgniter
Introduction to MVC Web Framework with CodeIgniterIntroduction to MVC Web Framework with CodeIgniter
Introduction to MVC Web Framework with CodeIgniter
 
Php Framework
Php FrameworkPhp Framework
Php Framework
 
Php Frameworks
Php FrameworksPhp Frameworks
Php Frameworks
 
I3 - for Web & J2EE
I3 - for Web & J2EEI3 - for Web & J2EE
I3 - for Web & J2EE
 
PHP Frameworks & Introduction to CodeIgniter
PHP Frameworks & Introduction to CodeIgniterPHP Frameworks & Introduction to CodeIgniter
PHP Frameworks & Introduction to CodeIgniter
 
Web application development using zend framework
Web application development using zend frameworkWeb application development using zend framework
Web application development using zend framework
 
Symantec I3 Presentation
Symantec I3 PresentationSymantec I3 Presentation
Symantec I3 Presentation
 
Introduction To CodeIgniter
Introduction To CodeIgniterIntroduction To CodeIgniter
Introduction To CodeIgniter
 
Spring
SpringSpring
Spring
 
Codeigniter, a MVC framework for beginner
Codeigniter, a MVC framework for beginnerCodeigniter, a MVC framework for beginner
Codeigniter, a MVC framework for beginner
 
Admin Panel
Admin Panel Admin Panel
Admin Panel
 
JEE Programming - 03 Model View Controller
JEE Programming - 03 Model View ControllerJEE Programming - 03 Model View Controller
JEE Programming - 03 Model View Controller
 

En vedette

Putusan MA terkait konspirasi bank dengan nasabah (Piercing the Corporate Veil)
Putusan MA terkait konspirasi bank dengan nasabah (Piercing the Corporate Veil)Putusan MA terkait konspirasi bank dengan nasabah (Piercing the Corporate Veil)
Putusan MA terkait konspirasi bank dengan nasabah (Piercing the Corporate Veil)Umar Azmar MF
 
Year 7 spellings spring term 2011 12
Year 7 spellings spring term  2011 12Year 7 spellings spring term  2011 12
Year 7 spellings spring term 2011 12aco20
 
O apostolo dos pés sangrentos
O apostolo dos pés sangrentosO apostolo dos pés sangrentos
O apostolo dos pés sangrentosiriberto
 
Let’s learn spanish!
Let’s learn spanish!Let’s learn spanish!
Let’s learn spanish!nicoledenzel6
 
Year 7 punctuation summer term 2011 12
Year 7 punctuation summer term  2011 12Year 7 punctuation summer term  2011 12
Year 7 punctuation summer term 2011 12aco20
 
Dampak penerapan trips agreement terhadap masyarakat komunal indonesia
Dampak penerapan trips agreement terhadap masyarakat komunal indonesiaDampak penerapan trips agreement terhadap masyarakat komunal indonesia
Dampak penerapan trips agreement terhadap masyarakat komunal indonesiaUmar Azmar MF
 
Year 7 spellings Autumn Term 2011 - 12
Year 7 spellings Autumn Term  2011 - 12Year 7 spellings Autumn Term  2011 - 12
Year 7 spellings Autumn Term 2011 - 12aco20
 
Javascript! That's sick! Modules, AMD, Require.js
Javascript! That's sick! Modules, AMD, Require.jsJavascript! That's sick! Modules, AMD, Require.js
Javascript! That's sick! Modules, AMD, Require.jsStanislav Chistenko
 

En vedette (13)

Passive Voice
Passive VoicePassive Voice
Passive Voice
 
Parts of speech
Parts of speechParts of speech
Parts of speech
 
Cyberbulling!
Cyberbulling!Cyberbulling!
Cyberbulling!
 
Putusan MA terkait konspirasi bank dengan nasabah (Piercing the Corporate Veil)
Putusan MA terkait konspirasi bank dengan nasabah (Piercing the Corporate Veil)Putusan MA terkait konspirasi bank dengan nasabah (Piercing the Corporate Veil)
Putusan MA terkait konspirasi bank dengan nasabah (Piercing the Corporate Veil)
 
Year 7 spellings spring term 2011 12
Year 7 spellings spring term  2011 12Year 7 spellings spring term  2011 12
Year 7 spellings spring term 2011 12
 
O apostolo dos pés sangrentos
O apostolo dos pés sangrentosO apostolo dos pés sangrentos
O apostolo dos pés sangrentos
 
Let’s learn spanish!
Let’s learn spanish!Let’s learn spanish!
Let’s learn spanish!
 
Year 7 punctuation summer term 2011 12
Year 7 punctuation summer term  2011 12Year 7 punctuation summer term  2011 12
Year 7 punctuation summer term 2011 12
 
Dampak penerapan trips agreement terhadap masyarakat komunal indonesia
Dampak penerapan trips agreement terhadap masyarakat komunal indonesiaDampak penerapan trips agreement terhadap masyarakat komunal indonesia
Dampak penerapan trips agreement terhadap masyarakat komunal indonesia
 
Past Simple Tense
Past Simple TensePast Simple Tense
Past Simple Tense
 
Year 7 spellings Autumn Term 2011 - 12
Year 7 spellings Autumn Term  2011 - 12Year 7 spellings Autumn Term  2011 - 12
Year 7 spellings Autumn Term 2011 - 12
 
Javascript! That's sick! Modules, AMD, Require.js
Javascript! That's sick! Modules, AMD, Require.jsJavascript! That's sick! Modules, AMD, Require.js
Javascript! That's sick! Modules, AMD, Require.js
 
Asertif diri
Asertif diriAsertif diri
Asertif diri
 

Similaire à P H P Framework

A Good PHP Framework For Beginners Like Me!
A Good PHP Framework For Beginners Like Me!A Good PHP Framework For Beginners Like Me!
A Good PHP Framework For Beginners Like Me!Muhammad Ghazali
 
Building Restful Web App Rapidly in CakePHP
Building Restful Web App Rapidly in CakePHPBuilding Restful Web App Rapidly in CakePHP
Building Restful Web App Rapidly in CakePHPEdureka!
 
Yii web application development company
Yii web application development companyYii web application development company
Yii web application development companyEnuke Software Pvt Ltd
 
Symfony framework-An overview and usability for web development
Symfony framework-An overview and usability for web developmentSymfony framework-An overview and usability for web development
Symfony framework-An overview and usability for web developmentifour_bhavesh
 
Rapid Development With CakePHP
Rapid Development With CakePHPRapid Development With CakePHP
Rapid Development With CakePHPEdureka!
 
Why CakePHP Is Superior to Other Web Frameworks! Examine Its Pros & Cons For ...
Why CakePHP Is Superior to Other Web Frameworks! Examine Its Pros & Cons For ...Why CakePHP Is Superior to Other Web Frameworks! Examine Its Pros & Cons For ...
Why CakePHP Is Superior to Other Web Frameworks! Examine Its Pros & Cons For ...JPLoft Solutions
 
Google App Engine - Overview #1
Google App Engine - Overview #1Google App Engine - Overview #1
Google App Engine - Overview #1Kay Kim
 
ASP.NET Presentation
ASP.NET PresentationASP.NET Presentation
ASP.NET PresentationRasel Khan
 
Yii Training session-1
Yii Training session-1Yii Training session-1
Yii Training session-1AkkiCredencys
 
Application development using Zend Framework
Application development using Zend FrameworkApplication development using Zend Framework
Application development using Zend FrameworkMahmud Ahsan
 
main report on restaurant
main report on restaurantmain report on restaurant
main report on restaurantNeeraj Kumar
 
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 webapplicationsGiuliano Iacobelli
 
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
 

Similaire à P H P Framework (20)

Fwdtechseminars
FwdtechseminarsFwdtechseminars
Fwdtechseminars
 
yii framework
yii frameworkyii framework
yii framework
 
CODE IGNITER
CODE IGNITERCODE IGNITER
CODE IGNITER
 
A Good PHP Framework For Beginners Like Me!
A Good PHP Framework For Beginners Like Me!A Good PHP Framework For Beginners Like Me!
A Good PHP Framework For Beginners Like Me!
 
Building Restful Web App Rapidly in CakePHP
Building Restful Web App Rapidly in CakePHPBuilding Restful Web App Rapidly in CakePHP
Building Restful Web App Rapidly in CakePHP
 
Yii web application development company
Yii web application development companyYii web application development company
Yii web application development company
 
Mobile web development
Mobile web developmentMobile web development
Mobile web development
 
Introduce Yii
Introduce YiiIntroduce Yii
Introduce Yii
 
Symfony framework-An overview and usability for web development
Symfony framework-An overview and usability for web developmentSymfony framework-An overview and usability for web development
Symfony framework-An overview and usability for web development
 
Rapid Development With CakePHP
Rapid Development With CakePHPRapid Development With CakePHP
Rapid Development With CakePHP
 
Why CakePHP Is Superior to Other Web Frameworks! Examine Its Pros & Cons For ...
Why CakePHP Is Superior to Other Web Frameworks! Examine Its Pros & Cons For ...Why CakePHP Is Superior to Other Web Frameworks! Examine Its Pros & Cons For ...
Why CakePHP Is Superior to Other Web Frameworks! Examine Its Pros & Cons For ...
 
Php Web Frameworks
Php Web FrameworksPhp Web Frameworks
Php Web Frameworks
 
Google App Engine - Overview #1
Google App Engine - Overview #1Google App Engine - Overview #1
Google App Engine - Overview #1
 
ASP.NET Presentation
ASP.NET PresentationASP.NET Presentation
ASP.NET Presentation
 
Yii Training session-1
Yii Training session-1Yii Training session-1
Yii Training session-1
 
Application development using Zend Framework
Application development using Zend FrameworkApplication development using Zend Framework
Application development using Zend Framework
 
main report on restaurant
main report on restaurantmain report on restaurant
main report on restaurant
 
PHP Frameworks
PHP FrameworksPHP Frameworks
PHP Frameworks
 
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
 
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
 

Dernier

Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 

Dernier (20)

Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 

P H P Framework

  • 2. Demo: Creating a full flourished and fullyfunctional web application in 2 minutes Contents Whatis a Framework? Architecture Model viewcontroller(MVC) Features Introducing Yii 2
  • 3.
  • 4. Provids a basic structure for which to build the web applications.
  • 5. Helps to promote rapid application development (RAD).
  • 6.
  • 7. An architectural pattern in programming that isolates business logic from the UI.
  • 8. breaks up the development process of an application - can work on individual elements while others are unaffected
  • 9.
  • 10. the availability of PHP frameworks is extensive
  • 11. Save time and effort
  • 12. offer greater simplicity as well stability
  • 13. tools for “weak” programmers to tighten up their coding
  • 14.
  • 15. What is ?? Yii 7 The name Yii (pronounced as /ji:/) stands for easy, efficient and extensible. High-performance component-based PHP framework for developing large-scaleWeb applications. Requires Web server supporting PHP 5.1.0 or higher.
  • 16. Why? Yii 8 Generic Web programming framework - Can be used for developing virtually all sorts of Web apps, offer greater simplicity & stability Efficient, feature-rich and clearly-documented Light-weighted and equipped with sophisticated caching solutions Especially suitable for developing high-traffic applications, such as portals, forums etc.
  • 17. Why? Contd.. Yii 9 Yes it is !!!
  • 18. 10 Index.php Yii Infrastructure request 1 2 3 application 4 5 urlManager controller 5. The application creates an instance of the requested controller to further handle the user request. 6. The action reads a Post model whose id is 1 from the database. 1. A user makes a request with the URL & the server handles it by executing the bootscrap script index.php 3. The application obtains the detailed user request information from an application component named requet 2. The bootscrap script creates an application instance and runs it 4. The application determines the requested controller and action with the help of an application component named urlManager. 7. The action renders a view named show with the post model. 8. The view reads and displays the attributes of the post model. 9. The view executes some widgets (if available). 10. The view rendering result is embedded in a layout. filters 11. The action completes the view rendering and displays the result to the user. 11 action 6 The controller determines that the action show reffers to a method named actionShow in the controller class. model 7 8 It then creates and executes Filters associated with this action. The action is executed only if it is allowed by the filters. View 9 10 Layout widget
  • 19. Getting Started Two Steps Installation : Download Yii Framework from yiiframework.com Unpack the Yii release file to a Web-accessible directory Requires Web server supporting PHP 5.1.0 + Tested with Apache HTTP server on Windows and Linux operating systems Check It- http://hostname/path/to/yii/framework/requirements/index.php 11
  • 20. Creating First Yii Application Assume that YiiRoot is the directory where Yii is installed. Run yiic on the command line as follows: % YiiRoot/framework/yiicwebappWebRoot/testdrive test drive our first Yii application http://hostname/testdrive/index.php 12
  • 21. Steps for creating a blog application Install Yii Create an application Framework Application Workflow Requirement Analysis Overall DB Design Initial Prototyping and building system Create Database Establish Database Connection Scaffolding – CRUD Authenticating User 13
  • 22. Connecting to Database To use a database, we first need to tell the application how to connect to it. This is done by changing the application configuration file WebRoot/testdrive/protected/config/main.php return array( ......'components'=>array( ......'db'=>array( 'connectionString'=>'sqlite:protected/data/source.db', ), ), ...... ); 14
  • 23. Implementing application Create, Read, Update and Delete yiic tool helps to generate the needed code. This process is also known as scaffolding. use the shell command of yiic to interact with our newly created application Just Type …yiipath/CRUD (Model Name) in the command console CRUD 15
  • 24. References:- 16 http://www.yiiframework.com/doc/ http://www.yiiframework.com/wiki/ http://www.amazon.com/gp/product/1847199585?ie=UTF8&tag=gii20f-20&linkCode=xm2&camp=1789&creativeASIN=1847199585 http://en.wikipedia.org/wiki/Yii http://yiidesign.com/ http://www.phpframeworks.com/php-frameworks/index.php?id=19 http://code.google.com/p/yii/ Demo referred from the Video Of Mr. RohitPradhan on YOUTUBE
  • 25. Animesh Kumar (970014) MCA 4thSem 17

Notes de l'éditeur

  1. http://localhost//yii/framework/requirements/index.phpYiiroot/framework/yiicwebappwebroot/testdrive
  2. yiicwebapp c:\\xampp\\htdocs\\blog
  3. yiicwebapp c:\\xampplite\\htdocs\\blog