CFWidgets 0.8

This projects is far away to be complete; Dojo is as powerful as is complex and i simply have not the time to build a complete job.

Anyway i think that this set of custom tags can really help the ones who wants to build fast Ajax interfaces without having to learn to use frameworks and javascript in deep.

Please do not misunderstand me, these tags can help and are wonderful if you need basic interface widgets and not so much interation; with the demo and the examples you can see what you can do without further programming; the plus here is that if you want to go further you can as under CFWidgets there is Dojo and you can use it over the existing tag code, so you can build your basic interface and, when the tag are not enough, you can use Dojo directly.

And here the big question: Why Dojo?

Well, because when i start building the widgets there was really no choice as regards widgets availability. Now the situation is different and i'm not sure if i would choos Dojo again, but now i've learned to use it (or, at leas, part of it) and indeed i really like it's philosophy and it's widget system.

INSTALLATION

These are custom tags, so really no installation is needed(simply put the tag in a folder and then call them with your preferred method); but REMEMBER to put the js folder (or the cfw and dojo folders that are insied) in a folder that's reacheble by your web server.

The tags needs to know where the js code is, so you can:

  • put two request variables (request.dojopath andrequest.jspath) in your application.cfm or application.cfc file (like in the demo/feedreader)
  • or make a call in your page to the dojo custom tag passing to it the attributes dojopath and jscfwpath

ATTENTION - If you use widgets that are loaded using XHR then you should have problems, by default javascript code is not processed in the result code of XHR calls; you can use the attributes executeScripts = "true" but it will never execute the code you have in a <script> section.

CFWidgets by Andrea Veggiani

CFWidgets 0.8

This software is released under the Apache License 2.0.

Feel free to contact me for any information you may need and, of coure, if you want to help me in development.

andrea@dinamica.it