Play Framework 框架 FAQ分析和总结.docx

  1. 1、本文档共8页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
经常被问到的问题 Frequently Asked Questions Play 和其他的框架相比怎么样 How does Play compare to framework X? 现在,在开发 web 应用方面,你有很多的选择。Play 作为一个 Java Web 应用开发框架,让我们和其他 Java 框架比较一下。 Play 的实现为“无共享”架构(也可以认为是无状态框架),所以它和其他有状态和已组件为基础的框架(如 Seam, Tapestry or Wicket 等)完全不同,它和Spring MVC or Struts (or Struts 2)比较像,但是更加坚定. Nowadays, you have a very large number of choices for developing web applications. Play being a Java web application framework, let?s compare it to other Java frameworks. Play is built for a ?share nothing? architecture (think about it as a stateless framework), so it?s very different from all these Java stateful and components based frameworks like Seam, Tapestry or Wicket. It?s closer to Spring MVC or Srtuts (or Struts 2), but way more opinionated. 但是 Play 是一个独一无二的 Java 框架,它不依赖与所谓的 Java 企业标准, 它使用的是 Java,但是它试着把其他基于脚本语言的框架如 Ruby On Rails, Django, Pylons, Symfony, Grails and Cake PHP 中好的想法带到 Java 世界中。我们真的试着从 Java 平台中得到更好的,而不是像传统的 Java web 开发中那样令人叫苦连连,太多的抽象,太多的配置文件。 However Play is a unique Java framework. It does not really rely on the so-called Java Enterprise standards. It uses Java, but tries to bring all the good things from the frameworks based on scripting languages like Ruby On Rails, Django, Pylons, Symfony, Grails and Cake PHP to the Java world. We really tried to get the best out of the Java platform without getting the pain of traditional Java web development: a slow development cycle, too much abstraction and too much configuration. 你为什么不把 play 重命名为org.playframework? Why don?t you rename the play? package to org.playframework??! 你误解了。Play 不是另外一个你需要添加到 Servlet 容器中的一个类库,它是一个可以独立运行你的应用的全栈式 Java 框架。 Java 的包机制的命名约定是防止你使用不同的类库时的名字冲突。相信我,你永远不需要把play.jar? 库放到你自己的项目中。那不是 Play 的运行方式, Play 是一个平台,不要担心它。 You are missing the point. Play is not another library that you add to your Servlet container. It?s really a full stack Java framework that runs your application stand-alone. The Java package naming conventions exist to avoid name clashes when you use several different libraries f

文档评论(0)

tianya189 + 关注
官方认证
内容提供者

该用户很懒,什么也没介绍

认证主体阳新县融易互联网技术工作室
IP属地上海
统一社会信用代码/组织机构代码
92420222MA4ELHM75D

1亿VIP精品文档

相关文档