bobbywilson0
unread,Aug 24, 2010, 9:47:26 PM8/24/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Guardians of the Temple
Dear Guardians of the Temple,
I have had a problem since basically the beginning of my web
development career. It has improved but is still very present.
Views are always the dumping ground of poor logic, designer breaking
code, coder breaking design. I have blamed it on my team members, but
can everyone really be wrong? My opinion is that views shouldn't
contain a minimal amount of logic (I have a preference for none),
should be editable by non-programmer designers, and be reasonably
DRY.
I do think markaby, mustache, and effigy are steps in the right
direction.
My main issue seems to be designers only want to write html and css.
With HTML 5 coming out I am wondering if there is some way to leverage
the data attributes to link dynamic content to, specify loops, and
link to methods.
This in combination with using CSS type selectors as blocks in a ruby
class file that matches the name of the output html, could be an even
closer step to making views manageable.
I haven't done any work on this yet, I am mostly interested in getting
feedback about the feasibility of a system like this, and also what
performance issues I will be up against.
thanks
Bobby