I'm looking to migrate a bunch of spaghetti code to an organized cfc. Before I start, I'm curious of any 'best practices' anybody could enlighten me about.
Is it best to have few cfc's and compile as many functions into a single cfc? Or is it ok to have dozens, if not hundreds of cfc's that are very specific? Is it ok to use CFINCLUDE in a cfc? I have a few functions that have a bunch of code and I'd rather "include" the code in just to make the CFC itself thinner. Can you use a 'function declared in a cfc' within another function declared within that same cfc? Meaning, if I declare a function in a cfc, can I use that function within another function declared after the first one? Where do I put CFC files in OpenBD? How do I make my app initiate them? -- online documentation: http://openbd.org/manual/ http://groups.google.com/group/openbd?hl=en
