JSMX
November 17th, 2007 Arsen Posted in Patterns - Coldfusion |
JSMX This is a very simple AJAX implementation for ColdFusion Developers (or any language that can easily build JavaScript Strings), This API does not return XML but String Representations of JavaScript Expressions.
- Using the CFWDDX tag, or the toScript() function, within ColdFusion makes converting your ColdFusion Objects to JavaScript a SNAP!
- Smaller Packet Sizes over the wire (JavaScript Vs. XML).
- Reduced latency due to less parsing of the responses.
- Parameters can be sent to the server in multiple formats including, strings, objects, and entire forms without having to build extra logic to handle each type.
- API has no Server Side components which makes it more portable (planned).
- Extremely simple syntax shortens the learning curve and speeds up development.
params = document.myForm; http( "POST" , "remote.cfc?method=dosomething" , my_callback , params );
- Open-source (Creative Commons Attribution-ShareAlike License). By Todd Kingham.
Leave a Reply