SlideShare a Scribd company logo
Web Application Framework
Demo: Creating a full flourished and fullyfunctional web application in  2 minutesContentsWhatis a Framework? ArchitectureModel viewcontroller(MVC)FeaturesIntroducing Yii2
What is a PHP Framework?3Often coding in PHP can get rather monotonous and repetitive. 		- Use PHP framework Streamlines the development of web applications
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 codeModel View Controller (MVC)4General idea behind the workings of a PHP framework
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?5for speeding up the development process
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 teamsPHP Framework - Comparison6
What is         ??Yii7The 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?Yii8Generic Web programming framework		- Can be used for developing virtually all sorts of Web apps, offer greater simplicity & stabilityEfficient, feature-rich and clearly-documentedLight-weighted and equipped with sophisticated caching solutionsEspecially suitable for developing high-traffic applications, such as portals, forums etc.
Why?             Contd..Yii9Yes it is !!!

More Related Content

PPSX
Yii framework
PPT
Introduction to YII framework
PPTX
Yii framework
PPTX
Why choose Yii framework?
PDF
Yii Framework Security
PPT
Microsoft Tech Ed 2006 #1
PPT
Microsoft Tech Ed 2006 #2
KEY
Yii Framework
Yii framework
Introduction to YII framework
Yii framework
Why choose Yii framework?
Yii Framework Security
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #2
Yii Framework

What's hot (20)

PDF
CodeIgniter - PHP MVC Framework by silicongulf.com
PPT
Yii php framework_honey
PPT
Yii framework
PPTX
A site in 15 minutes with yii
PPT
IIS 6.0 and asp.net
PDF
Know about cake php framework with vertexplus
PDF
Php framework
PPT
PHP Frameworks and CodeIgniter
PPTX
Introduction to MVC Web Framework with CodeIgniter
PPTX
Php Framework
PPT
Php Frameworks
PPT
I3 - for Web & J2EE
PPTX
PHP Frameworks & Introduction to CodeIgniter
PPTX
Web application development using zend framework
PPT
Symantec I3 Presentation
PPT
Introduction To CodeIgniter
PPTX
Spring
PPS
Codeigniter, a MVC framework for beginner
DOCX
PDF
JEE Programming - 03 Model View Controller
CodeIgniter - PHP MVC Framework by silicongulf.com
Yii php framework_honey
Yii framework
A site in 15 minutes with yii
IIS 6.0 and asp.net
Know about cake php framework with vertexplus
Php framework
PHP Frameworks and CodeIgniter
Introduction to MVC Web Framework with CodeIgniter
Php Framework
Php Frameworks
I3 - for Web & J2EE
PHP Frameworks & Introduction to CodeIgniter
Web application development using zend framework
Symantec I3 Presentation
Introduction To CodeIgniter
Spring
Codeigniter, a MVC framework for beginner
JEE Programming - 03 Model View Controller
Ad

Viewers also liked (13)

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

Similar to P H P Framework (20)

PDF
Introduce Yii
PPTX
yii framework
PPTX
Yii Training session-1
ZIP
Fwdtechseminars
PDF
Get things done with Yii - quickly build webapplications
PPTX
Introduction to Yii & performance comparison with Drupal
PDF
Folio3 - An Introduction to PHP Yii
PPTX
PPTX
PDF
Yii vs codeigneiter
PPT
Yii workshop
PPTX
Php Web Frameworks
ODP
Yii Framework - Do we really need another php framework?
PDF
Web Application Development with Yii and PHP 2nd Revised ed. Edition Jeffrey ...
PPT
10 reasons to choose the yii framework
PDF
Web Application Development with Yii and PHP 2nd Revised ed. Edition Jeffrey ...
PDF
Yii, frameworks and where PHP is heading to
PPTX
Yii Development
PPTX
PHP framework difference
Introduce Yii
yii framework
Yii Training session-1
Fwdtechseminars
Get things done with Yii - quickly build webapplications
Introduction to Yii & performance comparison with Drupal
Folio3 - An Introduction to PHP Yii
Yii vs codeigneiter
Yii workshop
Php Web Frameworks
Yii Framework - Do we really need another php framework?
Web Application Development with Yii and PHP 2nd Revised ed. Edition Jeffrey ...
10 reasons to choose the yii framework
Web Application Development with Yii and PHP 2nd Revised ed. Edition Jeffrey ...
Yii, frameworks and where PHP is heading to
Yii Development
PHP framework difference

