Dick Applebaum wrote: > Someone (maybe me), posted that strong typing in CFML would allow the > CF parser to generate better Java code.
Not the current one. > Say you want to change the program(s) slightly so they return a list > of db tables, and the columns within each table. On the presentation > side, you want to display the combined list in a select box. > > Here' s what you do, presently: > > 1) display the Java source > 2) modify the Java source. > 3) save the Java source > 4) switch to a CLI window > 5) compile the Java source > 6) switch to the CF source > 7) modify the CF source > 8) save the CF source > 9) switch to a browser window > 10) invoke the cf template > > Here's what you would do with inline Java > > 1) display the combined CF source with the inlineJava source > 2) modify the inline Java source. > 3) modify the CF source > 4) save the combined CF source with the inlineJava source > 5) switch to a browser window > 6) invoke the cf template > > Now, you might say "You only save 4 steps!! -- but that's 40% of the > steps. Steps are irrelevant. Time is the question. And if it is really that big an issue, your need to submit an enhancement request for you Java editor that is needs a button to publish (save and compile) the code. And if your CFML source editing environment is sufficiently smart/programmable it could just parse out an inline Java tag you defined yourself, move averything inside it to a java, compile it and translate the cf_inlinejava tag to the appropriate cfobject call. For the advantages on the code editing you mention here, you just need a better code editor, not better server side components. Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.

