Silva 2.2 beta technical details

Kit BLAKE <[email protected]> Wed, 3 Feb 2010 18:52:24 +0100
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
Hi,
We just released the Silva 2.2 beta. This mail follows the  
announcement on
silva-general with more technical detail.

If you want to try and upgrade please read the notes *before* you do it:
http://docs.infrae.com/silva/buildout/upgrade.html#silva-2-2-upgrade-notes

New features, of interest to developers

- Silva has been ‘eggified’. Buildout scripts now retrieve eggs from the
   download area on infrae.com (http://infrae.com/download/simple) and  
the Python
   Package Index.
- All Silva content types and services now use Grok for configuration  
and
   registration (instead of ZCML).
- Content types can now be defined using zope.schema.
- Generic Formlib and z3c forms support have been added to the SMI and  
public
   interface.
- In the SMI, add and edit forms can be generated using Formlib or  
z3c.forms.
- The mechanism for previewing public pages has been refactored to use  
a Zope
   namespace. The author automatically stays in preview mode even when
   navigating, and always in the public design. Registering a preview  
mode in
   your template configuration is not required anymore, it works  
automatically.
- Publications can now become local sites, meaning that they can have  
local
   services that change the configuration (as well as configuration of  
the
   content). A services tab appears in the ZMI in the publication  
where the local
   site feature is activated.
- Zope 3 and Grok views are supported to render your public content.
- Alternate public views can be provided for any content type, with  
selection in
   the SMI.
- The file system-based visual design has been refactored: it’s now  
much easier
   to define a design and extend it. Most layout can be implemented by  
dropping
   your template, CSS and image files onto the file system.  
Experienced designers
   can use Zope 3 layouts (or pagelets), views, content providers and  
viewlets to
   define an advanced design. Configuration is again simplified with  
the help of
   Grok.
- The SilvaLayout metadata marker used to mark virtual hosts is not  
needed
   anymore. Breadcrumbs and navigation start automatically at a  
publication
   defined in your Apache/web server configuration.
- The content upgrader works on Silva minor versions as well,  
including alpha
   and beta.

> Install
>
> Silva 2.2 should be installed using buildout:
> https://svn.infrae.com/buildout/silva/branch/Silva-2.2/
> or using Paster by selecting the development distribution. For more  
> information
> on the Silva installation procedure see:
> http://docs.infrae.com/silva/buildout.html
>
> Upgrade
>
> In order to upgrade an existing setup, please refer to the upgrade  
> documentation
> and the upgrade notes for 2.2:
> http://docs.infrae.com/silva/buildout/upgrade.html#silva-2-2-upgrade-notes


FMI contact Sylvain Viollon, sylvain at infrae com, +31 10 243 7051.

-- 
Kit BLAKE · Infrae · http://infrae.com/ + 31 10 243 7051