• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
PHP_Frameworks_Discussion
 

PHP_Frameworks_Discussion

on

  • 831 views

 

Statistics

Views

Total Views
831
Views on SlideShare
808
Embed Views
23

Actions

Likes
0
Downloads
8
Comments
0

2 Embeds 23

http://www.techgig.com 20
http://www.linkedin.com 3

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    PHP_Frameworks_Discussion PHP_Frameworks_Discussion Presentation Transcript

    • PHP Frameworks Discussion Leong Hean Hong ( @hongster ) #barcampmlk2 (CC) BY http://goo.gl/E6THH
    • Outline
        • What is an application framework?
        • var x = diff(framework, library);
        • Types of frameworks
        • Why should I use a framework?
        • Why I should not use a framework?
        • Factors to consider when choosing a framework
    • What is an application framework?
        • Used by software developer to implement structure of an application for a specific development environment
        • Reduce overhead associated with common activities performed  
    • x = diff(framework, library)
        • Library
          • Collection of reusable code and data structures
          • For a specific purpose (e.g. graphic, networking)
        • Framework
          • Consist of multiple libraries
          • For a specific application type (e.g. game, web application)
          • Define basic application flow
          • Define some patterns of interaction among components
    • Types of frameworks
        • Generic web application
          • Kohana , CodeIgniter , CakePHP , Zend , DooPHP buatan malaysia
        • CMS
          • Drupal ,  Joomla ,  Textpattern
        • Blog
          •   Wordpress
        • There are also frameworks for building forum, social network, CRM, ...
    • Why should I use a framework?
        • Save development effort
        • I am a newbie programmer
        • Ease of integrating components
        • Learn best practices, patterns
    • 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
    • Factors to consider when choosing a framework
        • Learning curve
        • Community, documentation
        • Active development
        • How much work do I have to do? (Simplicity/flexibility v.s. Comprehensive)
    • What do you think?
    • Thoughts on Convention, Configuration
        • Convention Over Configuration  makes "magic". What if the "magic" stands in my way?
        • Is the configuration taking over my life?