Skip to content
trillobite edited this page Feb 8, 2016 · 2 revisions

The text in this wiki has been copied from the jsonHTML Guide. There may be a few inconsistencies, so if you want to view this in the original form, please visit the official guide.

First of all, thank you for taking your time to view this guide. You can click on "The Basics," on the left hand side to begin right away. If you are patient, and really want to know about jsonHTML in detail, you may enjoy reading what is below.

"What is it?" Well, in order for me to explain that to you, I must first tell you what it's not. jsonHTML is not a performance enhancer, it's not exactly a language, it's not exactly a compiler, it's not exactly a library, so now you see why it's so incredibly difficult to describe! I can tell you what it does, and how it is within purgatory, unable to be classified under any type of project, if anything, you can say that it is a Language, a Compiler, and a code library at 17KB, all at the same time! By the way, you are looking at it right now, this web page was developed using jsonHTML.

"Why was it created?" I created jsonHTML for a project at my work, we needed a web GUI for our customers to be able to modify, and display their data on our SQL servers. As you may already know, there is no way to predict how much data is within a SQL table, they can vary in size wildly. If you want to display that data on the web, typically you would have to use something like PHP, but that requires more cpu cycles on our servers. jsonHTML takes what PHP would need to do, but has it done on the client side, thus, creating something more like a Web App, very active and fluid.

"How does it do it, and what does jsonHTML stand for?" jsonHTML takes the jsonHTML syntax, compiles it down to JSON first, just as a simple way to organize and sort data for the rest of the compile process. Then once it goes to JSON, functions are parsed, stored in memory, div id's are generated or stored in hash tables, then jsonHTML child objects are appended to their parent objects. Once everything is put into memory, parsed, or executed, the remaining JSON is compiled down to HTML5 spec objects. The HTML objects are managed extensively using jQuery, which is one reason jsonHTML's syntax is strikingly similar to jQuery, this prevents confusion and simplifies things for the programmer.

Clone this wiki locally