5 ms·
HTML - A declarative markup language for building user interfaces. CSS - A declarative, domain-specific language for styling user interfaces.
by orange8 6y ago
HTML - A declarative markup language for building user interfaces.
CSS - A declarative, domain-specific language for styling user interfaces.
- andarleen 6y agoJS devs like to reinvent the wheel.
- mixedCase 6y agoSolid - A declarative JS library for building highly-interactive, logic-driven user interfaces. Better?
- ryansolid 6y agoProbably. I lifted it from React when I opened sourced the project because I liked how generic it was.
- orange8 6y agoShort answer: worse. Long answer: It is worse, and it all boils down to two phrases which I classify as "marketing speak". Marketing speaks aim is to impress and influence you, "technical speaks" aim is to inform and educate you. When shopping for a library or framework for your next feature or project, it helps to distinguish between the two. Usually any time you see a buzzword, you've stumbled upon some marketing speak. The buzz-wordy term "declarative" has been popularized by React, so I just thought I'd apply it to HTML and hopefully encourage someone to skill up on the web fundamentals (HTML, JS and CSS) before tackling JS frameworks to avoid disasters like this https://stackoverflow.com/questions/42464888/how-do-i-change-the-background-color-of-the-body https://stackoverflow.com/questions/42464888/how-do-i-change.... > highly-interactive What does this mean? Are you talking about video games? Because that is what comes to mind when I see the term "highly interactive". > logic-driven Aren't all programming languages logic driven? Or are there some feelings-driven apps?
- kroltan 6y agoNeither allow you to build interactive user interfaces besides what is provided by the browser. I understand the sentiment about reinventing the wheel, but this is more like inventing tyres I suppose (fortunately they are made of rubber, so I can stretch the analogy pretty far, haha). The wheel is there, but there is something to improve to cover more use cases.
- orange8 6y ago<a href="path/to/resource">click</a> That link tag above, is not only the poster boy of interactivity, it the the foundation of the web. > Neither allow you to build interactive user interfaces besides what is provided by the browser. Neither does JS, or any framework built on top of it. All types of interactivity in a browser are provided by for by the browser.