The Play logger is built onLog4j. Since most Java libraries use Log4j or a wrapper able to use Log4j as a backend, you can easily configure logging th...
分类:
其他好文 时间:
2015-04-22 13:29:16
阅读次数:
233
To create high-performance systems, sometimes you need to cache data. Play has a cache library and will useMemcachedwhen used in a distributed environ...
分类:
系统相关 时间:
2015-04-22 13:21:43
阅读次数:
213
Creating automatic test suites for your application is a good way to make it robust. It allows you to work in a very agile way.Play tests are built us...
分类:
移动开发 时间:
2015-04-22 13:15:53
阅读次数:
245
本章译者:@Sam Liu (译者未留下自己的主页,请Sam Liu见此文,加入群168013302联系‘大黄蜂@翻译play’)这一章主要讲解如何运用异步模式实现典型的长连接(long-polling)、流(streaming)和 推送方式(Comet-style) 的编程,以便于响应数以千万计的...
分类:
Web程序 时间:
2015-04-22 13:14:59
阅读次数:
167
Play’s dependency management system allows you to express your application’s external dependencies in a singledependencies.ymlfile.A Play application ...
分类:
其他好文 时间:
2015-04-22 13:09:41
阅读次数:
288
Because Play is a web application framework, most of the application logic is done by controllers responding to HTTP requests.But sometimes you will n...
分类:
其他好文 时间:
2015-04-22 13:05:58
阅读次数:
146
HTTP路由HTTP路由(译者注:Play的路径映射机制)组件负责将HTTP请求交给对应的action(一个控制器Controller的公共静态方法)处理。对于MVC框架来说,一个HTTP请求可以看成一个事件。这个事件包含2方面的信息:请求的路径(例如 /clients/1542, /photos/...
分类:
Web程序 时间:
2015-04-22 13:04:22
阅读次数:
212
A Play application can be assembled from several application modules. This allows you to reuse application components across several applications or s...
分类:
其他好文 时间:
2015-04-22 13:03:22
阅读次数:
136
The MVC application modelA Play application follows the MVC architectural pattern applied to the web architecture.This pattern splits the application ...
分类:
其他好文 时间:
2015-04-22 12:59:46
阅读次数:
191
Parity game
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 6767
Accepted: 2616
Description
Now and then you play the following game with your friend. Your...
分类:
其他好文 时间:
2015-04-22 09:36:52
阅读次数:
404