SlideShare a Scribd company logo
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)

More Related Content

PPTX
What's the "right" PHP Framework?
PPTX
Content Management Systems and Refactoring - Drupal, WordPress and eZ Publish
PDF
Stackato v6
PDF
Why Plone Will Die
PPTX
Getting started with PHP on IBM i
KEY
Zend Code in ZF 2.0
PDF
PHP Toolkit from Zend and IBM: Open Source on IBM i
PPTX
Zend Products and PHP for IBMi
What's the "right" PHP Framework?
Content Management Systems and Refactoring - Drupal, WordPress and eZ Publish
Stackato v6
Why Plone Will Die
Getting started with PHP on IBM i
Zend Code in ZF 2.0
PHP Toolkit from Zend and IBM: Open Source on IBM i
Zend Products and PHP for IBMi

What's hot (20)

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

Viewers also liked (19)

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

Similar to PHP Frameworks Review - Mar 19 2015 (20)

PDF
Presentation 1 Web--dev
PPTX
Outsourcing php india
PPT
My cool new Slideshow!
PPT
Ria Applications And PHP
PPT
introduction to php notes for engineering students.ppt
PPT
PPT
Introduction to PHP - SDPHP
PDF
A Tale of Two Toolkits
PPTX
Introduction To Web Development & The New Digital Workplace
PDF
Platform Selection
PPTX
PHP framework difference
PPT
What is PHP?
PPTX
Php internal architecture
PDF
PHP Web Development Frameworks & Advantages
PPTX
Feature and Compare between PHP Frameworks
ODP
But We're Already Open Source! Why Would I Want To Bring My Code To Apache?
PPSX
Advanced PHP Web Development Tools in 2015
PDF
Scaling with Symfony - PHP UK
KEY
Screw HTML5, make cool shit with AIR
Presentation 1 Web--dev
Outsourcing php india
My cool new Slideshow!
Ria Applications And PHP
introduction to php notes for engineering students.ppt
Introduction to PHP - SDPHP
A Tale of Two Toolkits
Introduction To Web Development & The New Digital Workplace
Platform Selection
PHP framework difference
What is PHP?
Php internal architecture
PHP Web Development Frameworks & Advantages
Feature and Compare between PHP Frameworks
But We're Already Open Source! Why Would I Want To Bring My Code To Apache?
Advanced PHP Web Development Tools in 2015
Scaling with Symfony - PHP UK
Screw HTML5, make cool shit with AIR

Recently uploaded (20)

PDF
Paper PDF World Game (s) Great Redesign.pdf
PDF
Sims 4 Historia para lo sims 4 para jugar
PDF
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
PPTX
PptxGenJS_Demo_Chart_20250317130215833.pptx
PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PDF
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
PPTX
artificial intelligence overview of it and more
PPTX
introduction about ICD -10 & ICD-11 ppt.pptx
PPTX
Digital Literacy And Online Safety on internet
PPT
Ethics in Information System - Management Information System
PPTX
Introuction about ICD -10 and ICD-11 PPT.pptx
PDF
Cloud-Scale Log Monitoring _ Datadog.pdf
PPTX
Introuction about WHO-FIC in ICD-10.pptx
PDF
Decoding a Decade: 10 Years of Applied CTI Discipline
PPTX
Power Point - Lesson 3_2.pptx grad school presentation
PDF
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
PDF
Exploring VPS Hosting Trends for SMBs in 2025
PPT
tcp ip networks nd ip layering assotred slides
PPTX
E -tech empowerment technologies PowerPoint
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
Paper PDF World Game (s) Great Redesign.pdf
Sims 4 Historia para lo sims 4 para jugar
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
PptxGenJS_Demo_Chart_20250317130215833.pptx
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
artificial intelligence overview of it and more
introduction about ICD -10 & ICD-11 ppt.pptx
Digital Literacy And Online Safety on internet
Ethics in Information System - Management Information System
Introuction about ICD -10 and ICD-11 PPT.pptx
Cloud-Scale Log Monitoring _ Datadog.pdf
Introuction about WHO-FIC in ICD-10.pptx
Decoding a Decade: 10 Years of Applied CTI Discipline
Power Point - Lesson 3_2.pptx grad school presentation
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
Exploring VPS Hosting Trends for SMBs in 2025
tcp ip networks nd ip layering assotred slides
E -tech empowerment technologies PowerPoint
Slides PDF The World Game (s) Eco Economic Epochs.pdf

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)