Download - Php framework at BarCampPP

Transcript
Page 1: Php framework at BarCampPP

PHP Framework26-Sep-2010

PRAK SOPHYhttp://kooms.info

Page 2: Php framework at BarCampPP

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

Page 3: Php framework at BarCampPP

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

Page 4: Php framework at BarCampPP

My Company

• Web Essentials(www.web-essentials.asia)

http://kooms.info

Page 5: Php framework at BarCampPP

Environment

http://kooms.info

Page 6: Php framework at BarCampPP

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

Page 7: Php framework at BarCampPP

Who use PHP?

• Facebook• Yahoo• Wikipedia• Google• IBM• Many and many websites

http://kooms.info

Page 8: Php framework at BarCampPP

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

Page 9: Php framework at BarCampPP

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

Page 10: Php framework at BarCampPP

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

Page 11: Php framework at BarCampPP

MVC PHP Framework• CodeIgniter• Copix• Core Enterprise PHP• FastFrame• EZ Publish• Fusebox• FuseLogic• Halo• Kohana• Konstrukt• Kumbia• Krysalis• Inek

http://kooms.info

Page 12: Php framework at BarCampPP

http://kooms.info

MVC PHP Framework(cont.)• Innomatic• InterJinn• Ismo• Jelix• Kolibri• Limb PHP Web Application Framework• Limonade• LogiCreate• Medusa• Mojavi• Navigator• Nette• Nexista

Page 13: Php framework at BarCampPP

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

Page 14: Php framework at BarCampPP

MVC PHP Framework(cont.)• P4A• PHP on Trax• PHP Work• PhpDrone• PHPulse• PhpMVC• PhpPeanuts• Phrame• Popoon• Prado• Pronto• Qcodo• Rwfphp

http://kooms.info

Page 15: Php framework at BarCampPP

MVC PHP Framework(cont.)• Samstyle PHP Framework• SilverStripe• Seagull• Sitellite• SolarPHP• Sqeletor• Studs• Struts4php• Symfony• TaniPHP• Tigermouse• web.framework• Wolfden CMF

http://kooms.info

Page 16: Php framework at BarCampPP

http://kooms.info

MVC PHP Framework(cont.)

• Xataface• Yellow Duck Framework• Yii• Zend Framework• Zephyr Framework• ZNF• Zoop Framework

Page 17: Php framework at BarCampPP

Top PHP Framework

http://kooms.info

Page 18: Php framework at BarCampPP

FLOW3 Framwork

http://kooms.info

Current Version: 1.0.11 alpha 1Develop by: TYPO3 Association Release: N/AWebsite: http://flow3.typo3.org

Page 19: Php framework at BarCampPP

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

Page 20: Php framework at BarCampPP

CakePHP Framework

http://kooms.info

Current Version: 1.3.4 and 1.2.8Develop by: Cake TeamCreated date:2005Website: http://www.cakephp.org

Page 21: Php framework at BarCampPP

CakePHP Framework (cont.)

http://kooms.info

Page 22: Php framework at BarCampPP

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

Page 23: Php framework at BarCampPP

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

Page 24: Php framework at BarCampPP

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

Page 25: Php framework at BarCampPP

CodeIgniter Framework

http://kooms.info

Current Version: 1.7.2Develop by: EllisLab, Inc.Created date: February 28, 2006Website: http://codeigniter.com/

Page 26: Php framework at BarCampPP

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

Page 27: Php framework at BarCampPP

Kohana Framework

http://kooms.info

Current Version: 3.0.8Develop by: Kohana TeamCreated date: N/AWebsite: http://kohanaframework.org/

Page 28: Php framework at BarCampPP

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

Page 29: Php framework at BarCampPP

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

Page 30: Php framework at BarCampPP

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

Page 31: Php framework at BarCampPP

Prado Framework

http://kooms.info

Current Version: 3.0.8Develop by: PradosoftCreated date: N/AWebsite: http://www.pradosoft.com/

Page 32: Php framework at BarCampPP

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

Page 33: Php framework at BarCampPP

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

Page 34: Php framework at BarCampPP

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

Page 35: Php framework at BarCampPP

My 1st Step

• I will grasp CakePHP 1st

• Live Demo with CakePHP

http://kooms.info

Page 36: Php framework at BarCampPP

Q & A

Thank You!

http://kooms.info

Page 37: Php framework at BarCampPP

http://kooms.info

Reference

• http://php.dzone.com/articles/guide-php-frameworks• http://www.phpframeworks.com/top-10-php-frameworks/