SlideShare une entreprise Scribd logo
1  sur  21
Télécharger pour lire hors ligne
PHP Frameworks
March 19, 2015
Why use a framework?
• Common features of web apps are created by the framework so
you don’t have to code them yourself
• Provides predictable locations for the code you write (models are
in, duh, the /models directory)
• Enforcing standards
• Allegedly “faster” and “better”
• Your boss or client tells you to
• All the other code at work is written with it
• You enjoy it
YOU ENJOY IT!!!
• Unless you need to follow a coding standard that
determines your framework selection (ie, “We’re
a Yii shop, by golly!”), personal preference
should be your primary selection criteria
• You will code “better” and “faster” if you use tools
that you like
• Your code will be “better” and “faster” if you use
tools that you like
That’s why we solicited help from people with
experience using particular frameworks for today’s talk.
Nothing you read on the internet will help you
understand what it’s like to develop with a given
framework as well as hearing about it first-hand.
So. Many. Choices.
• There are, no kidding, dozens of PHP frameworks.
• They all make similar claims:
• “fast”, “easy”, “secure”, “robust”, “use only those features you
need”, “small footprint”, “great documentation”, “vibrant user
community”
• The one important claim seems to be “modern”, but I couldn’t find a
good definition of that
• Requires PHP 5.3+?
• Templates?
• ActiveRecord
In my googling, these claims
stood out:
• Laravel is sexy
• Phalcon is fast
• Zend is slow
• There are lots of webpages that list the top X popular PHP
frameworks, but few contain more detail than you can get from the
framework homepage (I hate you, Buzzfeed. You ruined the internet.)
• Notable exception: http://www.sitepoint.com/best-php-
frameworks-2014/
• Forums seem to be the most prolific source of personal opinions
about frameworks…imagine that.
The 8 PHP Frameworks You
Have To Learn RIGHT NOW
• Laravel
• Yii
• Symfony
• Silex
• CakePHP
• CodeIgniter
• Phalcon
• Zend
Laravel
(Skaught Bowden)
• http://laravel.com/
• Combines the best tools and philosophies from various projects, to make development
faster, funner, and eleganter.
• Symfony packages deep under the hood, where you will likely never see them.
• Eloquent ORM for a very Ruby on Rails-ish data abstraction experience.
• Artisan CLI, notably: access to models. C&P commands into your tests & voilà!
• Database migrations (with improved rollbacks in Laravel 5)
• Composer dependency manager. Don't like Eloquent? Plug in your own ORM!
• You can override or replace almost any component!
• Homestead (pre-fab Vagrant VM) and Forge (Heroku-style hosting) = RAPID.
• LaraCon 2015 will be held in exotic Louisville, KY on Aug. 11–12!
Laravel
Yii
(Christopher Emmick)
Symfony
(Christopher Davis)
Silex
(Christopher Davis)
CakePHP
(Anyone?)
CakePHP
• http://cakephp.org/
• 2 out of 2 PHP user group organizers think the website is just
darling
• Inspired by Ruby on Rails and will feel very familiar to RoR
developers
• Was the first MVC framework for PHP
• V3 is a significant overhaul, making CakePHP more “modern”
• Has been criticized for poor documentation and lack of help for
newbies, but that seems to be changing (as evidenced by its
super-friendly website design)
CodeIgniter
(Anyone?)
CodeIgniter
• http://www.codeigniter.com/
• Was a top contender in the past
• First a licensing model change and then an
ownership change may have destabilized the
product in the collective mind
Phalcon
(Anyone?)
Phalcon
• Unique among platforms in that it is a C extension. You need
to compile it into PHP (or download a suitably compiled
binary, which makes things complicated on Windows)
• Wicked fast, since the framework components are inside the
PHP executable
• Excellent choice for high-volume applications that will
benefit from its speed
• Poor choice for hosted environments where you don’t control
the version of PHP or you share resources with other tenants
Zend
(Anyone?)
Zend
• http://framework.zend.com/
• Began life as part of the PHP language, was created by core contributors to
the PHP language
• Well-established user base (perhaps skewed to enterprise level
development)
• Thriving community, excellent documentation, active development (v3 is in
the pipeline)
• Historically, has been criticized for having a steep learning curve
• Corporate backing - Zend is maintained by the Zend company, which
provides PHP application development products and services (and therefore
may be a good choice if you plan to use those products and services)
Summary
• Not all PHP frameworks are created equal, but
they share many common features
• So, your choice might have little to do with overall
feature set and lots to do with one particular thing
a framework does well or a community
characteristic, like an IRC channel for instant help
• Distribution license of the framework may matter
for your applications (MIT, BSD, etc)

