Play framework

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(Spring & CF)
(Spring & CF)
第16行: 第16行:
 
==Spring & CF==
 
==Spring & CF==
 
Play 融合 [[Spring]]、[[Cloud Foundry]]
 
Play 融合 [[Spring]]、[[Cloud Foundry]]
*[http://www.infoq.com/cn/articles/scala_and_spring Scala与Spring:强强联合]
+
*[http://www.infoq.com/cn/articles/scala_and_spring Scala与Spring:强强联合] Scala和Spring所提供的众多功能使得这一组合成为企业采用Scala的最佳选择。
 
*[https://github.com/wsargent/play-2.0-spring-module Spring Module for Play 2.0]
 
*[https://github.com/wsargent/play-2.0-spring-module Spring Module for Play 2.0]
 
*[http://www.playframework.com/documentation/2.1.1/Deploying-CloudFoundry Deploying to Cloud Foundry]
 
*[http://www.playframework.com/documentation/2.1.1/Deploying-CloudFoundry Deploying to Cloud Foundry]

2013年6月12日 (三) 00:31的版本

Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 Play framework Thanks, Wikipedia.
Play-framework-90x90.gif

Play 是一个 Java Web框架,很像 Ruby on Rails, 采用 Apache 2 许可协议。

目录

入门

play new helloPlay
选 1 Scala应用 或 2 Java应用
cd helloPlay
play
[help] $ run 8080
或 start 8080 // crtl-d, 后台运行
http://localhost:8080

Spring & CF

Play 融合 SpringCloud Foundry

Eclipse

cd helloPlay
play 
[help] $ eclipse with-source=true
...
[info] Sucessfully created Eclipse project files for projects
然后,从 File/Import/General/Existing project 导入刚才的项目

更多细节:Setting up your preferred IDE

BrowserID

BrowserID 的整合

Modules

现在的 Modules,未来向marketplace方向发展 :)

sbt

sbt 是一个 ScalaJava 项目构建工具。

用户

图集

链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