I have php based application currently written using CI. I want to integrate Cappuccino JS framework at my UI layer. Does anyone know how can one go about doing that?
+2
A:
Cappuccino is a JS framework that brings UI developerment style much like the one you'd have with Apple's Cocoa to the web. So instead of creating HTML pages and then using a templating system to inject variables, the UI is generated purely by Obj-J and Cappuccino (which is pretty cool). Since the UI is coded completely in Obj-J it would be best if calls to the backend were done via ajax (with JSON transport). This can be done the normal way AJAX/JSON is done in javascript since Obj-J is a superset of Javascript. You can find some tutorials about Cappuccino here.
Mind you Cappuccino isn't for the light hearted. Unless you know WHY you're using it, you probably shouldn't be.
Kendall Hopkins
2010-06-09 17:48:22
To use this in CodeIgniter you would use it in much they way you would use jQuery in CI?
Kieran Andrews
2010-06-09 21:27:17
@Kieran Yes, but even more so. Because in Cappuccino you want to completely avoid page reloads, and only do soft page loads. So everything must be JSON/XML interfaced instead of HTML.
Kendall Hopkins
2010-06-10 00:05:33