Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
The document discusses Scala programming concepts including object-oriented programming, functional programming, collections, pattern matching, and more. It provides code examples of defining objects and classes, functions, for expressions, match expressions, case classes, traits, generics, and collections like List and Map.Read less
Javaã®å¸¸èãå¤ãããPlay frameworkãã¨ã¯ ãPlay frameworkãã¯ããµã¼ããµã¤ãJavaã¨Scalaã®ããã®MVCãã¬ã¼ã ã¯ã¼ã¯ã§ãããã®é£è¼ã§ã¯ã主ã«Javaã®ãã¬ã¼ã ã¯ã¼ã¯ã¨ãã¦ã®Play frameworkãç´¹ä»ãã¦ããã¾ããã§ããJavaã§ãWebåãã§ãMVCã§â¦â¦ããªãã¦ããããµããæãã§ãããããããªããScalaã§ãã©ãä½ãã®ããã¨ãã話ã®æ¹ãèå³ããã¨ããæ¹ãããã§ãããã ããããPlay frameworkã¯ãã¼ã¸ã§ã³1ã¾ã§ã¯Javaã®ãã¬ã¼ã ã¯ã¼ã¯ã¨ãã¦ä½ããã¦ãã¾ãããã¾ããScalaã¯JavaVMä¸ã§åä½ããããã°ã©ãã³ã°è¨èªã§ããã¤ã¾ãç¾å¨ã®ææ°ãã¼ã¸ã§ã³ã®2ã§ãåºç¤ã®é¨åã§åãã¦ããã®ã¯Javaã§ããPlay frameworkãç¥ãããã«ã¯ãã¾ãåºç¤ããåºãã¦ããã®ãæ£æ»æ³ã ã¨æãã¾ããScalaã«ã¤ãã¦ç¥ãããèªè ã¯ã以ä¸ã®è¨
Scalaã¯æ¯è¼çDSLã«åãã¦ããè¨èªã¨è¨ããã¦ãã¦ãè¨å®ãã¡ã¤ã«ã¨ããScalaã§æ¸ãã¨ãã£ããããªæµããå種èåãªã©ã¤ãã©ãªã«ã¯ããããã§ãã ä¾ãã°ãLiftã®Boot.scalaã¨ãâ¦ã ã¨ã¯ããããããã®è¨å®ãã¡ã¤ã«ã£ã¦ã½ã¼ã¹ã®ä¸é¨ã§ããããããã£ã¦ãé½åº¦ã³ã³ãã¤ã«ãããã£ã¦ãã¨ãããªãï¼ã¢ããªã±ã¼ã·ã§ã³ã®åèµ·åã¯ä»æ¹ããªãã¨ãã¦ããè¨å®ãã¡ã¤ã«ãå¤ããã¨ã³ã³ãã¤ã«ããªãã¡ããããªãã£ã¦ããã¾ããªãããï¼ ã§ãScala Compilerã£ã¦JavaVMä¸ã§åãããã§â¦ã¨ããã°ãScala Compilerã®APIãç´æ¥å¼ã³åºããã¨ã§åçã«ã³ã³ãã¤ã«ã¨ãã§ããªããã®ãããâ¦ã¨æã£ã¦ã¡ãã£ã¨èª¿ã¹ã¦ã¿ããããã£ã±ããã£ã¦ãã人éãã¾ãããã Twitterã ã£ããã©ãâ¦ã Evalãªãã¦ã¯ã©ã¹ãTwitterãä½ã£ã¦ããã®ã§ããããåèã«Scala Compiler APIã§éãã§
Not your computer? Use a private browsing window to sign in. Learn more about using Guest mode
Akka is relied upon when application responsiveness must be guaranteed. Industry titans and disruptors use Akka to power apps that automatically adapt to change. Akka apps are elastic, agile, and resilient...no matter what. Akka is relied upon when application responsiveness must be guaranteed. Engineering teams use a simple SDK and powerful libraries to build transactional, durable, and real-time
Scuery Transform HTML using jQuery style DSL in Scala Scuery provides an XML transformation library which uses a jQuery style approach, using CSS3 selectors to transform HTML or XHTML to inject dynamic information from static HTML/XHTML documents owned by designers. For example a designer could create a mock up layout in HTML; or have a sample page with mock data. Scuery can then be used to transf
NetBeansãã©ãããã©ã¼ã ã¯ã大è¦æ¨¡ãªãã¹ã¯ãããã»ã¢ããªã±ã¼ã·ã§ã³ã®åºç¤ã«ãããã¨ãã§ãããåºç¯ãªJavaãã¬ã¼ã ã¯ã¼ã¯ã§ããNetBeans IDEèªä½ã¯ãNetBeansãã©ãããã©ã¼ã ã«åºã¥ããæ°ç¾ã®ã¢ããªã±ã¼ã·ã§ã³ã®1ã¤ã§ããNetBeansãã©ãããã©ã¼ã ã¯ãã¦ã£ã³ãã¦ãã¢ã¯ã·ã§ã³ããã¡ã¤ã«ãããã³ã¢ããªã±ã¼ã·ã§ã³ã«ä¸è¬çãªãã®ä»ã®å¤ãã®å¦çã容æã«ããAPIãå«ãã§ãã¾ãã NetBeansãã©ãããã©ã¼ã ã»ã¢ããªã±ã¼ã·ã§ã³ã®ããããã®æ©è½ã¯ããã©ã°ã¤ã³ã«ä¼¼ãåå¥ã®NetBeansã¢ã¸ã¥ã¼ã«ã«ãã£ã¦æä¾ããã¾ããNetBeansã¢ã¸ã¥ã¼ã«ã¯ãç¹å®ã®æ©è½ãæã¤ã¢ããªã±ã¼ã·ã§ã³ãæä¾ãããJavaã¯ã©ã¹ã®ã°ã«ã¼ãã§ãã
scalate Scala Template Engine: like JSP without the crap but with added Scala coolness Scalate: Scala Template Engine Scalate is a Scala based template engine. Scalate can be used stand alone or as a servlet or renderer when using JAXRS with Jersey. Scalate supports the following languages SSP pages which are like JSP/ASP pages Scaml pages which is a Scala dialect of Haml Compared to JSP, SSP miss
Spring Bootã«ããAPIããã¯ã¨ã³ãæ§ç¯å®è·µã¬ã¤ã 第2ç ä½å人ãã®éçºè ããInfoQã®ããããã¯ãPractical Guide to Building an API Back End with Spring BootããããSpring Bootã使ã£ãREST APIæ§ç¯ã®åºç¤ãå¦ãã ããã®æ¬ã§ã¯ãåºçæã«æ°ãããªãªã¼ã¹ããããã¼ã¸ã§ã³ã§ãã Spring Boot 2 ã使ç¨ãã¦ãããããããSpring Boot3ãæè¿ãªãªã¼ã¹ãããéè¦ãªå¤...
Kojo is an open source learning environment that is available as a desktop-app for Linux, Windows, and Mac, and as a web-app that runs on any modern internet-browser. Inside Kojo, youngsters (from ages 8 to 80!) â play, create, and learn: They play with Scala programs. They create drawings, animations, games, and Arduino based intelligent circuits (with appropriate additional hardware). And they l
ãã®ãã¡ã¤ã³ã¢ãã«ã«åºã¥ãã¦ãã¾ã第ä¸ã«ããã®ã¢ã¼ãã£ã¯ã«ã§ã¯ãã©ã®ããã«Hibernate/JPAã使ã£ã¦ãScalaã«ããã Personã¨ã³ãã£ãã£ç¨ã® ã¸ã§ããªãã¯Data Access Object (DAO) ã¨å ·ä½çãªDAOã®å®è£ æ¹æ³ã示ãããã®çµæã PersonDaoã«ã CRUDæä½ãå®è¡ã§ããããã«ãªãããä¾: val p1 = new Person(âRod Johnsonâ) val p2 = dao.findByName(âMartin Oderskyâ) p1.link(p2) personDao.save(p1) Step 2 ãããããã®ã¢ã¼ãã£ã¯ã«ã¯ãPerson ã¨ã³ãã£ãã£ãããªãããªããã¡ã¤ã³ãªãã¸ã§ã¯ãã«å¤æããã®ã«ãä½ãå¿ è¦ãªã®ããè¦ç´ããããã®ãªãã¸ã§ã¯ãã¯ãå é¨ã§ NotificationServiceã使ã£ã¦ãlinkã¡ã½ãããå¼ã°ããã¨
Ruby ã®ãããã¯ã¤ã open ã®ããã«åæã«å¾å§æ«ããã¦ããã open ã¡ã½ããã Scala ã§å®è£ ãããã¨ãèãã¦è¦ã¾ãããããç´ ç´ã«æ¸ãã°ãããªãã¾ãã import java.io.FileOutputStream object DisposableFile1 { def openOut(path: String)(block: FileOutputStream => Unit) { val out = new FileOutputStream(path) try { block(out) } finally { out.close() // Console.println("closed") } } } ããã¯ãã®ããã«ãã¦ä½¿ãã¾ãã scala> import DisposableFile1._ import DisposableFile1._ scala> openO
â [Scala] RubyããScalaã«ä¹ãæãã15ãããã®çç± [注æ] ãã®æç« ãèªãã¨ãæ¢åã®Rubyã³ã¼ããScalaã§rewriteããããªãã Rubyã³ã¼ãã§åãã§ãã¯ãããã®ã鬱ã«ãªããRubyæ¡ä»¶ã§ããæ°ãåºãªããªãã ãªã©ã®å¹»è¦ãç°å¸¸è¡åãå ±åããã¦ãã¾ãã ç¾å¨é¢ãã£ã¦ããããã¸ã§ã¯ãã家æã®ãã¨ã常ã«æèãã æ°ãå¼·ãæã£ã¦å·éã«èªãã¨ããã§ãããã ãScalaããã°ã©ãã³ã°å ¥éããèªã¿ã¯ããã¦ããããªã大ããé ·ãã¦ãã¾ã£ãã "ã³ã¼ãã£ã³ã°æéã®ååããã¹ãä½æã«è²»ãããªããã°ãªããªãã£ã"(p.3) "Railsã«ãã£ã¦å¾ãããçç£æ§ã®åä¸ã¯ããã¹ãä½æã®ä½æ¥ã«å¤±ããã¦ãã¾ãã¾ãã"(p.3) ã¾ãã«ããæ°å¹´ç§ãæ±ãã¦ãæ¼ ç¶ã¨ããã¹ãã¬ã¹ã®æ£ä½ããç確ã«æç« ã¨ãªã£ã¦ããããã ãããã¦ã»ã©ãªããããããã®æ©è½ãRubyã«æ¬²ããã£ãï¼ãã¨ããé©ãã¨å ±ã« Sc
ã¯ããã« ååã®ãGoogle App Engine/Javaã§ã®Scala/Liftã¢ããªã±ã¼ã·ã§ã³éçºï¼åç·¨ï¼ãã§ã¯ãGoogle App Engineï¼GAEï¼Javaã§Liftã¢ããªã±ã¼ã·ã§ã³ãå©ç¨ããåºæ¬çãªæ¹æ³ã解説ãã¾ããã å¾ç·¨ã§ããæ¬ç¨¿ã§ã¯ãååä½æããã¤ãã³ã管çã¢ããªã±ã¼ã·ã§ã³ã«æ©è½è¿½å ãè¡ããªãããGoogleãæä¾ããemailãµã¼ãã¹ãã¹ã±ã¸ã¥ã¼ã«ãµã¼ãã¹ï¼cronï¼ãTaskQueueï¼éåæããã¯ã°ã©ã¦ã³ãå¦çï¼ãªã©ãå©ç¨ãã¦ã¢ããªã±ã¼ã·ã§ã³ãæ§ç¯ããæ¹æ³ã«ã¤ãã¦èª¬æãã¾ãã ã¾ããããã¾ã§èª¬æãã¦ããªãã£ãLiftViewã«ãããã³ãã¬ã¼ããå©ç¨ããªãã¬ã¹ãã³ã¹ã®çæããã«ã¹ã¿ã ãã£ã¹ãããã§ä»»æã®URLã®å¦çãè¡ãæ¹æ³ãç´¹ä»ãã¾ãã 対象èªè Javaã¯ç¥ã£ã¦ããããScalaãå¦ãã§ã¿ããã¨æã£ã¦ããæ¹ Scalaã§ã®Webã¢ããªã±ã¼ã·ã§ã³éçºã«èå³ã
Simpler Scalability, Fault-Tolerance, Concurrency & Remoting through Actors Simpler Concurrency Write simpler concurrent (yet correct) applications using Actors, STM & Transactors. Event-driven Architecture The perfect platform for asynchronous event-driven architectures. Never block. True Scalability Scale out on multi-core or multiple nodes using asynchronous message passing. Fault-tolerance Emb
ã¢ãã«é§åéçºã®ã¨ã³ã·ã¹ãã ãæ¯ãããã¼ãã¼ãã¨ãã¦ãWebã¢ããªã±ã¼ã·ã§ã³ã»ãã¬ã¼ã ã¯ã¼ã¯ã®Cozy Webãéçºãã¦ãã¾ããã ä»åããCozyã使ç¨ããã¢ãã«é§åéçºã«ã¤ãã¦å ·ä½çã«èãã¦ããããã¨æãã¾ãã Cozyã¯ç¾å¨éçºéä¸ã§ãããã¢ãã«é§åéçºã«å¿ è¦ãªæ©è½ãæ¡å¼µãã¦ããä¸ã§ã©ã®ãããªæ©è½ãå¿ è¦ãã®æ´ãåºããç®çã§ããè¦æ±ã¢ãã«ã«ãããã¦ã¼ã¹ã±ã¼ã¹åæçãªã¢ããã¼ãã§ããã Essenceã¨ããOMGãæ¨æºåãã¦ããéçºæ¹æ³è«ãã¬ã¼ã ã¯ã¼ã¯ã®æ çµã¿ãç¨èªã使ç¨ãã¦èãã¦ãããã¨ã«ãã¾ãã å®éã®æ¤è¨ã«å ¥ãåã«ãä»åã¯éçºæ¹æ³è«ãè¨è¿°ããè¨èªã¨ãã¦ä½¿ç¨ããEssenceã«ã¤ãã¦ã¿ã¦ããã¾ãã EssenceEssenceã¯Software Engineering Methods and Theoryã¨Object Management Group®ã«ãã£ã¦ä½æãããéçºæ¹æ³è«ã®
ã¯ããã« Google App Engineï¼GAEï¼/Javaã§ã¯ãJavaä»®æ³ãã·ã³ä¸ã§åä½ããè¨èªãå©ç¨ãããã¨ãã§ãã¾ããä¾ãã°ãJRubyãGroovyãªã©ã§ãã Scalaããã³ã³ãã¤ã«ãããã¨ã«ããJavaä»®æ³ãã·ã³ä¸ã§åä½ããã¯ã©ã¹ãã¡ã¤ã«ãçæããè¨èªã§ãã®ã§ãå½ç¶ãGAE/Javaä¸ã§åä½ããããã¨ãã§ãã¾ãã Scalaãåä½ããã¨ãããã¨ã¯ãScalaã§ã§ãã¦ããWebã¢ããªã±ã¼ã·ã§ã³ãã¬ã¼ã ã¯ã¼ã¯ã§ããLiftãå ã«ä½æãããã¢ããªã±ã¼ã·ã§ã³ããGAE/Javaã«è¼ãããã¨ãã§ããã¨ãããã¨ã§ãã åå¾ç·¨ã§æ§æãããæ¬é£è¼ã§ã¯ãScalaããã³LiftãGAE/Javaä¸ã§åä½ãããæ¹æ³ã解説ããå¾ããµã³ãã«ã¢ããªã±ã¼ã·ã§ã³ã§Googleãæä¾ãããã¾ãã¾ãªAPIãå©ç¨ãããGAEãªãã§ã¯ã®ã¢ããªã±ã¼ã·ã§ã³ãä½æãã¦ãGAEã§ã®ã¢ããªã±ã¼ã·ã§ã³ä½æã®ã¤ã¡ã¼ã¸ãã¤ã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}