|
|
|
|
|
by talmand
4959 days ago
|
|
By what you say it seems you don't understand what a class means in terms of CSS, because what you advocate is not it. In fact, your avoidance of external stylesheets heavily suggests you don't understand the idea at all. I'm not saying you don't understand these things, but what you say doesn't show it very well. No one expects a layperson to read or edit HTML, but they do have to receive it in some manner and your method is the most bloated way to do so. Why can't your magical application just output proper HTML and CSS, with external files if need be, without you ever having to deal with it? I understand wanting an easier way to do things but making something that outputs what amounts to a crappy substitution is not the solution. Anyway, I wish you luck with the most inefficient method possible of creating and providing styled HTML documents. EDIT: to the creator of domo if they happen to read this, to me this thread has nothing to do with your endeavor, I actually find it somewhat interesting despite its obvious problems. This thread is about the idea proposed about CSS as if we can be rid of it, as to be tossed away. My original intention is to explain that this is a silly idea and this has gone in a different direction. |
|
>No one expects a layperson to read or edit HTML, but they do have to receive it in some manner and your method is the most bloated way to do so.
Sending things over the wire in compressed form is trivial (many servers do it already) so this doesn't bother me.
>Why can't your magical application just output proper HTML and CSS, with external files if need be, without you ever having to deal with it?
My goal here is to reduce the number of layers you need to understand to debug your webapp. Fundamentally CSS selectors provide a way to reuse (some small specific parts of) your markup in several places - but any web application framework will already provide a way to reuse markup, with its own logic. So why should developers have to learn two different ways of abstracting their markup?