Contenu connexe

Tendances

EclipseCon Europe 2011
EclipseCon Europe 2011EclipseCon Europe 2011
EclipseCon Europe 2011
Sigasi
 
Learn PHP Lacture1
Learn PHP Lacture1Learn PHP Lacture1
Learn PHP Lacture1
ADARSH BHATT
 

Tendances (20)

Whats next in templating
Whats next in templatingWhats next in templating
Whats next in templating
 
CBDW2014 - Down the RabbitMQ hole with ColdFusion
CBDW2014 - Down the RabbitMQ hole with ColdFusionCBDW2014 - Down the RabbitMQ hole with ColdFusion
CBDW2014 - Down the RabbitMQ hole with ColdFusion
 
Polyglot and Functional Programming (OSCON 2012)
Polyglot and Functional Programming (OSCON 2012)Polyglot and Functional Programming (OSCON 2012)
Polyglot and Functional Programming (OSCON 2012)
 
Polyglot and functional (Devoxx Nov/2011)
Polyglot and functional (Devoxx Nov/2011)Polyglot and functional (Devoxx Nov/2011)
Polyglot and functional (Devoxx Nov/2011)
 
Modern Java Concurrency (OSCON 2012)
Modern Java Concurrency (OSCON 2012)Modern Java Concurrency (OSCON 2012)
Modern Java Concurrency (OSCON 2012)
 
Making CLI app in ruby
Making CLI app in rubyMaking CLI app in ruby
Making CLI app in ruby
 
Go - A Key Language in Enterprise Application Development?
Go - A Key Language in Enterprise Application Development?Go - A Key Language in Enterprise Application Development?
Go - A Key Language in Enterprise Application Development?
 
Top 10 php frameworks in 2021
Top 10 php frameworks in 2021Top 10 php frameworks in 2021
Top 10 php frameworks in 2021
 
Strategic Modernization with PHP on IBM i
Strategic Modernization with PHP on IBM iStrategic Modernization with PHP on IBM i
Strategic Modernization with PHP on IBM i
 
Lessons learned from building Eclipse-based add-ons for commercial modeling t...
Lessons learned from building Eclipse-based add-ons for commercial modeling t...Lessons learned from building Eclipse-based add-ons for commercial modeling t...
Lessons learned from building Eclipse-based add-ons for commercial modeling t...
 
EclipseCon Europe 2011
EclipseCon Europe 2011EclipseCon Europe 2011
EclipseCon Europe 2011
 
Ruby and Security
Ruby and SecurityRuby and Security
Ruby and Security
 
PHP, Cloud And Microsoft Symfony Live 2010
PHP,  Cloud And  Microsoft    Symfony  Live 2010PHP,  Cloud And  Microsoft    Symfony  Live 2010
PHP, Cloud And Microsoft Symfony Live 2010
 
The Characteristics of a Successful SPA
The Characteristics of a Successful SPAThe Characteristics of a Successful SPA
The Characteristics of a Successful SPA
 
From java-to-ruby-book-summary
From java-to-ruby-book-summaryFrom java-to-ruby-book-summary
From java-to-ruby-book-summary
 
Create a welcoming development environment on IBM i
Create a welcoming development environment on IBM iCreate a welcoming development environment on IBM i
Create a welcoming development environment on IBM i
 
JSR 335 / java 8 - update reference
JSR 335 / java 8 - update referenceJSR 335 / java 8 - update reference
JSR 335 / java 8 - update reference
 
