Title: Cache & CFIMPORT?

Q. When using a CFIMPORT, is it at all possible to cache or performance tune them?

The reason being is instead of using an XML parser etc, we typically treat the actual UI itself as the XML and within the gizards lies the actual logic for presenting pieces of the view to screen.

Eg:

<--- Serialize Model Data to feed into Tags here -->
<cset blah = myModeLStruct>
..

<abs:tabPanel>
        <abs:Tab attribute="xyz">
                <abs:FormGroup>
                       
                        <abs:TextInput formField="blah" />                     
                        <abs:ComboBox formField="monkey" dataModel="#myModelStruct#" />
                </abs:FormGroup>

        </abs:Tab>
</abs:tabPanel>

We place this inside the presenter, and basically each presenter has a series of "XML flavoured" code, but really each tag is its own. Kind of ripping off the FLEX concept if you will but using DHTML/FLASH :D

My overall concern is, that it could get pretty intense "tag" wise per request? (ie if a screen has 12 tabs with 30 controls on each? Then what?) Is there a way to tune this so that its optimised to its full potential (theories welcome).

I'm not into parsing XML into a CFC that rolls the HTML into a variable and you dump it etc.. To me that’s a leap of imagination upon the developer, and I like the concept of just opening up a presenter and you actually see how it flows and how data is being feed into it, instead of a emulated databinding concept.

Regards
Scott Barnes
Senior Web Developer
Alpha Business Systems
[EMAIL PROTECTED]

1/31 Thompson St
Bowen Hills QLD 4006
Ph +61 07 3216 0999
http://www.alphabus.com.au


Reply via email to