Your SlideShare is downloading. ×
0
WordPress MVC Theme Framework THINKROOMS STUDIOTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | W...
Who am I?     Founder of THINKROOM STUDIO     Founder of RServe.me     10 years experiences in web technology     4 years ...
Why WordPress MVC?THINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Others are options based & starter themeTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Main...
Options Based    Carrington    Genesis    Catalyst    Thesis    ThemifyTHINKROOMS STUDIOWeb & Mobile Application | HTML Sl...
Starter Theme    Thematic    Twenty Ten    WP Framework    SandboxTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing...
WordPress has structural codeTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
WordPress MVC is a framework to code theme from scratchTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Temp...
But Easier & Less Code To WriteTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Inspired from Yii PHP FrameworkTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Turning WordPress from structural to object oriented friendlyTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CM...
Separate The Logic and PresentationTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Model View ControllerTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Files Structure    childthemes         default         child    mvc    images    css    jsTHINKROOMS STUDIOWeb & Mobile Ap...
FeaturesTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Model    Post    Category    Author    CommentTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | We...
Post Model     TPost::defaultPost();     TPost::find($param);     TPost::findAll($param);THINKROOMS STUDIOWeb & Mobile App...
Post Model     basic attributes                           comments     related posts by                           previous...
Post Model $post=TPost::find(array(‘id’=>1)); $post->title; $post->content; $post->author; $post->relatedPostByCat($pageSi...
Category Model    Get all post in category    Check if a post is in categoryTHINKROOMS STUDIOWeb & Mobile Application | HT...
Controller                Basic WordPress template file                                  ControllerTHINKROOMS STUDIOWeb & ...
View    Default Theme    Child Theme    Widget(view, js, css)THINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CM...
Using View Controller: $post=TPost::defaultPost(); WpMvc::app()->view->render(‘viewName’,array(‘post’=>$post)); View: echo...
Custom controller Create controller without create a pageTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Te...
Custom Controller http://yourwebsite.com/index.php?r=mypage wp-content/themes/yourthemes/mypage.phpTHINKROOMS STUDIOWeb & ...
Future PlansTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Options PageTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Useful WidgetsTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Integrate Some Popular PluginsTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Getting StartedTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Download at https://github.com/tyohan/WordPress-MVC-FrameworkTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CM...
Create your own child themeTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Develop Application Based on WordPressTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Mainte...
Thank You Yohan Totting @tyohan tyohan@thinkrooms.com http://www.thinkrooms.comTHINKROOMS STUDIOWeb & Mobile Application |...
Upcoming SlideShare
Loading in...5
×

WordPress MVC Framework

7,676

Published on

My Presentation on WordCampID 2011 Bandung about WordPress MVC Framework that trying to turn WordPress template development to object oriented friendly.

Published in: Technology, Business
0 Comments
11 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
7,676
On Slideshare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
116
Comments
0
Likes
11
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Transcript of "WordPress MVC Framework"

    1. 1. WordPress MVC Theme Framework THINKROOMS STUDIOTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    2. 2. Who am I? Founder of THINKROOM STUDIO Founder of RServe.me 10 years experiences in web technology 4 years experiences with WordPressTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    3. 3. Why WordPress MVC?THINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    4. 4. Others are options based & starter themeTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    5. 5. Options Based Carrington Genesis Catalyst Thesis ThemifyTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    6. 6. Starter Theme Thematic Twenty Ten WP Framework SandboxTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    7. 7. WordPress has structural codeTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    8. 8. WordPress MVC is a framework to code theme from scratchTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    9. 9. But Easier & Less Code To WriteTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    10. 10. Inspired from Yii PHP FrameworkTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    11. 11. Turning WordPress from structural to object oriented friendlyTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    12. 12. Separate The Logic and PresentationTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    13. 13. Model View ControllerTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    14. 14. Files Structure childthemes default child mvc images css jsTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    15. 15. FeaturesTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    16. 16. Model Post Category Author CommentTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    17. 17. Post Model TPost::defaultPost(); TPost::find($param); TPost::findAll($param);THINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    18. 18. Post Model basic attributes comments related posts by previous post category next post author childsTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    19. 19. Post Model $post=TPost::find(array(‘id’=>1)); $post->title; $post->content; $post->author; $post->relatedPostByCat($pageSize);THINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    20. 20. Category Model Get all post in category Check if a post is in categoryTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    21. 21. Controller Basic WordPress template file ControllerTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    22. 22. View Default Theme Child Theme Widget(view, js, css)THINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    23. 23. Using View Controller: $post=TPost::defaultPost(); WpMvc::app()->view->render(‘viewName’,array(‘post’=>$post)); View: echo $post->title; echo $post->content echo $post->author->name;THINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    24. 24. Custom controller Create controller without create a pageTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    25. 25. Custom Controller http://yourwebsite.com/index.php?r=mypage wp-content/themes/yourthemes/mypage.phpTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    26. 26. Future PlansTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    27. 27. Options PageTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    28. 28. Useful WidgetsTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    29. 29. Integrate Some Popular PluginsTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    30. 30. Getting StartedTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    31. 31. Download at https://github.com/tyohan/WordPress-MVC-FrameworkTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    32. 32. Create your own child themeTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    33. 33. Develop Application Based on WordPressTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    34. 34. Thank You Yohan Totting @tyohan tyohan@thinkrooms.com http://www.thinkrooms.comTHINKROOMS STUDIOWeb & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×