nitish pandey wrote:
1.What is the advantage of having ability to write the same thing in CFSCRIPT? Just makes it fancy?

For OpenBD there is actually a performance gain by using CFSCRIPT blocks instead of the tags. There is also a slight memory reduction, but this is not much over and above. You only notice this for big blocks (20 lines+)

It comes down to readability and personal preference.

I personally put all business-logic and faceless code in CFSCRIPT, and use tags for all rendering. I love the Javascript like syntax and find it very easy to code things up quickly.

I also use <cfscript language="java"> a lot. I will sometimes drop into raw Java for anything that would be a little "clunky" in CFML/CFSCRIPT. molnfront demonstrated an excellent use case for this earlier this week in his post about XML-RPC.

Its all about choice ... OpenBD gives you as much as possible/practical.

--
official tag/function reference: http://openbd.org/manual/
mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to