Cameron McBride
12/3/2004 12:35:00 AM
Hey Marus,
> I want to generate static HTML pages from the DB with Ruby using
> a Templating Library. I have Bluecloth, Amrita, PageTemplate und found
> more in the RAA.
It sounds like you have simple needs. I, personally, love Amrita.
In my brain, your problem is easily solved by having a ruby script
connect to the DB, create a hash of values and generate a page via
Amrita.
The elegance is that the 'template' for the HTML pages would be simple
HTML. Someone (or yourself) wants a different look? Design it just
thinking about html and using your browser to look at it. Once you've
finalized the look, throw in respective id attributes and rerun
script. HTML stays in HTML, ruby handles data and many page
generation. Easy elegance.
Have fun!
Cameron