I want to create a custom UI framework in JavaScript for web applications (like Google Docs UI) (do not confuse with web applications that deploy using languages like PHP, Python, etc.). However, after reading several books about web development, I understand that the best website is layered as follows:

  1. Structure in HTML
  2. Presentation in CSS
  3. Behaviour in JavaScript

So there are several approaches to creating my own HTML document and controlling it in JavaScript. However, in this approach, HTML and CSS will be mixed, like in the case of ExtJS UI. I am confused now, and I need some answers from experienced developers on how to write this kind of framework.

  • If HTML, CSS, and JavaScript are mixed.
  • What were the advantages?
  • What were the disadvantages?
  • Is there are other methods?
  • What was the usual type of UI framework creation?
Edit
Report