关于我:
码农一个,主要做客户端(android)。
1.为什么会做web application的blog呢?
我无聊了,可以吧。
2.为什么要选择Play Framwork?
因为看到目前公司有用这个框架,就理所当然的学习下。
3.这个系列准备更新到什么程度?
初步计划是能做到一个小型的用户咨询类web application。主要功能有:用户注册登录注销,资讯展示,资讯评论,资讯收藏。客户端做展示。
要是某天连续很久(7days)没有更新了,估计我被生活埋没了,那个时候就希望同道给个鼓励哈。
last: 凡所有相,皆为虚妄。念念不忘,必有回响。
本次设计到的代码,配置文件都在github上,地址如下:https://github.com/pgq10240817/PlayNews
什么是Play:
Play全称是Play Framework,官网(https://www.playframework.com),是有1名叫做 Guillaume Bort(https://twitter.com/guillaumebort)在2007年创造的,到目前为止经历了1.x、2.1、2.2、2.3、2.4(2015.9)版本.由于当时GB工作在Zenexity(法国巴黎),所以目前这个项目是由Zenexity公司运营(?有待考证)。
为什么要学习Play:
Play是一个高效率的java&salce(http://segmentfault.com/q/1010000000671822) web应用框架,集成了当下流行的开发的组件(我真的不知道是什么???) 。
Play的特性有:lightweight、stateless、web-friendly 、最低资源消耗(这个官网没有数据?只能王婆卖瓜了)。
Play is a high-productivity Java and Scala web application framework that integrates the components and APIs you need for modern web application development.
Play is based on a lightweight, stateless, web-friendly architecture and features predictable and minimal resource consumption (CPU, memory, threads) for highly-scalable applications thanks to its reactive model, based on Iteratee IO.
如何学习Play:
凡本来楼主最开始是下载2.4 开始进行环境搭建的,发现这货和之前的版本完全是2个不同的东西啊,完全不同的,你为什么不更新到3.0啊。后面楼主下载的版本是2.2的https://www.playframework.com/documentation/2.2.x/NewApplication 所以以后所以的版本都是基于这个版本开始进行web application的开发啦。。。。
如何学习分为6个阶段:
- 1.环境搭建(仅仅是PlayFramework)
- 2.需求分析 - 数据库层次(会采用UML画图的)//此处是mysql workbench
- 3.数据库安装&建表(估计会用mysql)。
- 4.资源采集。(主要是资讯类的采集获取)。
- 5.接口编写。(这个测试我真心还不会。。但是可以去尝试)。
- 6.androidUI 编写.