vmc
        2011/10/18(tue)
      1 CloudFoundry
•                             (@komasshu)

•             NTT

    •   Web

•             Javascript

    •   WebSocket

•   Google API Expert (HTML5)

•   Microsoft Valuable Professional (IE)
“   ” @ amazon
• Web-GUI   vmc
vmc
The command line client for Cloud Foundry




           https://github.com/cloudfoundry/vmc
vmc
CLI(wrapper)


               vmc   REST   controller




         require ‘vmc’
/lib/vmc/client.rb
• vmc
• CLI
/lib/vmc/client.rb


      Good
    tutorials
    are in it!!
Web-GUI
                          point
token = client.login("foo@example.com", "password")
session[:token] = token



get ‘/’ do
  client = VMC::Client.new(VMC::DEFAULT_TARGET,
    session[:token])
  client.apps
end

                                         ω
              2   token check
                                   ´
https://github.com/KensakuKOMATSU/vmc/blob/master/app.rb
                                                   ※




                   sample site
cloudfoundry.com




          https://komportal.cloudfoundry.com/
Thank you!!
http://twitter.com/komasshu

20111018 1st lt_kom

Editor's Notes