Rico for RIA
-
Browsing around the web for Ajax articles and came across Rico. If you want a quick method to create Rich Internet Applications, Rico is one library to look into.
Coding RIA is Rico is quite simple and easy. Here’s the code for a drag and drop example from Rico.
<div class="box" style="background:#f7a673" id="dragme">
Drag Me
</div>
<div style="margin-bottom:8px;">
<div id="droponme" class="panel" style="display:inline;background:#ffd773">
<div class="title">Drop On Me</div>
</div>
<span> </span>
<div id="droponme2" class="panel" style="display:inline;background:#c6c3de">
<div class="title">Drop On Me 2</div>
</div>
</div>
<script>
dndMgr.registerDraggable( new Rico.Draggable('test-rico-dnd','dragme') );
dndMgr.registerDropZone( new Rico.Dropzone('droponme') );
dndMgr.registerDropZone( new Rico.Dropzone('droponme2') );
</script>
The demo for this code is at:
http://openrico.org/rico/demos.page?demo=rico_drag_and_drop_simpleThe simplicity of creating RIA is quite a stunner. I plan to use Rico in one way or another in the next project I start off on.























