Forum: Ruby on Rails RE: Re: Dirt simple .rcss templates

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
6ff739ae9ebd9522b6bac69ed2e7d25f?d=identicon&s=25 Dean Matsueda (Guest)
on 2006-03-24 01:17
(Received via mailing list)
> ERb is simple enough for
> someone who is coming from HTML/CSS/PHP land, but I don't
> want to drop yet another new syntax on a designer.
> Regular CSS with ERb is pretty much ideal for my needs.

I think I missed the original question but would have to agree here.
Although I suspect this is probably true for other designers, just
speaking for myself, working with CSS and remembering all the hacks and
tricks is hard enough without having to learn Yet Another Syntax.

Free-lancers like myself work with all kinds of developers using
different platforms and having to learn a special syntax just for some
RoR projects but not every RoR project... well, that's cool and I'd be
open to doing that.  But, I'd rather spend my time and more importantly
perhaps, I'd rather spend your or your client's money on doing design
work and not learning RCSS or what-have-you.

Just trying to be pragmatic about all this... :)

Additionally, a designer can organize their CSS files and rules so that
something like RCSS is largely not needed.  Doug Bowman over at
stopdesign.com has some interesting techniques as some other CSS-gurus
out there.
A4a90580e0113ab143ab29bace65d24c?d=identicon&s=25 poomplex (Guest)
on 2006-03-24 09:14
> Additionally, a designer can organize their CSS files and rules so that
> something like RCSS is largely not needed.

not knowing what RCSS is, it sounds like it might be a good solution to
user-definable themes & layouts', at least without spewing <script> crap
into the top of each page..
9f0f89bbd9e1ecfbaab6584e429b7a2f?d=identicon&s=25 Josh Susser (jsusser)
on 2006-03-24 19:13
poomplex wrote:
>> Additionally, a designer can organize their CSS files and rules so that
>> something like RCSS is largely not needed.
>
> not knowing what RCSS is, it sounds like it might be a good solution to
> user-definable themes & layouts', at least without spewing <script> crap
> into the top of each page..

Since my original post seems to have gotten lost from this thread...
RCSS is just CSS with embedded Ruby, just like RHTML is HTML with
embedded Ruby. Of course, there are at least two other things out there
called RCSS as well - one uses a "server-side includes" syntax, and the
other uses Builder syntax like RXML files. I can't claim that either of
them are less justified at using the RCSS moniker than the CSS + ERb
approach I prefer, but I don't see that that's a problem. Yay for
anarchy.

You can find my writeup of my RCSS template solution here:
http://blog.hasmanythrough.com/articles/2006/03/23...

--josh
http://blog.hasmanythrough.com
This topic is locked and can not be replied to.