ޤ

ǶޤȤʸϤ񤱤ʤʤäƤޤ

2010ǯ09

980ߤǥ512MBʤΤǡĿͤǺȤäƤlinode󤷤Ƥäˤ褦ʤ

VPSVPSʲѥСˤϤ饤󥿡ͥå
VPSϡ۲ѤѤ1ʪоʣβۥФۤͤβѥФȤƤѤ륵ӥǤѥФμͳ٤ȶѥФʡƲۥФʤǤϤεǽ碌äۥƥ󥰥ӥVPS򤼤ҤѤ





linodeȤVPSȤǡyum list installedƤawk '{print $}'|sed "s/?..*//"Τdiff --side-by-sideƤߤ

Linode顣줾켫ʬǤ줿ΤäȺäƤޤޤ


³ɤ

Τʤä

Scala#01ǡ֤ޤǤScala 줫ScalaפȤȯɽ򤷤 -
οǡScalatra + ScalateGAE˺ܤ褦ȤƤޤʤơScalatra-scalate-supportμƤʤäݤʤǺټʬǥľƥӥɤƻƤߤޤޤä饨ȥ񤭤ޤ



ȤǡΥ饤ɤP.10Υȥǽ񤤤褦JavaVMScalaưäƤĤޤɤȡߤä񤤤ƤΤǶ̣ͤϸƤߤȤȻפ



ScalateäƤΤϥƥץ졼ȥ󥸥󡣥ƥȤƤJavaǸJSPߤʤΤȻפäƤФ󤸤㡩

TemplateäƤΤ̾Ū˳ݤƤ롣


Playframework Scalate ȤäƤߤ - ̷
Scalate
Scala Template Engine: like HAML or JSP without the crap but with added Scala coolness
HAML ʬʤ JSP Scala ΤȤ­ƥץ졼ȥ󥸥
erb ˻Τ ssp
haml ˻Τ scaml
ɤ餫 conf/application.conf ǻꤹ
ssp, scaml Ȥ˭٤ʥץ
(20100710) play-1.1-unstable-r881, scalate-0.3,scala-0.3 ޤǤƥȤƤʤȤȤɡplay-1.1-unstable-r942, scalate-0.3,scala-0.6 Ȥ߹碌ʤ
app/views/default.scaml äơ index.scaml ƤǤʤƤ⡢index.scaml Υե뤬ʤ硢̤ˤϲ褵ʤʿ򤤤ޤޡˡ̤ϥ顼(Template not found)ɽ
̤굡ǽäƤơʤȤʴ
JAXRS with Jersey ȤϤ褯ʬäƤʤ






rubyѤWEBץե졼SinatraäƤΤɡScalaѤʤΤScalatra餷

Scalatra | A tiny, Sinatra-like web framework for Scala
Since its origin on Gabriele Renzi's blog, this project has been known as Step. Unfortunately, we later discovered that name was already taken. Per Hiram Chirino's suggestion, we have decided to rename the project to Scalatra. Scala + Sinatra = Scalatra.



ܸεΤŬ˸ƻƤߤȤ




ǤĶĤʤȤʤäȼ֤¿⡣

ʤΤǡJavaδĶǤˤʤ顢PlayȤФ󤸤ʤȡ

JavaǷڲ˻Ȥַ̥ե졼ýܳŪRoRե졼Play!ס1ˡ1/7ˡCodeZine
WebΥե졼ȸСΤۤȤɤRoRספǤRoRRuby on RailsˤWebγȯͿƶ礭θޤ줿ե졼¿αƶƤޤ

Java˴ؤƤϡRoRϤʤ̤ꤷƤޤޤStrutsȤǥեȥɤä˿MVCե졼;ϤޤʤäΤ뤤LLʥ饤ȥȡ˸ǤʤRoRʥϺˤäΤȤ⤢졢θ塢Ĺ֡JavaǤϡ֤RoRספȸե졼о줷ޤǤ

ήѤΤϡGroovyǤGroovyоˤꡢJavaǤLLΤ褦ʾʹǥ󥰤ǽȤʤޤΤǡ褦䤯Javaˤ٤ޤʤ鿷Υե졼о줹褦ˤʤޤ1Ĥ夲Play!פǤ





PythonDjango褿ߤǤ

hikozaemonchan: Hello, Play framework
Play frameworkȤäȤͤϤɤ줰餤
ʤ򤤥ե졼Ȥϻפʤä
䡢ե졼ȤꡢץåȥեǤ

ޤJava on Railsʤ򸫤Ƥޤäǥ롼Ƥ
ˡRailsȤջӤDjangoJava˥ݡȤפȸʤȤʤɡ
ᤷƤƤǤǤ
ϥޥɥ饤ʤ󤫤ʤޤPython for WindowsĤƤΤϳΤ򤤤ɡ
ʤȤäƤJavaλȤ̿Ū򤤡









