[JPublish-developer] JPublish 2.0b2 Released
Brought to you by:
aeden
From: Anthony E. <me...@an...> - 2003-03-15 04:24:16
|
Version 2.0b2 of the JPublish web application framework is now available at http://www.jpublish.org/ . JPublish is a powerful web publishing system designed to ensure a clean separation of developer roles. JPublish includes support for multiple templating engines, including Jakarta Apache's Velocity, FreeMarker and WebMacro. JPublish supports numerous scripting languages including Python, BeanShell, and JavaScript. JPublish is modular and provides for easy extensibility. This release includes the following changes: View interface changed to include path to template. All template implementations now support named templates via the path parameter. FreeMarkerViewRenderer is now Locale-sensitive. Page now uses system Locale as default. Template can now have actions which are associated through a template configuration file with the same name as the template but with .xml as its suffix [note that if a template needs to end with .xml then this will be a problem]. Added missing StringWriter instantiation to ExtendedFileSystemRepository (Submitted by Andy Zeneski). Added getContent() to SiteContext. Content interface is now used to provide content to view engines which can be cached. This also helps support include directives in template engines. Added RepositoryContent class. Added TemplateContent class. Added InternalURI classes for parsing internal JPublish URIs. Updated to current FreeMarker build. Added lastModified property to Template. Reworked the FreeMarkerViewRenderer to take advantage of FreeMarker's built in cache for parsed templates. Reworked the VelocityViewRenderer to take advantage of Velocity's built in cache for parsed templates. PathUtilities protocol names are now public constants. Page.setProperty() methods are now public. Calling PageDefinition.loadConfiguration() now clears the internal PageInstance cache. Added getLastModified(String path) to StaticResourceManager. Static resources now set the HTTP Last-Modified header (Thanks to Florian for the suggestion). Template includes now work properly with absolute and relative paths. |