XooTools

XooTools is a Mootools deriviative for the XUL application platform. Check out the documentation for XUL specific addons.

Download

Roadmap

0.1 Make It Work

  • Initial compatability import. A haphazardly port of mootools to xul where xulrunner doesn’t report errors.
  • Basic objects added for easy access to file system and debugging.
  • Schema/howto/conventions documentation

0.2 Make It Smart

  • Xootools trimming. Removing any unneeded code already provided by Javascript 1.7 and built-in XPCOM.
  • Basic objects added for easy access to database files, caching, and data modeling.

0.3 Make It More

  • Xootools extensions

Library Modules

* not yet implemented

Core – Core modules required for xootools

  • Core.js
  • System.js ( Environment vars, Native object setups )

Class

  • Class.js
  • Class.Extra.js

Native - Javascript Natives

  • Array.js
  • Event.js
  • Function.js
  • Hash.js
  • Number.js
  • String.js

Dom - DOM

  • Element.js
  • Element.Event.js
  • Element.Dimensions.js
  • Element.Style.js
  • *Xml.js ( proposed ) – easy wrapper for xml objects
  • *Xslt.js ( proposed ) – easy wrapper for xslt objects

Fx - Special DOM Effects

  • Fx.js
  • Fx.CSS.js
  • Fx.Morph.js
  • Fx.Transitions.js
  • Fx.Tween.js

Network - Network connectivity (was Request)

  • Request.js
  • Request.JSON.js
  • *Request.Xul.js – easy XMLRequest wrapper for interacting with XUL elements
  • *Server.js – easy general server socket library
  • *Client.js – easy general client socket library

Storage - Local file system, general data storage library

  • Fs.js – Convenience wrapper for File System management
  • *Fs.Csv.js – Object to interact with csv files.
  • *Db.js – Db Class wrapper for sqlite databases
  • *Db.Result.js – Db result set object
  • *Db.Model.js – ActiveRecord-like object generator
  • *Cache.js – Convenience object for cacheing things

Utilities

  • JSON.js
  • JSON.JPath.js
  • Selectors.js
  • UnitTest.js
  • Md5.js
  • Debug.js
  • *er.js – Erlang thread classes

Plugins

  • Microformats / XOXO.js
  • Unit / Time.js
  • Unit / Pound.js
  • *Vlc.js – Object for interacting with the VLC plugin

3 Responses to “XooTools”

  1. Daniel Buchner Says:

    Hey man, sweet package you have with xootools. I tried the include steps you listed in the install readme and the path does not seem to work? Any ideas here?

  2. Daniel Buchner Says:

    Got the lib working fine. How do you grab elements out of the document located inside a newly created tab? I can get the new tab with $(), but all attempts to reach into that tab are null. .getElements() will not grab elements. Any ideas here?

  3. admin Says:

    That’s actually a current limitation in xootools. I was working thru this same exact problem in another project and i ended up resorting to the standard getElementsById() functions to access elements in the browser element.

    I think it may have something to do with how the browser element sandboxes the code because i had some trouble with getting these methods prototyped into browser elements.

Leave a Reply