« Return to Thread: CSS Framework?

Re: CSS Framework?

by Janko Mivsek :: Rate this Message:

Reply to Author | View in Thread

Rob,

This is a good question and I also thought about it similarly. So far I
decided to go CSS only but with architecture, which can be extended to
generate CSS more programatically. You can do that now already by adding
a css* method which generates CSS when called. I'm using that from time
to time already.

But more broadly, should we tie CSS more closely to web elements or not.
Now we have a strict separation and this is good every time you are
working with web designers. they just need to provide a CSS for a design
and you put that in one css method and that is.

But if you work standalone, programing both web and css parts by
yourself, then this is a problem, yes, I fell by myself the same. Should
we "objectify" CSS for such cases? Is it worth? CSS is not simple. Maybe
  objectify just most common parts?

Janko

Rob Rothwell wrote:

> Hello,
>
> This is mostly a philosophical question, I guess.
>
> Do you think there would be any benefit to adding a CSS "layer" to a web
> framework such as Aida?  In other words, would it be worth it to be able
> to code your styles in Smalltalk in the same way that the HTML is
> currently created by Aida?
>
> Or, is the point to be able to use existing CSS without having to
> re-write it in Smalltalk?
>
> I guess the binding between the style and the elements/components
> created with Aida seems much more tight than the Javascript components
> that can sort of just be "loaded" and "forgotten" (kind of like a
> plugin), so it feels like there could be some benefit.
>
> I guess it just feels a little awkward to describe the style in one
> language and build the component in another!
>
> Rob Rothwell
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Aida mailing list
> Aida@...
> http://lists.aidaweb.si/mailman/listinfo/aida

--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si
_______________________________________________
Aida mailing list
Aida@...
http://lists.aidaweb.si/mailman/listinfo/aida

 « Return to Thread: CSS Framework?