SlideShare uma empresa Scribd logo
1 de 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 !!!

Mais conteúdo relacionado

Mais procurados

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

Mais procurados (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
 

Destaque (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
 

Semelhante a P H P Framework

Semelhante a 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
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
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
 
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...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
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...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
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...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 

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

Notas do Editor

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