RSF - Reasonable Server Faces#

Reasonable Server Faces (RSF) is an open source web programming framework written in Java, and built on the Spring framework. It has roughly the same scope as Sun's JSF, taking responsibility for the entire request processing cycle through HTTP request decoding, maintaining a bean model, invoking actions, directing errors, interpreting results and rendering views. It also takes upon itself the task of maintaining relevant state between requests. Clients (at the Java level) should never be troubled by the fact they are dealing with HTTP or HTML, whereas clients (at the UI level) should never be troubled by the fact that they are dealing with anything BUT HTML (referred to as "separation of concerns").
The core RSF values and philosophy are explained on the Philosophy page.

Summary of RSF features#

  • Pure XHTML templating, with a lightning-fast renderer (IKAT) and no custom tags!
    • Rendering system produces completely valid XHTML (allows clean and fully "accessible" views)
    • "Right first time" rendering gets URLs, styling and layout correct even in complex portal/multiple client environments
    • No Javascript is required to operate so it is extremely friendly to Javascript and AJAX-rich development
  • The Spring Framework is used for IoC by both developers and the framework throughout, no need to learn another file format or semantics
    • Includes a request scope application context (RSAC) both for clean request-scope programming free of ThreadLocals, as well as for request model.
  • Handles the complete request lifecycle from view layer rendering down to data access and persistence
    • Developers don't have to deal with HttpServletRequest, URLs, or HTML tags in their code
  • Allows a pure bean programming model (like JSF, NO interfaces or base classes appear in your data model)
  • Highly modular and pluggable architecture
    • Allows "take-it-or-leave-it" integration with RSF - use just the renderer standalone (like a much smarter Velocity), use the renderer plus request decoder, or use the whole framework with your favorite components plugged in.
    • Fine-grained modularity allows you to plug in your favorite flow architecture (e.g. Spring Web Flow), your favorite persistence layer (e.g. Hibernate, iBatis), &c.
    • RSF itself built using Spring and RSAC, so even core components can be replaced by just editing a config file
  • Facilitates designs where zero server state is held between requests - both "model" and "component tree" are discarded at request end
    • Abstract component tree isolates view producers from the rendering technology.
  • Build "components" using libraries of HTML rather than libraries of code.
  • Lightweight, minimal and fast - the core framework remains well below 20k lines.

RSF uses the following Java technologies#

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-) was last changed on 22-Jul-2007 07:51 by UnknownAuthor