|
Ravenous is a Java based webserver which does not in any way attempt to implement any parts of the Java Enterprise Edition standard. Instead it aims to provide you, the developer, with a simple easy to grasp way of developing solid high performance web sites in Java.
Lets have a quick look at a tiny hello world example. First a controller called test.rvc is placed in a folder called test. Page requests to the url /test/ will automatically call the method called index.
Controller filename : /test/test.rvc
public void index(){
java.util.Date dt=new java.util.Date();
ENV.put("date",dt.toString());
}
After running this method, Ravenous will look for a view template in the same folder, with the name of the method.
Template filename : /test/index.rvp
<h1>Hello World!</h1>
<p>The time and date is <?rav
print(ENV.get("date"));
?></p>
Thats it... take a look at the result here.
|
If you are new to Ravenous, you should start out looking at the administrators guide for installation help and the developers guide for an introduction to web development in Ravenous.
Once you have Ravenous running and have obtained a basic feel for how things work, you will probably be happier by refering directly to the developers JavaDoc reference for Ravenous. This reference has been specifically limited to only contain the files that are relevant from a developers point of view.
If you are curious as to how something works, the full JavaDoc reference will probably come in handy.
|
- Newly created DataRow objects will get their guid or luid id's set when the row is saved
- Sorting a flexiblelist will now use numerical ordering for purely numerical elements
- Fixed a bug in flexiblehash that prevented an int value from returning a float or double representation
» sourceforge , freshmeat
- Fixed a bug related to cookies under redirects
- Added expandTags to FlexibleList and FlexibleHash
» sourceforge , freshmeat
- Fixed an issue with boolean values in DatabaseModel
- Improved mail encoding
- Added subList to FlexibleList
- Added addAll to FlexibleList
- Added variable length arg constructors to FlexibleList
- Made FlexibleList iterable over FlexibleHash objects
» sourceforge , freshmeat
This release adds configuration of caching for datamodels.
» sourceforge , freshmeat
|