Use Evolutions. Write a setup and teardown script for the fixtures in SQL, or use mysqldump (or equivalent for your DB) to export an existing test DB as sql. http://www.playframework.org/documentation/1.2/evolutions I find the most stress-free way to do testing is to set everything up in an in-memory database which means tests run fast and drive the tests from Java using JUnit. I use H2DB, but the
Play2 Scalaã®ããã©ã«ãã®ãã¹ãã®ä»çµã¿Specs2ã etorreborre/specs2 @ GitHub specsããspecs2ã«ãªã£ã¦çµæ§ä»æ§ãå¤ã£ã¦ã¦ãspecs2ã«ç§»è¡ããã«ã¯A++ [Eric Torreborre's Blog]: specs2 migration guideãåèã«ãªãã åSpecå®è¡æã®äºåå¦çãäºå¾å¦çã®ä»çµã¿ãå¤ã£ã¦ãã®ã§ãããã ããã£ã¨ã¾ã¨ãã¦ã¿ãã doBeforeãdoAfterã®å¤æ´ç¹ äºåå¦çãäºå¾å¦çã®å®è£ æ¹æ³ã¯ä½éããããã specsã®doBeforeã¯specs2ã§ã¯âã®ããã«æ¸ããã import org.specs2.mutable.Specification import org.specs2.specification.Scope class SampleSpec extends Specification{
ãæ訳ãScala on Play2 with Squerylã§ã¯ããããã¼ã¿ãã¼ã¹é§åã¢ããªã#scalajpã#play_ja ãæ訳ãScala on Play2 with Squerylã§ã¯ããããã¼ã¿ãã¼ã¹é§åã¢ã㪠ãã®è¨äºã¯ãHerokuã®Principal Developer Evangelistã®James Wardæ°ã¨Ryan Knightæ°ã®è¨äºGetting Started with Play 2, Scala, and Squerylã®æ訳ã§ããåèç¨åº¦ã«ã©ããã 誤訳ã»èª¤æ¤çããã¾ãããã@modal_soulã¾ã§ãªãã©ã¤ããã ããã¨ãããããã§ãã ãµããªã¼ ãã®è¨äºã§ã¯ãPlay2,Scala,Squeryl,JSON,CoffeScript,CoffeScript,jQueryã¨ScalaTestã使ã£ãWebã¢ããªã±ã¼ã·ã§ã³ã®ä½ãæ¹ãç´¹ä»ãã¾ããã¾ã
Google ã®ã¦ã§ããã°å ¬éãã¼ã«ã使ã£ã¦ãããã¹ããåçãåç»ãå ±æã§ãã¾ãã
ãªããVelocityãJSPãã¹ã¯ãªããè¨èªããé ãã¨ããäºå®ã¯ãJavaå±ããã¯ããã¾ãç¥ããªãã£ãã¿ããã ããããããé ãåå ã®èå¯ãçå¤ãã°ããã§ç¬ã£ã¦ãã¾ãã ãJavaã®æååæä½ã¯é ããããã¨ããUTF-16ã®å¤æã«æéãããããããã¨ãããããªã®ã¾ãã§é¢ä¿ãªãã§ããããJavaã®æååæä½ã¯ååéãããUTF-16ã®å¤æã主è¦å ã§ã¯ãªãã ï¼ã¤ãããããJavaã®æååæä½ã¯é ããã¨ããJavaã«å¯¾ãã¦å¤±ç¤¼ã ãã VeocityãJSPãé ãã®ã¯ãåã«åçãªç¬èªè¨èªãå°å ¥ãããããã¯ã£ãããã£ã¦ãããã¯ã¢ã¼ããã¯ãã£ä¸ã®ééã£ãé¸æããã£ããJavaãéçã§ããã®ã«ãã®ç¹æ§ãå©ç¨ãããããããåçè¨èªãå°å ¥ãã¦ããã®ã ãããä½èãã¦ãã ããã¨æãããã¤ãJavaå±ããã主張ãã¦ãããããªããã³ã³ãã¤ã«æã«ã¨ã©ã¼ãçºè¦ã§ããããIDEã§ã®è£å®ãå¹ãããããããªãã¡ã¯ã¿ãªã³ã°ã
ã»ã¾ãã¯PJä½æ play new æ°è¦PJå ã»playã³ãã³ãã§PJã¤ã³ã¹ã¿ã³ã¹ï¼ãèµ·å cd æ°è¦PJå play ã»ã¨ããããèµ·å [æ°è¦PJå] $ runãã©ã¦ã¶ã§localhost:9000ã«ã¢ã¯ã»ã¹ã ctrl-d ã§åæ¢ã ãµã¼ãã¼ã®èµ·åãã¼ããå¤æ´ããã«ã¯ã conf/application.confããªã¨æã£ããã©ãã¡ãã£ã¨è¦å½ãããããã¨ã§èª¿æ»ã ã»Eclipseããã¸ã§ã¯ããä½æ [æ°è¦PJå] $ eclipsifyEclipseããå¤é¨PJã®ã¤ã³ãã¼ããé¸ã¶ã ã»Eclipseãããããã°ããã«ã¯ãPlayã®ãããã°å®è¡ã¢ã¼ãã§å®è¡ããã¦ããã¦ã Eclipseãããªã¢ã¼ããããã°ã¨ãã¦Playã®ããã»ã¹ã«ã¢ã¿ããããã Eclipseã«ã¦ãããã°å®è¡ã®Configãä½ãã Debug Configuration -> Remote Java Applicat
As you know the new release of IntelliJ IDEA finally comes with support for Play 2.0, a popular Java and Scala framework for web development. The support brings new project wizard, run/debug configurations and code assistance for Scala templates and routes, with code completion, navigation and on-the-fly code analysis. Now you donât need to switch between IntelliJ IDEA and Play console anymore. Ev
ScalaSeamless data access for your Scala application â Write Scala code to query your database. Type SafeAll database entities and queries are statically checked at compile-time. Slick is an advanced, comprehensive database access library for Scala with strongly-typed, highly composable APIs. Slick makes it easy to use your database in a way thatâs natural to it. It allows you to work with relatio
ããã³ã¾ãã¯ãRuby ã«é¢ããæè¡è¨äºã¯ãã¡ããã®ãã¨ãRubyist ã¸ã®ã¤ã³ã¿ãã¥ã¼ãã¨ãã»ã¤ããã®ä»ããå±ãããã¦ã§ãéèªã§ãã Rubyist Magazine ã«ã¤ã㦠ãRubyist Magazineããç¥ãã¦ããã³ã¾ãã¯ãæ¥æ¬ Ruby ã®ä¼ã®æå¿ã«ãã Rubyist ã® Rubyist ã«ãããRubyist ã¨ããã§ãªã人ã®ããã®ã¦ã§ãéèªã§ãã ææ°å· Rubyist Magazine 0058 å· ããã¯ãã³ãã¼ Rubyist Magazine 0058 å· RubyKaigi 2018 ç´åç¹éå· Rubyist Magazine 0057 å· RubyKaigi 2017 ç´åç¹éå· Rubyist Magazine 0056 å· Rubyist Magazine 0055 å· Rubyist Magazine 0054 å· æ±äº¬ Ruby ä¼è° 11 ç´
以åããGoogleChromeã«ã¦ææãé »ç¹ã«èªã¿è¾¼ã¿ä¸ã®ã¾ã¾ æ¢ã¾ã£ã¦ãã¾ãã¨ããç¾è±¡ãçºçãã¦ãã¾ãã ãã¼ã ãã¿ã³ãæ¼ããæãããã¯ãã¼ã¯ãéããéã«ãã¼ã¸ãéããã« ãã®ã¾ã¾ã°ã«ã°ã«åã£ã¦ããã ãã§è¡¨ç¤ºãããªãã¨ããç¾è±¡ è¨å®ã§ç´ãããç¥ãã¾ãããä¸åº¦ã試ããã ãã ã¾ããã¼ã«ã«ã¦ãè¨å®ããã¯ãªãã¯ãã¾ã è¨å®ç»é¢ã®ä¸çªä¸ã®ã詳細è¨å®ã表示ããã¯ãªã㯠ããããã¯ã¼ã¯åä½ãäºæ¸¬ãã¦ãã¼ã¸ã®è¡¨ç¤ºé度ãåä¸ããããã® é ç®ã®ãã§ãã¯ãå¤ãã¾ã ããã ãã§ãã¼ã¸ãèªã¿è¾¼ã¿ä¸ã®ã¾ã¾æ¢ã¾ãäºã¯ç¡ããªãã¾ãã ãããã¯ã¼ã¯åä½ãäºæ¸¬ãã¦ãã¼ã¸ã®è¡¨ç¤ºé度ãåä¸ãããã¨ã¯ã»ã»ã» ã¦ã¼ã¶ã¼ã次ã«ã¯ãªãã¯ããããªãªã³ã¯ãäºæ¸¬ãã¦ãChromeã«äºåã«æ¬¡ã®ãã¼ã¸ã ç´ æ©ãéãããã«ã¬ã³ããªã³ã°ï¼è¡¨ç¤ºæºåï¼ããã¦ããæ©è½ã§ã æãããã®äºåãã¼ã¸äºæ¸¬æ©è½ã®è² è·ãé«ãï¼å¯è½æ§ããã ããªã¼ãºãã¦ããå¯è½æ§
㨠@translucencyman SFCåæ ¼ãã¾ãã(o^^o)æ¥ããæ§ãã®SFCçï¼ãã©ãã©ããã¿ãªããã¨å¦ã¹ãã®ãæ¬å½ã«æ¥½ãã¿ã§ãªãã¾ãã(>_<)ããããªããã¨ãã£ã±ããªã®ã§çããæãã¦ãã ãã( ´ â½ ` )ï¾ãããããé¡ããã¾ãï¼ äºå @uritan SFCåæ ¼ãã¾ãã(o^^o)æ¥ããæ§ãã®SFCçï¼ãã©ãã©ããã¿ãªããã¨å¦ã¹ãã®ãæ¬å½ã«æ¥½ãã¿ã§ãªãã¾ãã(>_<)ããããªããã¨ãã£ã±ããªã®ã§çããæãã¦ãã ãã( ´ â½ ` )ï¾ãããããé¡ããã¾ãï¼ ãã©ãã©ããåãã ããã丸ããª(PhD) @honeyorange SFCåæ ¼ãã¾ãã(o^^o)æ¥ããæ§ãã®SFCçï¼ãã©ãã©ããã¿ãªããã¨å¦ã¹ãã®ãæ¬å½ã«æ¥½ãã¿ã§ãªãã¾ãã(>_<)ããããªããã¨ãã£ã±ããªã®ã§çããæãã¦ãã ãã( ´ â½ ` )ï¾ãããããé¡ããã¾ãï¼
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}