際際滷

際際滷Share a Scribd company logo
Something lacking in
   WordPress
   Masaki Komagata @ FJORD, LLC
My name is komagata.
I work for a company called
        FJORD, LLC.
This is presentation at Mitaka.rb #10.
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 ?nd them)

? It can also be used like a database
  (custom ?elds)
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 敬看姻一? ̄
Let¨s talk about Ruby.
`And so,
innovative software is born¨.
This is presentation at Mitaka.rb #10.
This is presentation at Mitaka.rb #10.
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
This is presentation at Mitaka.rb #10.
Creating themes is
     simple.
Minimum Con?guration

 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.

More Related Content

This is presentation at Mitaka.rb #10.