CodeIgniter Forums
Best ajax plugin for CI - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Best ajax plugin for CI (/showthread.php?tid=14416)



Best ajax plugin for CI - El Forum - 01-01-2009

[eluser]Computerzworld[/eluser]
Hello All,
I am building contact functionality in CI. The functionality will be something like adding contacts in gmail Smile. Which is the best ajax plugin or some ajax library that I can use for building such kind of application? Please help me. Thanks.


Best ajax plugin for CI - El Forum - 01-02-2009

[eluser]thinkigniter[/eluser]
I'm about to release a library for CI that is a bridge, for want of a better name, between Jquery and php/ci.

It called Taco, currently about 13kb in size.

Taco simply generates an XML file that the jquery taconite plugin from
www.malsup.com/jquery/taconite/#overview
automatically detects and execute once called.

E.G.
To append a DOM element with an ID="MY_ELEMENT" you type
Code:
$this->taco->append('MY_ELEMENT','<p>With this DATA</p>');
$this->taco->process();

Of course you can use almost all of the jquery commands
See them here...
http://colorcharge.com/wp-content/uploads/2007/12/jquery12_colorcharge.png

You can make some really amazing effect with only a few lines of php code.

This should be ready to go sometime soon.