做一个产品级别的liftwebDemo应用; 包括完整的论坛,公告,新闻,投票,权限控制,全文搜索; 测试model: > console [info] Starting scala interpreter... [info] Welcome to Scala version 2.8.1.final (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_26). Type in expressions to have them evaluated. Type :help for more information. scala> import liftbbs.model._ import liftbbs.model._ scala> import org.squeryl.PrimitiveTypeMode._ import org.squeryl.PrimitiveTypeMode._ scala> import BbsModel._ import BbsModel._ scala> BbsModel.init() scala> inTransaction( for (f <- BbsModel.forums) { println(f.name) } ) 默认板块 scala>