If you can't read please download the document
Upload
yamamoto-kazuhisa
View
2.553
Download
0
Embed Size (px)
Citation preview
IronRuby + Sinatra.NET
2010.10.30
IronRuby
Sinatra
Ruby
(C#)
Ruby / Ruby on Rails
Rails3, MongoDB,tumblr + OAuth
picmy.net
@kazuhisa1976
IronRuby
IronRuby
.NET FrameworkRuby
Pure Ruby + .NET Framework
MRI(Matz' Ruby Inplementation)
IronRuby
http://ironruby.net/
(?)
requireinclude
require
requireinclude
include
.NET FrameworkDLL
C# or VB.NET
IronRuby
DLL
Windows Form
require 'System'require 'System.Windows.Forms'
include System::Windowsinclude System::Windows::Forms
class TestForm < Form def initialize self.Text = "Hello World Form" endendApplication.run TestForm.new
()
Web
Sinatra
Sinatra
RubyDSL
require 'rubygems'require 'sinatra'
get '/' do 'Hello world!'end
WebRackSinatra
get '/' do .. .. end
post '/' do .. .. end
put '/' do .. .. end
delete '/' do .. .. end
http://www.sinatrarb.com/intro-jp.html
ControllerView
jQuery
rubygems
Windows
GUI