SlideShare ist ein Scribd-Unternehmen logo
1 von 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 !!!

Weitere ähnliche Inhalte

Was ist angesagt?

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
Pongsakorn U-chupala
 
PHP Frameworks & Introduction to CodeIgniter
PHP Frameworks & Introduction to CodeIgniterPHP Frameworks & Introduction to CodeIgniter
PHP Frameworks & Introduction to CodeIgniter
Jamshid Hashimi
 
Admin Panel
Admin Panel Admin Panel

Was ist angesagt? (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
 

Andere mochten auch (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
 

Ähnlich wie P H P Framework

Ähnlich wie 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
 

Kürzlich hochgeladen

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

Kürzlich hochgeladen (20)

Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
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
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
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
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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
 
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
 
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...
 
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...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
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
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
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
 

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

Hinweis der Redaktion

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