Hacker News new | past | comments | ask | show | jobs | submit login

Part of the goal of this project is to abstract the data of a site's construction further from its presentation. Sites, and parts of sites, are very portable and transparent. You can move a div around a page simply by changing the parent element specified in the 'elementParent' field of the HTML element you're describing. And you can copy divs, pages, even whole sites, more easily than server-hosted HTML sites. Being in a more formal data structure lends sites to more automation, working with data objects alongside string parsing.

The browser engine is meant to be as minimal as possible, and could be easily replaced by a native browser function that ingests JSON to display pages. CSS still works normally, and the engine has a variable system to add flexibility to CSS - you can specify several CSS styles as a variable, then just use the variable in the class field of the HTML element you're describing - the browser engine will replace the variable with the several styles on page build.

These are written in JavaScript because it's the only language that runs in major browsers. Were other languages available in Chrome, Firefox, etc, this might be better in another language.

Websites should be easier to build, faster to load, more robust and stable, while being smaller in memory. But going back to 1997 technology isn't the answer.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: