Top Screenshot Manual Downloads Wiki Chat
1 Abstract 2 How to use 3 Downloads 4 License
Though we can easily create web applicaiton with CGI or PHP, we can not do so with Java, because of need of deployment and many definition files.
I made this web application framework to resolve the problem. This framework has following features.
Web Flavor is specialized for Scala in order to utilize the ability of superior secritability of Scala.
"Better CGI, Better PHP!"
The environment without strong constraint but which enable to develop easily as CGI or PHP, the loose but enough for Web application development --- that is my goal.
Web Flavor has these features.
For example, if I write a script as
// HelloWorld.scala val TITLE = "Hello, world!" <html> <head> <title>{TITLE}</title> </head> <body> <h1>{TITLE}</h1> </body> </html>
then it outputs as follows
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> <html> <head> <title>Hello, world!</title> </head> <body> <h1>Hello, world!</h1> </body> </html>
Please prepare the following environments.
Java | Java 5 Runtime Environment or later |
---|---|
Java Servlet | Java Servlet 2.3 or later |
Java Servlet Conteiner | Apache Tomcat 6 or later (Tomcat 5 might be compatible but it has not be confirmed. Other containers such as Jetty are not tested.) |
Scala | 2.7.1.final (included) |
Because we have not tested every combination of the above environment, some might not work well.
Deploy ${WEB_FLAVOR_HOME}/webflavor.war on the servlet container.
Add ${WEB_FLAVOR_HOME}/lib/scala-library.jar to the CLASSPATH of the servlet container, or it might not work on some servlet containers.
Flavor is a script for Web application, and is written by Scala language. In Web Flavor, a web application is developed by writing Flavors.
Java Servlet API are provided with wrapping of Scala to be easily used in Flavors. It can be used in similar way as Java Servlet.
In future version, we plans to provide
for easier Web application dvelopment.
The Web Flavor can be download from
https://sourceforge.net/project/showfiles.php?group_id=242794
Archive file | Details |
---|---|
WebFlavor-#.#.#.zip | Package of source code and WAR file |
WebFlavor-samples-#.#.#.zip | Sample application (includes Apache Tomcat) |
Licence notice:
For other libraries used in Web Flavor, their own license covers them.