Changeset 590 for trunk/rss/.htaccess

Show
Ignore:
Timestamp:
07/10/05 22:11:05 (3 years ago)
Author:
mbonetti
Message:

The distinct "sections" (header, footer, sidecolumn, search,...) of
each Gregarius "page" are now generated in memory as a set of PHP
objects (the class files reside in /cls).

When everything has been set up the main pages (index.php, feed.php
...) simply call "renderWithTemplate()" which loads the specified
template file (index.php in /themes ), which recursively calls
"->render()" on each object.

This new architecture has the huge advantage of separating the
presentation and the processing tiers: "themes" now consist of simple
html files for each one of the above "sections". It'll be quite easy
to completely change the look of the application by simply dropping a
new theme in the theme directory. (Ideas: RSS theme which renders RSS
of the current page, Mobile theme which renders stripped-down html or
WML for mobile devices)

Another interesting thing I'd like you folks to test is a preliminary
AJAX-driven feed updating system which should support Internet
Explorer and Safari (just turn off rss.config.serverpush to activate
it)

Fixes:
#5: Finish integration of "visual" AJAX-powered feed update for Internet Explorer
#21: Implement a Wordpress-like theme architecture

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/rss/.htaccess

    r582 r590  
    1313  SetEnvIf Request_URI "/extlib/" static 
    1414  SetEnvIf Request_URI "/test/" static 
     15  SetEnvIf Request_URI "/themes/" static 
     16  SetEnvIf Request_URI "/plugins/" static 
    1517  # You can add other lines here to have static content  
    1618  # under a gregarius installation.