On Sunday, March 16, 2014 1:40 PM, Jake Farrell <[email protected]> wrote:

Hey Joe
>Thanks for reaching out, we chose to go with a site generator over the
>Apache CMS due to it initially not meeting all of our needs. Our current
>needs for the site are
>
>- Markdown to html conversion


That one's easy- its the default for the cms.


>- Global variables/config usable throughout in a template based layout


Easy too- just create a perl hash somewhere and make it available to your 
views.  Code your views to pass that hash along to your templates and you are 
all set.  Note if your hash contains objects you can make method calls on them 
in your templates.  Note: while I wouldn't recommend this in general, for 
smaller projects like thrift that prefer convenience over separation of 
concerns you can have the django template engine do a pass over your markdown 
before passing it along to your actual template page, just as is seemingly 
common to other popular site generation software.


>- Syntax highlighting


Comes with python's markdown support, but some people prefer the look of 
javascript highlighters.

>- Easily include code snippets from our source code base


Statically I hope.  No idea how to pull snippets out of your git repo via the 
cms.

>- Ability to locally test before committing


Belt and suspenders with the cms- you can build your changes before committing 
with the build scripts, browse your changes before committing via the cms 
webgui, or simply commit your changes and view the staging site prior to live
publication (which is a separate step).


>
>-Jake
>
>
>
>
>
>On Sun, Mar 16, 2014 at 12:44 PM, Joe Schaefer <[email protected]>wrote:
>
>> As it so happens I am interested in working on supporting
>> thrift's use case as a potential user of the Apache CMS.
>> While the CMS works well for massive projects there are
>> things it could do better at supporting for more moderate
>> sized sites like thrift's.
>>
>> I'd therefore like to engage you folks in a brainstorming session
>> about what sorts of features you want for your site and to find
>> simple ways of supporting those features for you.
>>
>> Thanks.
>
>
>

Reply via email to