Our team has been working on javascript library implementation.  We haven't
seen anything quite like this.  If you have any comments or recommendations
we would love any help.

Basically it seems all common and frequently used javascript libraries have
some type of selector engine to simplify the development process.  We
believe this is definitely the way to go.  Web developers know css so the
learning curve for simple javascript libraries or implementations is really
fast and easy.  Also the more we push CSS hopeful the more standards
and innovation should become prevalent.  The one thing that always seems to
shock mean is how much they seem to be reinventing the wheel.  For example
to apply CSS to elements on the page the user must find all the elements on
the page and loop through them.  Here is a simple speed example in Firefox
using the native CSS selector engine to render styles.  By using the native
CSS selector engine everything becomes *live* with added *speed benefits*.

Stylesheet: 2ms
jQuery Speed Test: 14ms

Here is a jsfiddle if you want to test the speed yourself:
http://jsfiddle.net/YqYpZ/

*If nothing else just download the github zip from *
https://github.com/limeblack/LiveEvents *and open up index.html in your
browser.  Edit script.js freely.  The syntax is fairly simple.  The cool
thing about using CSS to distribute events is that all events are live.  Also
there is no increased overhead  for adding additional Selectors.  *
**

So basically here are two of our javascript libraries that use the actually
browsers CSS engine to store information.  The Outline-color property is the
most unused property, especially on psuedo elements so it uses that by
default.  Right now we use outline-color css property stored on the elements
psuedo ":after" selector.  This ensures virtually no conflict with any
styles on the page.  Not all speed optimizations have been made and they are
definitely in development, but the general concept is definitely there.

https://github.com/limeblack/LiveEvents
<https://github.com/limeblack/LiveEvents/blob/master/index.html>
https://github.com/limeblack/LQuery

I would really like to finalize and put through effort into the needed
functions/methods that will be in the api.  I want as few methods to help
cut down on file size and ease of use.  Any ideas/contributions would be
appreciated.

Lime Black
706-363-0607
_______________________________________________
JSMentors mailing list
[email protected]
http://jsmentors.com/mailman/listinfo/jsmentors_jsmentors.com

Reply via email to