Your SlideShare is downloading. ×
0
Hacking Movable Type Open Source
Hacking Movable Type Open Source
Hacking Movable Type Open Source
Hacking Movable Type Open Source
Hacking Movable Type Open Source
Hacking Movable Type Open Source
Hacking Movable Type Open Source
Hacking Movable Type Open Source
Hacking Movable Type Open Source
Hacking Movable Type Open Source
Hacking Movable Type Open Source
Hacking Movable Type Open Source
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Hacking Movable Type Open Source

4,656

Published on

This talk was presented at YAPC::Asia 2008

This talk was presented at YAPC::Asia 2008

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

  • Be the first to like this

No Downloads
Views
Total Views
4,656
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
24
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Hacking Movable Type Open Source Fumiaki Yoshimatsu Movable Type Engineering, Six Apart K.K.
  • 2. Agenda <ul><li>Movable Type and Movable Type Open Source </li></ul><ul><li>Introduction to Movable Type </li></ul><ul><li>MT as an web application framework </li></ul>
  • 3. Movable Type Open Source and MT <ul><li>“ The Movable Type Open Source Project is a community effort, led by Six Apart, devoted to creating an open source version of Movable Type.” </li></ul><ul><li>“ This open source version (or MTOS for short) will be free for anyone to modify, redistribute and use for any purpose that they choose.” </li></ul><ul><li>In short, there is no difference except you can redistribute under the license of GPL v2. </li></ul>
  • 4. Movable Type &amp;quot;Powerful publishing platform The perfect platform for building easy-to-maintain blog, web, and social media sites.&amp;quot; www.movabletype.com &amp;quot;Movable Type はブログだけでなくウェブページやファイル管理も可能な、ウェブサイト全体を管理するコンテンツ管理システム (CMS) です。 &amp;quot; www.sixapart.jp/movabletype
  • 5. So, what is Movable Type, exactly? <ul><li>Web Application Framework </li></ul><ul><ul><li>Fully extensible, fully customizable, er, framework. </li></ul></ul><ul><ul><li>So heavy weight that you don’t really want to use it for “your application” however. </li></ul></ul>&amp;quot;If there is a place you can&apos;t extend, it is a bug.&amp;quot; Brad Choate Movable Type Engineering Manager, Six Apart Ltd.
  • 6. Extensibility <ul><li>MT has been made better through community effort </li></ul><ul><ul><li>Plugins are the key </li></ul></ul><ul><li>Cool hacks encouraged, enabled and embraced </li></ul><ul><ul><li>BigPAPI </li></ul></ul><ul><ul><li>Custom Fields </li></ul></ul><ul><li>Inevitable to grow to become a “framework” </li></ul>MT is all about extensibility to help developers
  • 7. Extensibility <ul><li>Inheritance ( as in OOP ) </li></ul><ul><li>Callbacks </li></ul><ul><li>Application methods (modes) </li></ul><ul><li>MT Registry is the key </li></ul><ul><ul><li>Giant hash of metadata </li></ul></ul><ul><ul><li>Plugins register themselves to extend MT </li></ul></ul>
  • 8. MT::Object - Model <ul><li>Inherit MT::Object to add new model </li></ul><ul><li>OR mapper support built-in </li></ul><ul><ul><li>Runs on five different DBMS </li></ul></ul><ul><ul><li>DDL and DML support </li></ul></ul><ul><li>“ object_types” registry key </li></ul>
  • 9. MTML – View, sort of <ul><li>MT’s own markup language </li></ul><ul><ul><li>Not really a markup language, but domain (MT) specific programming language </li></ul></ul>
  • 10. MT::App – Dispatcher/Controller <ul><li>CGI.pm based </li></ul><ul><li>Add application methods to existing app through registry </li></ul><ul><ul><li>__mode to method </li></ul></ul><ul><li>Inherit MT::App to create completely new app </li></ul><ul><ul><li>Although not recommended </li></ul></ul><ul><li>“ applications” registry key </li></ul>
  • 11. Summary <ul><li>Movable Type is more than just a blogging software </li></ul><ul><li>You can easily extend and customize Movable Type to for your specific needs through Perl plugin </li></ul><ul><li>MTOS welcomes Perl developers – check it out from our Subversion branch now! </li></ul>
  • 12. List of resources <ul><li>Subversion repository </li></ul><ul><ul><li>http://code.sixapart.com/svn/movabletype/ </li></ul></ul><ul><li>Trac </li></ul><ul><ul><li>http://code.sixapart.com/trac/movabletype/ </li></ul></ul><ul><li>Mailing lists </li></ul><ul><ul><li>http://www.movabletype.org/opensource/mailing-lists.html </li></ul></ul><ul><li>Feedback </li></ul><ul><ul><li>http://www.movabletype.org/feedback.html </li></ul></ul><ul><ul><li>http://www.sixapart.jp/movabletype/feedback.html </li></ul></ul>

×