Date post: | 01-Dec-2014 |
Category: |
Technology |
Upload: | yohan-totting |
View: | 7,947 times |
Download: | 2 times |
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
WordPress MVC Theme FrameworkTHINKROOMS STUDIO
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Who am I?
Founder of THINKROOM STUDIO
Founder of RServe.me
10 years experiences in web technology
4 years experiences with WordPress
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Why WordPress MVC?
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Others are options based & starter theme
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Options BasedCarrington
Genesis
Catalyst
Thesis
Themify
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Starter Theme
Thematic
Twenty Ten
WP Framework
Sandbox
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
WordPress has structural code
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
WordPress MVC is a framework to code theme from scratch
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
But Easier & Less Code To Write
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Inspired from Yii PHP Framework
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Turning WordPress from structural to object oriented friendly
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Separate The Logic and Presentation
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Model View Controller
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Files Structurechildthemes
default
child
mvc
images
css
js
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Features
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
ModelPost
Category
Author
Comment
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Post Model
TPost::defaultPost();
TPost::find($param);
TPost::findAll($param);
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Post Model
basic attributes
related posts by category
author
childs
comments
previous post
next post
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Post Model$post=TPost::find(array(‘id’=>1));
$post->title;
$post->content;
$post->author;
$post->relatedPostByCat($pageSize);
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Category Model
Get all post in category
Check if a post is in category
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Controller
Basic WordPress template file
Controller
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
View
Default Theme
Child Theme
Widget(view, js, css)
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Using ViewController:
$post=TPost::defaultPost();
WpMvc::app()->view->render(‘viewName’,array(‘post’=>$post));
View:
echo $post->title;
echo $post->content
echo $post->author->name;
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Custom controller
Create controller without create a page
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
http://yourwebsite.com/index.php?r=mypage
wp-content/themes/yourthemes/mypage.php
Custom Controller
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Future Plans
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Options Page
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Useful Widgets
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Integrate Some Popular Plugins
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Getting Started
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Download athttps://github.com/tyohan/WordPress-MVC-Framework
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Create your own child theme
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Develop Application Based on WordPress
Sunday, January 30, 2011
THINKROOMS STUDIO Web & Mobile Application | HTML Slicing | CMS Template | Web Maintenance
Thank You
Yohan Totting
@tyohan
http://www.thinkrooms.com
Sunday, January 30, 2011