Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

This is presentation at Mitaka.rb #10.

1,529 views

Published on

  • Be the first to comment

  • Be the first to like this

This is presentation at Mitaka.rb #10.

  1. 1. Something lacking in WordPress Masaki Komagata @ FJORD, LLC
  2. 2. My name is komagata.
  3. 3. I work for a company called FJORD, LLC.
  4. 4. It’s very convenient, isn’t it?
  5. 5. • 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)
  6. 6. Most of these actions can be completed using WordPress alone.
  7. 7. There is no need for a programmer (me).
  8. 8. Wonderful.
  9. 9. However, the problem with WordPress is:
  10. 10. It dosen’t work with Heroku (a free server)
  11. 11. It dosen’t work with GAE (a free server)
  12. 12. “Why won’t WordPress work?”
  13. 13. Let’s talk about Ruby.
  14. 14. ‘And so, innovative software is born’.
  15. 15. CMS for Cloud
  16. 16. Features
  17. 17. It is compatible with a number of platforms. •Heroku • Google App Engine • Windows, Mac OS X, UNIX
  18. 18. It supports various DB • SQLite3 • MySQL • PostgreSQL • Datastore • MongoDB (Under construction)
  19. 19. Installation is simple. • Install Ruby (RubyInstaller for Windows is recommended.) • setup.exe • pyha.exe
  20. 20. Creating themes is simple.
  21. 21. Minimum Configuration simple/ entries.erb (at a glance) entry.erb (details) style.css (stylesheet) (layout.erb can also be used.)
  22. 22. Making plug-ins is simple.
  23. 23. Sinatra Extension Subset
  24. 24. Helper module Pyha module MyHelpers def me? current_user.id == 1 end end end
  25. 25. Application Extension module Pyha module Hello def self.registered(app) app.get '/hello' do 'hello' end end end end
  26. 26. The Most Important Function
  27. 27. Haml can also be used.
  28. 28. There are members, but not enough. • Users (the people who use it) • Plug-in developers • Theme designers • Core committers
  29. 29. http://pyha.cc
  30. 30. That is all. Thank you.

×