cfimport

How to add a pure javascript compiler plugin server-side when running CFGroovy in Coldfusion?

Deadly 提交于 2019-12-12 11:30:36
问题 I'm trying to sell myself to the idea of trying to build enhanced Jquery Mobile markup on the server (running Coldfusion8 ) and then try to use DustJS (Javascript templating engine) to precompile the markup into a js string, which I want to server as a static file. I think I have it down to trying to add the plugin in Coldfusion. Here is what I want to do: Start with a template like this in Coldfusion: <cfsavecontent variable="renderedResults"> <cfoutput> {##person}{root}: {name}, {age}{

How do you organize your small reusable cffunctions?

别等时光非礼了梦想. 提交于 2019-11-27 04:25:29
I am reorganizing my ColdFusion directory structures and am curious about how experienced CF developers are organizing libraries of smaller cffunctions. I am not as curious about elaborate components (objects) as I am about the dozens of little utility functions we all build up over time. Do you use a large single file with cffunctions and cfinclude it? Do you use a large single file as a cfcomponent and call creatobject/cfinvoke? Do you put each utility cffunction in its own cfc and call createobject/cfinvoke? Do you use the cfimport taglib syntax? Do you use the CustomTags or cfmodule? Do

How do you organize your small reusable cffunctions?

自古美人都是妖i 提交于 2019-11-26 11:07:13
问题 I am reorganizing my ColdFusion directory structures and am curious about how experienced CF developers are organizing libraries of smaller cffunctions. I am not as curious about elaborate components (objects) as I am about the dozens of little utility functions we all build up over time. Do you use a large single file with cffunctions and cfinclude it? Do you use a large single file as a cfcomponent and call creatobject/cfinvoke? Do you put each utility cffunction in its own cfc and call