Is there anything like Zope Page Templates for Ruby on Rails?
I have a Ruby on Rails app that I built myself, but which needs a redesign by a professional designer. I know most designers just give you Photoshop mockups and slices, but I would like to hire someone to implement the design as well, which means rewriting the css style sheets and the erb and haml templates.
The problem is that I want someone else to implement the redesign without exposing my code to the redesign implementer. Also, I wish there was a way to allow a designer to implement a redesign on a Ruby on Rails site without having to know anything about Ruby on Rails. Are either of these scenarios possible using any combination of software tools?
I guess I'm looking f开发者_StackOverflow社区or something like Zope Page Templates, but for Ruby on Rails.
http://quintagroup.com/cms/zpt
I have been using a gem by dr nic that allows to quickly slap a html template on your rails site called install_theme.
It allows your designer to just code a pure html/css solution, which this gem then translates into a rails layout, and allows to fill in the partials and main content area automatically. You will still have to design/code your own views, but at least the main layout is achieved quickly.
I hope it helps.
I know a some of those.
A popular one is liquid. It's used on Jekyll (which is powers Github Pages) and Harmony.
There's also mustache. It's selling point is that it exists for lots of languages; even javascript. If you need a lot of flexibility (or enough rope to hang yourself) give it a look.
Radiant has its own templating language (xml-based, if I remember correctly) but it looked just wrong to me.
精彩评论