Web development for DBAs
#About An SQL-like language for querying the DOM. More info here.
#Development
DOMQL is an interpereted language powered by the Sizzle selector engine.
Most SELECT queries can be directly compiled to a Sizzle query (see src/test.coffee).
DOMQL is written using the Jison parser generator.
##Source Files Overview
##Getting the Code
git clone [email protected]:amasad/DOMQL.git
##Dependencies
You only need to install NodeJS. All the modules are checked in.
Note that browserify has been altered to work around a bug.
##Running
Using CoffeeScript's Cakefile you could do the following:
cake buildParser
: Builds the parser.cake dev
: Starts the development server at localhost:8080 and watches the grammer file for changes to rebuild the parser.cake build
: Builds and minifies to domql.min.js.##Tests
Run cake dev
and navigate your browser to http://localhost:8080 then open your JavaScript console to see the test results.
#License The MIT License Copyright 2012 Amjad Masad [email protected]