jsfx 0.0.9
A new release of jsfx which :
- fixes a lot of ugly IE positioning errors during Drag And Drop
- adds the js.fx.Accordion
- adds the js.fx.Scroll (see also the scroll inside div demo)
- contains minor fixes of lesser interest :)
Memcached for haxe
There is a great amount of tech-buzz around memcached.
The fact is memcached is a great tool to ease your database server's life and with such a centralized memory system you can come up with many funny ideas :)
Because its protocol is simple and plain text (you can test memcached using telnet) it is really easy to implement a client for you prefered programming language.
haxe memcached library contains two classes :
- memcached.Connection : the raw implementation of the memcached protocol, you can use this class if you which to do specific things of implement your own client.
- memcached.Client : a stupid client which support most common operation and which deals with serialization of haxe objects.
haxelib install memcached
jsfx library version 0.0.7
If you ever tried to use mootools with haxe/js code you might have encountered strange behaviors and bugs. In fact mootools modifies javascript prototypes and it is unsafe to use it at the same time as haxe/javascript.
Because enhanced HTML can be cool (and sometimes useful) I wanted a port of most common mootools effects which leads us to jsfx.
The 0.0.7 release supports many things, the most important components of this library are :
- js.fx.Style : some helper static methods to manipulate CSS styles,
- js.fx.Anim : the base class of all animations, very much like mootools',
- js.fx.Transition and js.fx.TransitionParam : let you parametrize animations with bounce, quadratic, cubic, etc. functions,
- js.fx.Morph : this animation applies a CSS style to an HtmlDom element morphing it,
- js.fx.Drag : drag and drop system
And some useful classes which use above components :
- js.fx.Sort : uses js.fx.Drag to manipulate items, reorder lists, etc.,
- js.fx.Tip : display nice tooltips based on title attributes,
- js.fx.Slide : toggle visibility of HTML elements with an animation,
- js.fx.Scroll : animated scrolls of the entire page or of an overflow component,
- js.fx.Accordion : uses js.fx.Slide to create accordion.
You can see some demos online.
This library is still young and it is easy to break things when CSS is involved (beware of js.fx.Slide + missing padding:).
As far as I tested it, jsfx is pretty stable and works on most browsers (Firefox, IE6, IE7, Safari, Opera).
The documentation is... well there's not documentation yet, enjoy :)
You can get jsfx sources from its subversion repository.
Or install the latest release using haxelib.
haxelib install jsfx
The subversion demos folder contains some demonstrations of jsfx usage.