Learn PHP Lacture1
Learn PHP Lacture1Learn PHP Lacture1
Learn PHP Lacture1
 
Web services on IBM i with PHP and Zend Framework
Web services on IBM i with PHP and Zend FrameworkWeb services on IBM i with PHP and Zend Framework
Web services on IBM i with PHP and Zend Framework
 
Introduction to Java 7 (OSCON 2012)
Introduction to Java 7 (OSCON 2012)Introduction to Java 7 (OSCON 2012)
Introduction to Java 7 (OSCON 2012)
 

En vedette

Bridging the Gap - Laracon 2013
Bridging the Gap - Laracon 2013Bridging the Gap - Laracon 2013
Bridging the Gap - Laracon 2013
Ben Corlett
 

En vedette (19)

Introduction to py2neo
Introduction to py2neoIntroduction to py2neo
Introduction to py2neo
 
Principles of PHP Package Design - Laracon Europe (Amsterdam) 2014
Principles of PHP Package Design - Laracon Europe (Amsterdam) 2014Principles of PHP Package Design - Laracon Europe (Amsterdam) 2014
Principles of PHP Package Design - Laracon Europe (Amsterdam) 2014
 
Bridging the Gap - Laracon 2013
Bridging the Gap - Laracon 2013Bridging the Gap - Laracon 2013
Bridging the Gap - Laracon 2013
 
An Introduction to the Laravel Framework (AFUP Forum PHP 2014)
An Introduction to the Laravel Framework (AFUP Forum PHP 2014)An Introduction to the Laravel Framework (AFUP Forum PHP 2014)
An Introduction to the Laravel Framework (AFUP Forum PHP 2014)
 
Service-Oriented Architecture
Service-Oriented ArchitectureService-Oriented Architecture
Service-Oriented Architecture
 
Principles of PHP Package Design - Dutch PHP Conference 2014
Principles of PHP Package Design - Dutch PHP Conference 2014Principles of PHP Package Design - Dutch PHP Conference 2014
Principles of PHP Package Design - Dutch PHP Conference 2014
 
Stop multiplying by 4 Laracon
Stop multiplying by 4 LaraconStop multiplying by 4 Laracon
Stop multiplying by 4 Laracon
 
Schema Design with MongoDB
Schema Design with MongoDBSchema Design with MongoDB
Schema Design with MongoDB
 
What's New In Laravel 5
What's New In Laravel 5What's New In Laravel 5
What's New In Laravel 5
 
Lean publishing "Principles of Package Design"
Lean publishing "Principles of Package Design"Lean publishing "Principles of Package Design"
Lean publishing "Principles of Package Design"
 
Laravel.IO A Use-Case Architecture
Laravel.IO A Use-Case ArchitectureLaravel.IO A Use-Case Architecture
Laravel.IO A Use-Case Architecture
 
Laravel 5 In Depth
Laravel 5 In DepthLaravel 5 In Depth
Laravel 5 In Depth
 
Hackathon scality holberton seagate 2016 v5
Hackathon scality holberton seagate 2016 v5Hackathon scality holberton seagate 2016 v5
Hackathon scality holberton seagate 2016 v5
 
Universal JavaScript
Universal JavaScriptUniversal JavaScript
Universal JavaScript
 
Adversarial Post-Ex: Lessons From The Pros
Adversarial Post-Ex: Lessons From The ProsAdversarial Post-Ex: Lessons From The Pros
Adversarial Post-Ex: Lessons From The Pros
 
Inside PyCon JP 2016
Inside PyCon JP 2016Inside PyCon JP 2016
Inside PyCon JP 2016
 
SXSW 2016 takeaways
SXSW 2016 takeawaysSXSW 2016 takeaways
SXSW 2016 takeaways
 
SXSW 2016: The Need To Knows
SXSW 2016: The Need To KnowsSXSW 2016: The Need To Knows
SXSW 2016: The Need To Knows
 
Mobile Is Eating the World (2016)
Mobile Is Eating the World (2016)Mobile Is Eating the World (2016)
Mobile Is Eating the World (2016)
 

