- 博客(7)
- 收藏
- 关注
原创 play框架性能测试对比主流web框架
play框架配合Japid Template Engine模块,秒杀一切啊。。。颠覆原来的groovy模板,事实证明groovy好慢,比scala慢。http://www.jtict.com/blog/rails-wicket-grails-play-lift-jsp/ :x ...
2011-09-01 17:30:56
525
scala的不可改变型(immutable)集合与对象数据库
在java中,经常使用的基本类型都是非可改变的,包括String这个特殊的对象类型。那么这种非可改变特性会有什么好处类?首先就是线程安全。String可以任意被多个线程共享而不用考虑同步问题。然后就是可以放心的存储一个String,因为它在作为参数传递时也不会被其他方法修改掉,比如toLowerCase()。非可改变型数据类型的好处就是减少出错的可能性,减少测试代码量,还有在大多数情况下能获得...
2009-10-08 11:54:28
217
原创 David Pollak谈lift框架和Scala语言
David Pollak谈lift框架和Scala语言作者 Gavin Terrill 译者 曹云飞 发布于 2008年3月12日 下午9时15分昨天David Pollak宣布lift的0.6版发布了: [quote] lift是一个用于开发Web应用的表达力强大而优美的框架。lift强调安全性、可维护性、可伸缩性和性能,同时使开发者达到高水平的生产效率。 ...
2009-08-11 15:44:35
144
使用maven创建一个简单的liftweb网站样例
国际惯例了,什么框架啊技术啊入门教程都是helloworld,万年不朽啊。。。废话少说,系统装好maven2,连上互联网,命令行进入到想要创建项目代码的目录使用maven2的archetype插件命令:[quote]mvn archetype:generate -DarchetypeCatalog="http://scala-tools.org/"[/quote]出现选项[qu...
2009-08-10 02:22:34
198
原创 SiteMap, URL Rewriting, and Dispatching
liftweb作者David关于SiteMap,URL Rewriting, URL Dispatching的讲解Folks,lift services HTTP requests in a "render pipeline".lift is implemented as a Filter (thanks to the excellent suggestion from...
2009-08-04 23:55:46
161
liftweb问答备忘录-dynamically building the menu
[color=red]Ask:[/color]Hi,I want to add/remove Menu at runtime, for dynamically managing menulist.so I need to persist the menu list(SiteMap?) to the database,and retrieve it from the databa...
2009-08-03 23:54:36
106
liftweb UTF-8 form submission problem
lift使用jetty做容器,表单提交遇到问题,内容为UTF-8编码,但是无法正确解析,显示乱码。解决方法:在bootstrap.liftweb.Boot中加入几行代码[code="scala"]/*** Force the request to be UTF-8*/private def makeUtf8(req: HttpServletRequest) {...
2009-07-30 01:45:12
115
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