Your SlideShare is downloading. ×
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,604
views

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