Something lacking in
   WordPress
   Masaki Komagata @ FJORD, LLC
My name is komagata.
I work for a company called
        FJORD, LLC.
It’s very convenient,
        isn’t it?
• You can write blogs
• Make pages (CMS functionality)
• It’s easy to create themes (templates)
• There are plenty of plug-ins
  (If you Google it, you’ll find them)

• It can also be used like a database
  (custom fields)
Most of these actions
can be completed using
   WordPress alone.
There is no need for a
 programmer (me).
Wonderful.
However, the problem
 with WordPress is:
It dosen’t work with
Heroku (a free server)
It dosen’t work with
 GAE (a free server)
“Why won’t WordPress work?”
Let’s talk about Ruby.
‘And so,
innovative software is born’.
CMS for Cloud
Features
It is compatible with a
 number of platforms.

•Heroku
• Google App Engine
• Windows, Mac OS X, UNIX
It supports various DB

• SQLite3
• MySQL
• PostgreSQL
• Datastore
• MongoDB (Under construction)
Installation is simple.
• Install Ruby
  (RubyInstaller for Windows is recommended.)
• setup.exe
• pyha.exe
Creating themes is
     simple.
Minimum Configuration

 simple/
   entries.erb (at a glance)
   entry.erb (details)
   style.css (stylesheet)
           (layout.erb can also be used.)
Making plug-ins is
    simple.
Sinatra Extension
      Subset
Helper

module Pyha
  module MyHelpers
    def me?
      current_user.id == 1
    end
  end
end
Application Extension
module Pyha
  module Hello
    def self.registered(app)
      app.get '/hello' do
        'hello'
      end
    end
  end
end
The Most Important
     Function
Haml can also be used.
There are members,
      but not enough.

• Users (the people who use it)
• Plug-in developers
• Theme designers
• Core committers
http://pyha.cc
That is all.
Thank you.

This is presentation at Mitaka.rb #10.