hudsonfoo / transcendJS

Object-oriented web development from start to finish.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

transcendJS

What is this? transcendJS is an attempt to rethink how the web works by allowing a developer to create an entire website without writing a single line of HTML or CSS. Instead, a developer can build an entire website using object-oriented JavaScript.

"You may say I'm a dreamer, but I'm not the only one."

Goals

  • Abstract developer from cross-browser HTML and CSS issues by creating pseudo styles that will convert to cross-browser CSS.
  • Give styling the flexibility of something like LESS or SASS but provide "living" styles as well that can change based on their environment.
  • Reset every single page element so that it is only effected by other styles if you want it to be (using style inheritance).
  • Allow developers to easily create reusable site objects.
  • Make maintainability the priority. Why should an elements data, styles and events all be kept separately?

Issues

Hey, nobody's perfect right? Obviously this has never been done before so there are a few hurdles to overcome.

  • Loading time will be effected. How much depends heavily on the level of customization. Creating something similar to the Dojo Build will resolve this issue.
  • Cross-browser JavaScript will still be necessary. You're not entirely out of the woods. Relying heavily on cross-browser compatibility of jQuery will mostly negate this issue.
  • The output to the DOM will be ugly. Yes, it's true, the HTML and CSS that transcendJS inserts into the DOM won't be pretty. Inline styles and non-semantic divs abound. However, the reason inline styles and non-semantic HTML and CSS is bad no longer applies when your entire site is built with transcendJS.

Other Thoughts

Let's just put this out there right now: transcendJS is not yet ready for enterprise solutions and who knows, maybe it never will be. It's a concept... a dream... a hope. It's for developers to collaborate on and perfect so that one day, maybe... just maybe magic will happen and we'll no longer be bound by outdated practices and browser standards.

About

Object-oriented web development from start to finish.


Languages

Language:JavaScript 100.0%