Similaire à PHP Frameworks Review - Mar 19 2015

My cool new Slideshow!
My cool new Slideshow!My cool new Slideshow!
My cool new Slideshow!
netzwelt12345
 
Continuous Integration In A PHP World
Continuous Integration In A PHP WorldContinuous Integration In A PHP World
Continuous Integration In A PHP World
Idaf_1er
 

Similaire à PHP Frameworks Review - Mar 19 2015 (20)

Presentation 1 Web--dev
Presentation 1 Web--devPresentation 1 Web--dev
Presentation 1 Web--dev
 
Outsourcing php india
Outsourcing php indiaOutsourcing php india
Outsourcing php india
 
My cool new Slideshow!
My cool new Slideshow!My cool new Slideshow!
My cool new Slideshow!
 
Ria Applications And PHP
Ria Applications And PHPRia Applications And PHP
Ria Applications And PHP
 
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
 
Php
PhpPhp
Php
 
Introduction to PHP - SDPHP
Introduction to PHP - SDPHPIntroduction to PHP - SDPHP
Introduction to PHP - SDPHP
 
A Tale of Two Toolkits
A Tale of Two ToolkitsA Tale of Two Toolkits
A Tale of Two Toolkits
 
Introduction To Web Development & The New Digital Workplace
Introduction To Web Development & The New Digital WorkplaceIntroduction To Web Development & The New Digital Workplace
Introduction To Web Development & The New Digital Workplace
 
Platform Selection
Platform SelectionPlatform Selection
Platform Selection
 
PHP framework difference
PHP framework differencePHP framework difference
PHP framework difference
 
What is PHP?
What is PHP?What is PHP?
What is PHP?
 
Php internal architecture
Php internal architecturePhp internal architecture
Php internal architecture
 
PHP Web Development Frameworks & Advantages
PHP Web Development Frameworks & AdvantagesPHP Web Development Frameworks & Advantages
PHP Web Development Frameworks & Advantages
 
Feature and Compare between PHP Frameworks
Feature and Compare between PHP FrameworksFeature and Compare between PHP Frameworks
Feature and Compare between PHP Frameworks
 
But We're Already Open Source! Why Would I Want To Bring My Code To Apache?
But We're Already Open Source! Why Would I Want To Bring My Code To Apache?But We're Already Open Source! Why Would I Want To Bring My Code To Apache?
But We're Already Open Source! Why Would I Want To Bring My Code To Apache?
 
Advanced PHP Web Development Tools in 2015
Advanced PHP Web Development Tools in 2015Advanced PHP Web Development Tools in 2015
Advanced PHP Web Development Tools in 2015
 
Scaling with Symfony - PHP UK
Scaling with Symfony - PHP UKScaling with Symfony - PHP UK
Scaling with Symfony - PHP UK
 
Screw HTML5, make cool shit with AIR
Screw HTML5, make cool shit with AIRScrew HTML5, make cool shit with AIR
Screw HTML5, make cool shit with AIR
 
Continuous Integration In A PHP World
Continuous Integration In A PHP WorldContinuous Integration In A PHP World
Continuous Integration In A PHP World
 

Dernier

Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Chandigarh Call girls 9053900678 Call girls in Chandigarh
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
imonikaupta
 
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
@Chandigarh #call #Girls 9053900678 @Call #Girls in @Punjab 9053900678
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
@Chandigarh #call #Girls 9053900678 @Call #Girls in @Punjab 9053900678
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
ydyuyu
 
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
nirzagarg
 
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
nilamkumrai
 

Dernier (20)

Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
 
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
 
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
 
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
 
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort ServiceBusty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
 
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls DubaiDubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
 
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
 
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
 
Al Barsha Night Partner +0567686026 Call Girls Dubai
Al Barsha Night Partner +0567686026 Call Girls  DubaiAl Barsha Night Partner +0567686026 Call Girls  Dubai
Al Barsha Night Partner +0567686026 Call Girls Dubai
 
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
 
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
 

