Php framework at BarCampPP
description
Transcript of Php framework at BarCampPP
PHP Framework26-Sep-2010
PRAK SOPHYhttp://kooms.info
Agenda
1. About me and my company2. PHP State3. Who use PHP4. What is PHP Framework5. Why PHP Framework6. MVC PHP Framework7. Top PHP Framework8. My First Step(favorite PHP framework)9. Q & A10.Reference
http://kooms.info
About Me
I am a web developer since 2006 I like design and develop website with open source language PHP, JSP, Ruby....
Email: [email protected]: http://kooms.infoTwitter: http://twitter.com/psophy
http://kooms.info
My Company
• Web Essentials(www.web-essentials.asia)
http://kooms.info
PHP State
• Current Version 5.3 and 6 not yet release• According survey by Chris Coyier on his site show that there
are more than 75% of 20 000 developers that they use php
http://kooms.info
Who use PHP?
• Facebook• Yahoo• Wikipedia• Google• IBM• Many and many websites
http://kooms.info
What is PHP Framework?
• PHP Framework it is big PHP library that follow up to software design pattern MVC, ORM
• Make easy for developer to develop web application• Debug able• Testing Driven• Convention
http://kooms.info
Why PHP Framework
• It makes it easier to work with complex technologies. • It ties together a bunch of discrete objects/components into
something more useful. • It forces the team (or just me) to implement code in a way
that promotes consistent coding, fewer bugs, and more flexible applications.
• Everyone can easily test and debug the code, even code that they didn't write.
http://kooms.info
MVC PHP Framework• Achievo ATK• Akelos PHP Framework• Amodules3• Ambivalence• Aukyla PHP Framework• Binarycloud• Biscuit• Bitweaver• Caffeine Web Framework• CakePHP• Castor• Cgiapp
http://kooms.info
MVC PHP Framework• CodeIgniter• Copix• Core Enterprise PHP• FastFrame• EZ Publish• Fusebox• FuseLogic• Halo• Kohana• Konstrukt• Kumbia• Krysalis• Inek
http://kooms.info
http://kooms.info
MVC PHP Framework(cont.)• Innomatic• InterJinn• Ismo• Jelix• Kolibri• Limb PHP Web Application Framework• Limonade• LogiCreate• Medusa• Mojavi• Navigator• Nette• Nexista
MVC PHP Framework(cont.)• Innomatic• InterJinn• Ismo• Jelix• Kolibri• Kohan• Limb PHP Web Application Framework• Limonade• LogiCreate• Medusa• Mojavi• Navigator• Nette• Nexista
http://kooms.info
MVC PHP Framework(cont.)• P4A• PHP on Trax• PHP Work• PhpDrone• PHPulse• PhpMVC• PhpPeanuts• Phrame• Popoon• Prado• Pronto• Qcodo• Rwfphp
http://kooms.info
MVC PHP Framework(cont.)• Samstyle PHP Framework• SilverStripe• Seagull• Sitellite• SolarPHP• Sqeletor• Studs• Struts4php• Symfony• TaniPHP• Tigermouse• web.framework• Wolfden CMF
http://kooms.info
http://kooms.info
MVC PHP Framework(cont.)
• Xataface• Yellow Duck Framework• Yii• Zend Framework• Zephyr Framework• ZNF• Zoop Framework
Top PHP Framework
http://kooms.info
FLOW3 Framwork
http://kooms.info
Current Version: 1.0.11 alpha 1Develop by: TYPO3 Association Release: N/AWebsite: http://flow3.typo3.org
FLOW3 Framework (cont)
10 Reasons to go with the FLOW3
1. crystal clear structure to boot2. best of breed PHP-framework3. "learn once, apply anywhere"-consistency4. complete documentation5. real-world examples & tutorials6. runs on most webservers7. package repository with big community8. designed for content-driven applications9. Start to use and learn the "TYPO3 5.0 way" today10. funded by the TYPO3 Association
(not a greedy company)
http://kooms.info
CakePHP Framework
http://kooms.info
Current Version: 1.3.4 and 1.2.8Develop by: Cake TeamCreated date:2005Website: http://www.cakephp.org
CakePHP Framework (cont.)
http://kooms.info
CakePHP Framework(cont.)
• Expansive built-in libraries including helpers for generating RSS feeds and HTML elements
• Easy CRUD database interaction• Default jQuery Framework and javascript engine for other
framework• Auth and Acl components• A more strict and structured approach to MVC and naming
conventions• Little to no configuration required to run• Supports PHP 4 and 5• commend line
http://kooms.info
ZEND Framework
http://kooms.info
Current Version: 1.10.8Develop by: Andi Gutmans and Zeev SuraskiReleased: July 1, 2007Website: http://framework.zend.com/
Make the Choice Standardize your PHP practices
ZEND Framework(cont.)
• Represents an extended set of PHP libraries that can be integrated and used with most of the offered PHP frameworks.
• Slight Learning Curve• Simple, extendible CRUD creation• Optional MVC and flexible conventions• Configuration: PHP Array, XML, or INI files• Perhaps the most popular PHP framework available• Supports PHP 5
http://kooms.info
CodeIgniter Framework
http://kooms.info
Current Version: 1.7.2Develop by: EllisLab, Inc.Created date: February 28, 2006Website: http://codeigniter.com/
Codeigniter Framework(count..)
• Offers query builders and database manipulation classes, but has no built-in ORM support
• No PEAR packages or server modifications required• Installed by uploading files to a directory• Large community plus extensive documentation and tutorials• Easier to extend and understand than some of the more
elaborate frameworks• Built-in template engine• Supports PHP 4 and 5 (Maintaining PHP 4 support has its pros
and its cons)
http://kooms.info
Kohana Framework
http://kooms.info
Current Version: 3.0.8Develop by: Kohana TeamCreated date: N/AWebsite: http://kohanaframework.org/
Kohana
• Fork of CodeIgniter• No dependencies on PECL extensions or PEAR libraries• Has a cascading file system• Built in-template engine• No unit testing support• Has built-in Auth module and a number of third-party Auth
and ACL libraries• Supports PHP 5
http://kooms.info
Symfony Framework
http://kooms.info
Current Version: 1.4.8 and 2.0 Preview ReleaseDevelop by: Symfony TeamCreated date: October 18, 2005Website: http://www.symfony-project.org
http://kooms.info
Symfony Framework(cont.)
• Full-stack framework• Uses the command-line to run configuration commands and
create applications• Steeper learning curve than some frameworks• Good AJAX and JavaScript helpers• Supports PHP 5
Prado Framework
http://kooms.info
Current Version: 3.0.8Develop by: PradosoftCreated date: N/AWebsite: http://www.pradosoft.com/
Prado Framework(cont.)
• Component-based and event-driven programming framework• Components are a combination of a specification file (in XML),
an HTML template, and a PHP class.• PRADO components are highly reusable• Built in-template engine• Supports PHP 5
http://kooms.info
Yii Framework
http://kooms.info
Current Version: 1.1.4Develop by: Yii TeamCreated date: December 3, 2008Website: http://www.yiiframework.com/
Yii PHP framework is our next generation of PHP framework derived from PRADO
Yii Framework (cont.)
• Intended for developing large-scale Web applications• Written in strict OOP• Has built-in support for both authentication and
authorization.• Claims to have very high performance• Complex syntax for declaring model relationships, but with
powerful features including named scope• No built-in unit testing support• SOAP support• Has jQuery bundled; jQuery-based AJAX support• Supports PHP 5
http://kooms.info
My 1st Step
• I will grasp CakePHP 1st
• Live Demo with CakePHP
http://kooms.info
Q & A
Thank You!
http://kooms.info
http://kooms.info
Reference
• http://php.dzone.com/articles/guide-php-frameworks• http://www.phpframeworks.com/top-10-php-frameworks/