test php frame
DESCRIPTION
PHP FrameworkTRANSCRIPT
![Page 1: Test PHP frame](https://reader036.vdocument.in/reader036/viewer/2022081814/568c4d571a28ab4916a39082/html5/thumbnails/1.jpg)
PHP Frameworks Discussion
Leong Hean Hong (@hongster)#barcampmlk2
(CC) BYhttp://goo.gl/E6THH
![Page 2: Test PHP frame](https://reader036.vdocument.in/reader036/viewer/2022081814/568c4d571a28ab4916a39082/html5/thumbnails/2.jpg)
Outline
What is an application framework?var x = diff(framework, library);Types of frameworksWhy should I use a framework?Why I should not use a framework?Factors to consider when choosing a framework
![Page 3: Test PHP frame](https://reader036.vdocument.in/reader036/viewer/2022081814/568c4d571a28ab4916a39082/html5/thumbnails/3.jpg)
What is an application framework?
Used by software developer to implement structure of an application for a specific development environmentReduce overhead associated with common activities performed
![Page 4: Test PHP frame](https://reader036.vdocument.in/reader036/viewer/2022081814/568c4d571a28ab4916a39082/html5/thumbnails/4.jpg)
x = diff(framework, library)
LibraryCollection of reusable code and data structuresFor a specific purpose (e.g. graphic, networking)
FrameworkConsist of multiple librariesFor a specific application type (e.g. game, web application)Define basic application flowDefine some patterns of interaction among components
![Page 5: Test PHP frame](https://reader036.vdocument.in/reader036/viewer/2022081814/568c4d571a28ab4916a39082/html5/thumbnails/5.jpg)
Types of frameworks
Generic web applicationKohana, CodeIgniter, CakePHP, Zend, DooPHPbuatan malaysia
CMSDrupal, Joomla, Textpattern
Blog Wordpress
There are also frameworks for building forum, social network, CRM, ...
![Page 6: Test PHP frame](https://reader036.vdocument.in/reader036/viewer/2022081814/568c4d571a28ab4916a39082/html5/thumbnails/6.jpg)
Why should I use a framework?
Save development effortI am a newbie programmerEase of integrating componentsLearn best practices, patterns
![Page 7: Test PHP frame](https://reader036.vdocument.in/reader036/viewer/2022081814/568c4d571a28ab4916a39082/html5/thumbnails/7.jpg)
Why I should not use a framework?
Ooi, I only want a About Us, FAQ, and Product page.I want to know what I am doing, learn PHP.My application has a very specific requirement, existing frameworks might not be suitable
![Page 8: Test PHP frame](https://reader036.vdocument.in/reader036/viewer/2022081814/568c4d571a28ab4916a39082/html5/thumbnails/8.jpg)
Factors to consider when choosing a framework
Learning curveCommunity, documentationActive developmentHow much work do I have to do? (Simplicity/flexibility v.s. Comprehensive)
![Page 9: Test PHP frame](https://reader036.vdocument.in/reader036/viewer/2022081814/568c4d571a28ab4916a39082/html5/thumbnails/9.jpg)
What do you think?
![Page 10: Test PHP frame](https://reader036.vdocument.in/reader036/viewer/2022081814/568c4d571a28ab4916a39082/html5/thumbnails/10.jpg)
Thoughts on Convention, Configuration
Convention Over Configuration makes "magic". What if the "magic" stands in my way?Is the configuration taking over my life?