ޤʸϤIT̤и´֤ʤȤ󥵥ƥ󥰡פäƤIT󥵥βҤ˽ơITƥ׷߷׹۵ѤȤˤĤ褦Ȥ褦ʾˤϡޤܥ֥꤬ʤɤĤʤȤ褦ʤȤϳΤˤꤨ뤫ʡʤʤαǤ⤽ääɡ



ξκǰʥꥪȤƤϡ


ܥ֥꤬­ʤƲä򤷤ƤΤȽʤ

äƤǤʤ򤯤ʤ̣ͯʤ

ּʬϤΤˤ϶̵̣פοʹ֤ǤפȼʬȤ

ѥ




ûŪˤϤΤؤˤĤƥץ쥹餱ʤ٤ˤϤʤäƤȤ⡣ʬȤƤ⤽ä꤬ΤϤ꤬Ȥ򤷤

ñμ̵ͭä빽ñäʲ̥饤ΰ̾ФΤƱ٥


ŪˤWEB+DB PRESSβǯʬ餤򤶤äɤȤ




ȡٶŪBlogʬǽ񤯤Τ⤤󤸤ʤʤȡ̣˸Ȼפ
ǡ񤤤ֽ񤭤ޤŪˤĤ֤䤯Ȥ




WEB+DB PRESS Vol.58WEB+DB PRESS Vol.58
ԡ
丵ɾ
ȯ2010-08-24
ߤ򸫤


񤤤ƤƤ򤷤Ƥ館뤫ɤ򤷤Ƥ館Ȥ鲿Ѳʤ㤤äꤹ뤫ɤΥƥȡ




Twitter / masaka: ءΤ󤫤äRT @wats: [Mirah][ ...
ءΤ󤫤äRT @wats: [Mirah][ruby][java] Mirah - JRubyǤϤʤJVMưrubyΥ󥹥ȡ http://bit.ly/9nqfHe


Twitter˽񤳤ȤפäɡĹʤäΤǤä˽񤤤Ȥ



äȡMirahäƤ줬äƤΤ@wats ᤬ʬBlog˽񤤤ơˤʬTwitter˽񤤤ƤơʬϤɤǡʤΤؤΤ󤫤äȤ


ǤϤޤJRubyǤʤJVMưrubyפȤʬˤĤ



Ƥ⤽RubyäƤ줬ΤϤ¸Τʤ

ޤĴ٤Ƥ餦Ȥ



ǡrubyΥꥸʥǤγȯ¹ԴĶCrubyǼ줿ΤʳˤĤޤ衢

MSäǤȤʤߤȤʤɡiron rubyäˡJavaVMưѤSunοͤĤϤ᤿ۤȤʤ줬JRuby


ĤޤJRubyפäƤΤϡJavaVMrubyư褦ˤΡסäƤ

Ȥ櫓ǡǽΡJRubyǤʤJVMưrubyפǤ

JRubyǤʤJRubyǤϤʤ
JVMưJavaVMư
rubyrubyΤ褦ʻȤä

äƤΤɤäïäƸϤޤ衡äự





⤽⡢JavaJavaVMʲۥޥȤ̾Υեȥ˾ưƤ롢äƤΤ򤷤ƤΤ狼

ޤȤˤJavaθͤ˴ŤƥƥȥեʸǼơѥäۤ˳ݤƤǤեJavaVMäƤΤϤȡCPUեͳǤޤ




WEBץäƤΤϥͥåȥͳƤ餫ʸᤷơDBɤɤꤷơ̤HTMLȤʸ֤äƤȤƤޤ

ͥåȥʸƤʬJavaVMźդƤ饤֥ȤȤǼȴޤ

ͥåȥƤƤФäƤȤޤǤϥ֥åȤAPIǡˤȤä̤Υ饤֥꤬WEBץΥե졼Ȥ










ȡθȤä̤θ롢äƤΤ狼äƤ館

äϳϴñǡ㤨С1 add 1פäƽ񤤤Ƥƥȥեɤ߹ǡΣȣȤ­ʡȲᤷơºݤ˷׻ơɽ롢ߤʥץС줬ȼθ褦



ȥѥƱ˼¹Ԥ륤᡼JavaǤ.classեŪ˺ä褦ʥ᡼륤󥿡ץ꥿





ǡJavaϹ®ǰꤷ¹ԴĶȤȤˤʤäƤΤǡξ̤θưäƤΤƤƤ

scalaȤclojureȤ

Τٶ餤Ȼפɤ͡ǯ餤ФʤȤʤ뤫ʤʤʤ



ؿäƤΤΤΤäƤޤĴ٤Ƥ餦Ȥơʼ夤

ޤLispȤäȤäƤߤȤ󤸤ʤ



ƤrubyäƤߤΤ򥪥᤹

ˤäƻȤ꤬㤦äƤΤޤδ򤷤Ƥ館뤫⡣







ȤꤢɤТ

ƤRubyƤRuby
ԡYugui
丵饤꡼ѥ
ȯ2008-06-26
١4.5
ߤ򸫤



ΥڡΥȥåץ