This is presentation at Mitaka.rb #10.
-
Upload
masaki-komagata -
Category
Documents
-
view
1.026 -
download
3
Transcript of This is presentation at Mitaka.rb #10.
![Page 1: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/1.jpg)
Something lacking in WordPress
Masaki Komagata @ FJORD, LLC
![Page 2: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/2.jpg)
My name is komagata.
![Page 3: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/3.jpg)
I work for a company called FJORD, LLC.
![Page 4: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/4.jpg)
![Page 5: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/5.jpg)
It’s very convenient, isn’t it?
![Page 6: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/6.jpg)
• 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.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/7.jpg)
Most of these actions can be completed using
WordPress alone.
![Page 8: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/8.jpg)
There is no need for a programmer (me).
![Page 9: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/9.jpg)
Wonderful.
![Page 10: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/10.jpg)
However, the problem with WordPress is:
![Page 11: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/11.jpg)
It dosen’t work with Heroku (a free server)
![Page 12: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/12.jpg)
It dosen’t work with GAE (a free server)
![Page 13: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/13.jpg)
“Why won’t WordPress work?”
![Page 14: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/14.jpg)
Let’s talk about Ruby.
![Page 15: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/15.jpg)
‘And so, innovative software is born’.
![Page 16: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/16.jpg)
![Page 17: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/17.jpg)
![Page 18: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/18.jpg)
CMS for Cloud
![Page 19: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/19.jpg)
Features
![Page 20: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/20.jpg)
•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.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/21.jpg)
• SQLite3
• MySQL
• PostgreSQL
• Datastore
• MongoDB (Under construction)
It supports various DB
![Page 22: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/22.jpg)
Installation is simple.
• Install Ruby(RubyInstaller for Windows is recommended.)
• setup.exe
• pyha.exe
![Page 23: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/23.jpg)
![Page 24: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/24.jpg)
Creating themes is simple.
![Page 25: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/25.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/26.jpg)
Making plug-ins is simple.
![Page 27: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/27.jpg)
Sinatra Extension Subset
![Page 28: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/28.jpg)
module Pyha module MyHelpers def me? current_user.id == 1 end endend
Helper
![Page 29: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/29.jpg)
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.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/30.jpg)
The Most Important Function
![Page 31: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/31.jpg)
Haml can also be used.
![Page 32: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/32.jpg)
There are members, but not enough.
• Users (the people who use it)
• Plug-in developers
• Theme designers
• Core committers
![Page 34: This is presentation at Mitaka.rb #10.](https://reader034.fdocuments.net/reader034/viewer/2022042814/5551ea99b4c90501638b51d0/html5/thumbnails/34.jpg)
That is all.Thank you.