PHP Frameworks Review - Mar 19 2015

  • 2. Why use a framework? • Common features of web apps are created by the framework so you don’t have to code them yourself • Provides predictable locations for the code you write (models are in, duh, the /models directory) • Enforcing standards • Allegedly “faster” and “better” • Your boss or client tells you to • All the other code at work is written with it • You enjoy it
  • 3. YOU ENJOY IT!!! • Unless you need to follow a coding standard that determines your framework selection (ie, “We’re a Yii shop, by golly!”), personal preference should be your primary selection criteria • You will code “better” and “faster” if you use tools that you like • Your code will be “better” and “faster” if you use tools that you like
  • 4. That’s why we solicited help from people with experience using particular frameworks for today’s talk. Nothing you read on the internet will help you understand what it’s like to develop with a given framework as well as hearing about it first-hand.
  • 5. So. Many. Choices. • There are, no kidding, dozens of PHP frameworks. • They all make similar claims: • “fast”, “easy”, “secure”, “robust”, “use only those features you need”, “small footprint”, “great documentation”, “vibrant user community” • The one important claim seems to be “modern”, but I couldn’t find a good definition of that • Requires PHP 5.3+? • Templates? • ActiveRecord
  • 6. In my googling, these claims stood out: • Laravel is sexy • Phalcon is fast • Zend is slow • There are lots of webpages that list the top X popular PHP frameworks, but few contain more detail than you can get from the framework homepage (I hate you, Buzzfeed. You ruined the internet.) • Notable exception: http://www.sitepoint.com/best-php- frameworks-2014/ • Forums seem to be the most prolific source of personal opinions about frameworks…imagine that.
  • 7. The 8 PHP Frameworks You Have To Learn RIGHT NOW • Laravel • Yii • Symfony • Silex • CakePHP • CodeIgniter • Phalcon • Zend
  • 9. • http://laravel.com/ • Combines the best tools and philosophies from various projects, to make development faster, funner, and eleganter. • Symfony packages deep under the hood, where you will likely never see them. • Eloquent ORM for a very Ruby on Rails-ish data abstraction experience. • Artisan CLI, notably: access to models. C&P commands into your tests & voilà! • Database migrations (with improved rollbacks in Laravel 5) • Composer dependency manager. Don't like Eloquent? Plug in your own ORM! • You can override or replace almost any component! • Homestead (pre-fab Vagrant VM) and Forge (Heroku-style hosting) = RAPID. • LaraCon 2015 will be held in exotic Louisville, KY on Aug. 11–12! Laravel
  • 14. CakePHP • http://cakephp.org/ • 2 out of 2 PHP user group organizers think the website is just darling • Inspired by Ruby on Rails and will feel very familiar to RoR developers • Was the first MVC framework for PHP • V3 is a significant overhaul, making CakePHP more “modern” • Has been criticized for poor documentation and lack of help for newbies, but that seems to be changing (as evidenced by its super-friendly website design)
  • 16. CodeIgniter • http://www.codeigniter.com/ • Was a top contender in the past • First a licensing model change and then an ownership change may have destabilized the product in the collective mind
  • 18. Phalcon • Unique among platforms in that it is a C extension. You need to compile it into PHP (or download a suitably compiled binary, which makes things complicated on Windows) • Wicked fast, since the framework components are inside the PHP executable • Excellent choice for high-volume applications that will benefit from its speed • Poor choice for hosted environments where you don’t control the version of PHP or you share resources with other tenants
  • 20. Zend • http://framework.zend.com/ • Began life as part of the PHP language, was created by core contributors to the PHP language • Well-established user base (perhaps skewed to enterprise level development) • Thriving community, excellent documentation, active development (v3 is in the pipeline) • Historically, has been criticized for having a steep learning curve • Corporate backing - Zend is maintained by the Zend company, which provides PHP application development products and services (and therefore may be a good choice if you plan to use those products and services)
  • 21. Summary • Not all PHP frameworks are created equal, but they share many common features • So, your choice might have little to do with overall feature set and lots to do with one particular thing a framework does well or a community characteristic, like an IRC channel for instant help • Distribution license of the framework may matter for your applications (MIT, BSD, etc)