注解: 这是对《Learning Play! Framework 2》第三章的学习
本章是一个显示聊天记录的项目,只有一个页面,可以自动对聊天记录进行排序、分组和显示,并整合使用了less,其界面显示如下
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAA+0AAANGCAIAAAAH/vhpAAAgAElEQVR4nOzdX8gl530n+Pcil7roiwZBLgaBb4ah4fhil10CTYwYY4MaxIyYrLNWKURhEZllPPaAiVlE8EzYkELGPTDILdnrxMtkiGdjrON1AmsU5nVAiXACtkcp0lqLBCXB9ELLTECBFvji7MX59/ytU+e879t9nvf9fOgLnaeqnqpTbwm+9ZxfPXXyf/3RD/zzzz///PPPP//888+/tv6dLEr+/u///q233nrjjTdOAQCAh+6NN9546623/tt/+2/FuL5YLAo5/u/+7u+++93vPuojBwCAq+673/3uu+++OynH//3f//13v/vd5QYffPBBLf4DAAAX54MPPvibv/mb5fB6cVQ+zfFvvfXW6elpLfUDAAAPzbvvvnt6evrWW2/li9Ic/73vfe/09PT9999/KAcGAABUvf/++6enp9/73vfyRWmOXxbiPIyDAgAAdqnlczkeAACOlxwPAADtkeMBAKA9cjwAALRHjgcAgPbI8QAA0B45HgAA2iPHAwBAe+R4AABojxwPAADtkeMBAKA9cjwAALRHjgcAgPbI8QAA0B45HgAA2iPHAwBAe+R4AABojxwPAADtkeMBAKA9cjwAALRHjgcAgPbI8QAA0B45HgAA2iPHAwBAe+R4AABojxwPAADtubgc/8MvfPLmtZtj/37lW4ce9Q9f/rlqt5/8wg937/3nXv5hvbdlDxchP6rz3tePv/Nrz33s8Zs3H//Yc7/2nR+fa9cAAByRCx6Pf/Dem19+4Yk4Qz/+3Euvv/P+IQcb+OC9H/wfn/p4ms5v/8lPHmzX+Yd3Xv/1556M1/n4L339nX8oHeePvvG5D928+fhzL52++yBffm4evPufP/vxC8vx7/3eZ4Lv++S//O2/PsfOAQA4Ig+hruYPf/XJ6cPwP/zCJz/32sSOf/S1p+Kef+Hr7+1a58lf/P1snaUH3/ylm8/8+hsXGeIXi8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K15ME9h/ji/l8KF8HnYxFNRH5vNHLgHyOT75/IkcP/i0yt5Tbtofcf4AUD85noM4Ozs7Pj5+y0FnZ2dDVQfmzZO51+IDyLP1ps3z12vfOf5gU/ETWhncPbgESH69+Ft9IseXx7ZdJb+r37Y/4fQB4AeQ4zmU+/v7y8vL+/v7kXr5vJ0sfx7IoaV6g+0Gd2w2lc6u5mPrR0oD8bKW3cqRUnnaery0KXdf6MiDZMqb432DXzU3O/8POT5/RgTXHW5qBeA/So7nW0X3MvZubBx+T2eulSisl9r9Ga/lHHgPVHTA8qVBeO0vEA9uDs6Ur6N/QYJjH3cSboiG2XtSTi/GF4acbsy9HmrwPMm/2XWdOyPa+WyW62fohVgA8LXkeKjTxOnn38MBAeCXkeOhTmJrwgEB4JeR46FOwVqQehcH7cfU9VcA8KPI8QAAUB85HgAA6iPHAwBAfeR4AACojxwPAAD1keMBAKA+cjwAANRHjgcAgPrI8QAAUB85HgAA6iPHAwBAfeR4AACojxwPAAD1keMBAKA+cjwAANRHjgcAgPrI8QAAUB85HgAA6iPH8+5/AAB8nz9//nwovMnxvPsDAMC3+lB4k+MBAKA+cjwAANRHjgcAgPrI8QAAUB85HgAA6jM1x9/d3S2Xy+fn568YFAAAUPb8/LxcLu/u7vqb0hy/Wq2Wy+Xj4+OXDAwAACh6fHxcLper1aq/Kc3xT09P19fX19fXDw8PLy8vXzI8AAAg8vLy8vj4eH19vVwun56e+hXSHL9erx8eHpYAAMB/wN+/f7NBP5Pj1+v109PTarW6ubn57mEDAMBvdHNzs1qtsjPxQzkeAAD4L5PjAQCgPnI8AADUR44HAID6yPEAAFAfOR4AAOojxwMAQH3+D8pGIlo28ukjAAAAAElFTkSuQmCC" alt="" width="510" height="425" />
一、项目结构
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOwAAAETCAIAAAC6An07AAAdEklEQVR4nO2dfXAT553H9/6/v2467dBem4vtGBInpSXgBDXhMjd3ybg3rXPJMCOnYIzrytC0U8AlgYTEsj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MkOlfW8AhQIQWqjQLAsceGSHWrr2QYoILVRFFiWGJIdFoFtiSHZYQlYlhiSHRaBZYkh2WERWJYYsAggMUA9IDFAPSAxQD0mktixZIHRlwBQyf8DByv0W8XBKdwAAAAASUVORK5CYII=" alt="" />
二、项目中使用的模型
所有的聊天记录放在models目录中Chat类中
public class Chat {
public DateTime date; // chat time
public int occurrence; // chat room
public List<Item> items; //chat content public Chat(DateTime date, int occurrence, List<Item> items) {
this.date = date;
this.occurrence = occurrence;
this.items = items;
}
}
每一次的聊天记录的内容放在models目录中Item类中
public class Item {
public String user;
public LocalTime timestamp;
public String message;
public Item(String user, LocalTime timestampLocalTime, String message) {
this.user = user;
this.timestamp = timestampLocalTime;
this.message = message;
}
}
三、项目route
本项目只有一个页面,所有不用修改默认的route
四、项目模板
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQMAAAC+CAIAAAC+kP2DAAAJFElEQVR4nO2dQZajOAxAuQsn6RVnYdnH4A696B1X6D3rPgJn0Sw0radgQ+yQxAr5//UiQ1wGKvqFpKmyOwEAka71BQCEABMARDABQMEEABFMAFAwAUAEEwCUjAm///z98fOX/vv95y8HOXjJg3ILzwT4RopMMHsArkoa5BkTUl0ALg8mAIhgAnwnRdkRdQJcnhC9o3me+75//3mHYZim6bkjj2l1p3CXV5nQdV156HyuCbWGYEJYQnRRMQGa86ouat/38zyLyDRN4zgOw9B1Xdd1evD/M/1jmiaLj2VZ7LgOnue567p1Xe1dfW3oAEXfWtfVjizLkp5Oj/g4HsdR381Gqo7s+96fxf5T59ST2sWM42gntTkx4YN4vgmbmNYBwzBorIiIxYoGk8auvtaYG4ZhGAY/7c0Vu3C3IzpsXVf7wtQlM2GaJlOi7/v0x7yarF+lYttxG6wXrG+ZiuaMDsOED+L5JljciIgGh49ycfGxGezjTG3x7/o5fezejTYzJ5vbjONoimavZFkWmz81wW7KS6sPxpJrg1a8qot6YMKyLBo0dtCb0N1icaZvbX72+2ktIZnnORXGJ11ZE3yqc9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ABACRICaQHUFzQtQJVMzQHHpHACKYAKCEyI6oE6A5ISrmqhkLwQSoAhMARIKYQHYEzQlRJ1AxQ3PoHQGIYAKAEiI7ok6A5oSomKtmLKQDqORkyB3HbTMTAN7PWRNekR0BvJ+DuG3WRQV4P1VxiwlwWTABQCRmFxXg/dA7AhDBBACFLiqACF1UAIXeEYAIJgAodFEBROgdASiYACBCFxVAeUkXFeATqdCmxASAy4MJ8I082EUFuBgP9o4ALgYmAIg83EUFuBgPdlEBLg8mAIhgAnwndFEBROgdASilJvz+8/fHz1/6zx4RHOTglQ7KLTwTAEQwAUDBBAARTABQMAFAROQ/4kiQGtPXk54AAAAASUVORK5CYII=" alt="" />
4.1 index.scala.html模板
@(message: String)(chats:List[Chat])
@import models.Item
@import java.util.List @main("Welcome to the Packt Publishing's Play 2.0 Demo") {
<h1>@message</h1>
@chats.sortBy(_.occurrence).groupBy(_.date.toDate).toSeq.sortBy(_._1).map { dateAndChats =>
<h3>-- Chat @dateAndChats._1 --</h3>
@dateAndChats._2.map { chat =>
@listContainer{ //引用listContainer模板
<h3>-- Chat #@chat.occurrence --</h3>
}(chat) {
<hr/>
}
}
}
}
说明: 引用listContainer模板方法说明
@listContainer{
<h3>-- Chat #@chat.occurrence --</h3>
}(chat) {
<hr/>
}
- <h3>是在listContainer模板前面加入的内容
- (chat)是在listContainer模板的参数
- <hr/>是在listContainer模板前面后面的内容
- 聊天内容的分组、排序
@chats.sortBy(_.occurrence).groupBy(_.date.toDate).toSeq.sortBy(_._1).map{ dateAndChats =>
这里定义了一个变量dateAndChats,该变量已经分组(按聊天室编号occurrence)和排序(按日期date)好了。
4.2 listContainer.scala.html模板
@(header:Html)(chat:Chat)(footer:Html)
@import models.Chat
<div style="margin-left:@{5*chat.occurrence}%">
@header
<ul>
@chat.items.map { item =>
@listItem(item) //引用listItem模板
}
</ul>
@footer
</div>
4.3 listItem.scala.html模板
@(item:Item)
@import models.Item
<style>
li.item span{ width:100px;display:inline-block;}
</style>
<li class="item">
<span>@item.user</span>
<span>[@item.timestamp]</span>@item.message
</li>
五、controller
本例比较简单,只有一个controller,在controllers目录中Application类
public class Application extends Controller {
public static Result index() {
DateTime today = DateTime.now();
DateTime yesterday = today.minus(Days.ONE);
//模拟数据
Chat chat11 = new Chat(yesterday, 1, asList(
new Item("me", LocalTime.now(), "Hello!"),
new Item("other", LocalTime.now(), "Hi!"),
new Item("me", LocalTime.now(), "Fine?"),
new Item("other", LocalTime.now(), "Yes")
));
Chat chat12 = new Chat(yesterday, 2, asList(
new Item("me", LocalTime.now(), "It's hot today!"),
new Item("other", LocalTime.now(), "Indeed...")
));
Chat chat21 = new Chat(today, 1, asList(
new Item("me", LocalTime.now(), "Hello!"),
new Item("me", LocalTime.now(), "Youhou?"),
new Item("no-one", LocalTime.now(), "...")
));
Chat chat22 = new Chat(today, 2, asList(
new Item("me", LocalTime.now(), "Ding ding!"),
new Item("me", LocalTime.now(), "Poueeeeeeeeeet?"),
new Item("no-one", LocalTime.now(), "...")
));
Chat chat23 = new Chat(today, 3, asList(
new Item("me", LocalTime.now(), "No one?"),
new Item("no-one", LocalTime.now(), "Yes?")
));
return ok(index.render("It Works!", asList(chat23, chat11, chat21, chat12, chat22)));
}
}
在该controller中,我们模拟了一些数据(没有使用数据库),调用index模板,并将模拟的数据传给该模板。
六、使用less美化页面
- 在app/assets目录中增加book-utils.less和book.less文件
- main.scala.html模板中加入
link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/book.css")">
本例中使用了两个less文件,均放入public --> sytlesheets 目录中
- book-utils.less——定义全局的变量和mixin
- book.less ——
其中book-utils.less
//VARs
@bgColor: darken(#CCC, 25%);
@baseColor: lighten(#122, 5%);
//MIXINS
.border-radius (@radius: 5px) {
border-radius: @radius;
-moz-border-radius: @radius;
-webkit-border-radius: @radius;
}
.box-shadow (@x: 0, @y: 0, @blur: 1px, @color: #000) {
box-shadow: @arguments;
-moz-box-shadow: @arguments;
-webkit-box-shadow: @arguments;
}
book.less
@import "book-utils.less"; body {
width: 960px;
margin: auto;
background-color: desaturate(lighten(@bgColor, 25%), 65%);
border: 2px @bgColor solid;
.border-radius;
padding: 0px 15px;
} h1 { color: saturate(@baseColor, 25%);} .date {
h2 {
border: 1px black dotted;
.border-radius(100px);
color: @baseColor;
}
.chat {
.box-shadow(-2px, -3px, 2px, fade(spin(@bgColor, 15%), 30%));
h3 {
border: 1px black solid;
.border-radius;
color: @baseColor
}
li.item span {
width: 100px;
display:inline-block;:first-child { color: lighten(@baseColor, 15%); }
.time { color: saturate(@baseColor, 85%) }
}
}
}