This is presentation at Mitaka.rb #10.

34
Something lacking in WordPress Masaki Komagata @ FJORD, LLC

Transcript of This is presentation at Mitaka.rb #10.

Page 1: This is presentation at Mitaka.rb #10.

Something lacking in WordPress

Masaki Komagata @ FJORD, LLC

Page 2: This is presentation at Mitaka.rb #10.

My name is komagata.

Page 3: This is presentation at Mitaka.rb #10.

I work for a company called FJORD, LLC.

Page 4: This is presentation at Mitaka.rb #10.
Page 5: This is presentation at Mitaka.rb #10.

It’s very convenient, isn’t it?

Page 6: This is presentation at Mitaka.rb #10.

• 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)

Page 7: This is presentation at Mitaka.rb #10.

Most of these actions can be completed using

WordPress alone.

Page 8: This is presentation at Mitaka.rb #10.

There is no need for a programmer (me).

Page 9: This is presentation at Mitaka.rb #10.

Wonderful.

Page 10: This is presentation at Mitaka.rb #10.

However, the problem with WordPress is:

Page 11: This is presentation at Mitaka.rb #10.

It dosen’t work with Heroku (a free server)

Page 12: This is presentation at Mitaka.rb #10.

It dosen’t work with GAE (a free server)

Page 13: This is presentation at Mitaka.rb #10.

“Why won’t WordPress work?”

Page 14: This is presentation at Mitaka.rb #10.

Let’s talk about Ruby.

Page 15: This is presentation at Mitaka.rb #10.

‘And so, innovative software is born’.

Page 16: This is presentation at Mitaka.rb #10.
Page 17: This is presentation at Mitaka.rb #10.
Page 18: This is presentation at Mitaka.rb #10.

CMS for Cloud

Page 19: This is presentation at Mitaka.rb #10.

Features

Page 20: This is presentation at Mitaka.rb #10.

•Heroku

•Google App Engine

•Windows, Mac OS X, UNIX

It is compatible with a number of platforms.

Page 21: This is presentation at Mitaka.rb #10.

• SQLite3

• MySQL

• PostgreSQL

• Datastore

• MongoDB (Under construction)

It supports various DB

Page 22: This is presentation at Mitaka.rb #10.

Installation is simple.

• Install Ruby(RubyInstaller for Windows is recommended.)

• setup.exe

• pyha.exe

Page 23: This is presentation at Mitaka.rb #10.
Page 24: This is presentation at Mitaka.rb #10.

Creating themes is simple.

Page 25: This is presentation at Mitaka.rb #10.

simple/ entries.erb (at a glance) entry.erb (details) style.css (stylesheet)

Minimum Configuration

(layout.erb can also be used.)

Page 26: This is presentation at Mitaka.rb #10.

Making plug-ins is simple.

Page 27: This is presentation at Mitaka.rb #10.

Sinatra Extension Subset

Page 28: This is presentation at Mitaka.rb #10.

module Pyha module MyHelpers def me? current_user.id == 1 end endend

Helper

Page 29: This is presentation at Mitaka.rb #10.

module Pyha module Hello def self.registered(app) app.get '/hello' do 'hello' end end endend

Application Extension

Page 30: This is presentation at Mitaka.rb #10.

The Most Important Function

Page 31: This is presentation at Mitaka.rb #10.

Haml can also be used.

Page 32: This is presentation at Mitaka.rb #10.

There are members, but not enough.

• Users (the people who use it)

• Plug-in developers

• Theme designers

• Core committers

Page 33: This is presentation at Mitaka.rb #10.

http://pyha.cc

Page 34: This is presentation at Mitaka.rb #10.

That is all.Thank you.