Recently uploaded (20)

PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
sap open course for s4hana steps from ECC to s4
PDF
cuic standard and advanced reporting.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Approach and Philosophy of On baking technology
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Electronic commerce courselecture one. Pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
Diabetes mellitus diagnosis method based random forest with bat algorithm
Unlocking AI with Model Context Protocol (MCP)
Mobile App Security Testing_ A Comprehensive Guide.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Network Security Unit 5.pdf for BCA BBA.
Encapsulation_ Review paper, used for researhc scholars
sap open course for s4hana steps from ECC to s4
cuic standard and advanced reporting.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Understanding_Digital_Forensics_Presentation.pptx
Approach and Philosophy of On baking technology
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Advanced methodologies resolving dimensionality complications for autism neur...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Electronic commerce courselecture one. Pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
The Rise and Fall of 3GPP – Time for a Sabbatical?

P H P Framework

  • 2. Demo: Creating a full flourished and fullyfunctional web application in 2 minutesContentsWhatis a Framework? ArchitectureModel viewcontroller(MVC)FeaturesIntroducing Yii2
  • 3. What is a PHP Framework?3Often coding in PHP can get rather monotonous and repetitive. - Use PHP framework Streamlines the development of web applications
  • 4. Provids a basic structure for which to build the web applications.
  • 5. Helps to promote rapid application development (RAD).
  • 6. Allows more time in creating the actual web application, instead of writing repetitive codeModel View Controller (MVC)4General idea behind the workings of a PHP framework
  • 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. PHP Framework - Why?5for speeding up the development process
  • 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. large support teamsPHP Framework - Comparison6
  • 15. What is ??Yii7The 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?Yii8Generic Web programming framework - Can be used for developing virtually all sorts of Web apps, offer greater simplicity & stabilityEfficient, feature-rich and clearly-documentedLight-weighted and equipped with sophisticated caching solutionsEspecially suitable for developing high-traffic applications, such as portals, forums etc.
  • 17. Why? Contd..Yii9Yes it is !!!
  • 18. 10Index.phpYiiInfrastructurerequest123application45urlManagercontroller5. 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.php3. The application obtains the detailed user request information from an application component named requet2. The bootscrap script creates an application instance and runs it4. 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.filters11. The action completes the view rendering and displays the result to the user.11action6The controller determines that the action show reffers to a method named actionShow in the controller class.model78It then creates and executes Filters associated with this action.The action is executed only if it is allowed by the filters.View910Layoutwidget
  • 19. Getting StartedTwo Steps Installation :Download Yii Framework from yiiframework.comUnpack the Yii release file to a Web-accessible directoryRequires Web server supporting PHP 5.1.0 +Tested with Apache HTTP server on Windows and Linux operating systemsCheck It- http://hostname/path/to/yii/framework/requirements/index.php11
  • 20. Creating First Yii ApplicationAssume that YiiRoot is the directory where Yii is installed.Run yiic on the command line as follows:% YiiRoot/framework/yiicwebappWebRoot/testdrivetest drive our first Yii applicationhttp://hostname/testdrive/index.php12
  • 21. Steps for creating a blog applicationInstall YiiCreate an application FrameworkApplication WorkflowRequirement AnalysisOverall DB DesignInitial Prototyping and building systemCreate DatabaseEstablish Database ConnectionScaffolding – CRUDAuthenticating User13
  • 22. Connecting to DatabaseTo 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.phpreturn array( ......'components'=>array( ......'db'=>array( 'connectionString'=>'sqlite:protected/data/source.db', ), ), ...... );14
  • 23. Implementing applicationCreate, Read, Update and Deleteyiic 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 applicationJust Type …yiipath/CRUD (Model Name) in the command consoleCRUD15

Editor's Notes

  • #12: http://localhost//yii/framework/requirements/index.phpYiiroot/framework/yiicwebappwebroot/testdrive
  • #13: yiicwebapp c:\\xampp\\htdocs\\blog
  • #14: yiicwebapp c:\\xampplite\\htdocs\\blog