Giter Site home page Giter Site logo

greenlaw110 / jfinal-bbs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iveryang/jfinal-bbs

2.0 1.0 2.0 15.66 MB

一个简单、尚未成型(还在继续开发中)的的BBS:采用了简洁而强大的JFinal作为MVC框架,Beetl作为视图模版语言…^O^

Home Page: http://iver.cloudfoundry.com/

Java 20.84% CSS 25.01% JavaScript 54.15%

jfinal-bbs's Introduction

采用JFinal, Beetl/Rythm开发的一个简单的BBS,她的名字叫“JFinal-BBS” ^O^

希望她作为一个JFinal, Beetl和Rythm入门的DEMO,可以帮到新人。

最后,向开源前辈们致敬。

部署完毕的效果地址是:http://iver.cloudfoundry.com (一个屌丝论坛)

运行方法:

1 导入bbs.sql到mysql中

2 配置一下config.txt(配置项都有注释的),注:config文件夹必须设置为项目的源码目录, 以便编译后所有config文件夹下的配置文件可以被自动放到WEB-INF下的classes目录;

2.1 设置模版引擎:

view.engine=beetl #使用beetl
view.engine=rythm #使用rythm

2.2 设置Rythm引擎:

rythm.home.template=../rythm #设置rythm引擎的模版根目录
rythm.i18n.enabled=true #允许国际化。参见http://www.screenr.com/T7NH

2.3 如果使用Rythm模版运行时需要将config/下面的messages.*.properties文件拷贝的哦WEB-INF下面的classes里面

3.运行MyConfig.java里的main方法即可;

现在JFinal-BBS还有很多地方有待完善,我会不断的完善她。如果有建议:可以到 http://iver.cloudfoundry.com/leaveMsg 给我留言:)

beta1.1

修复了几处bug;重构了部分model代码,配合ehcache更省代码,更加方便读取数据;取消了游客的留言权限;增强了后台管理;

关于Beetl

关于Rythm

jfinal-bbs's People

Contributors

greenlaw110 avatar iveryang avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.