Re: Need high-level advice on how to implement cross Model csv exporter

2009-04-16 Thread Martin Westin
Hi, some ramblings and vague advice... :) As long as all your normal actions and views make use of $this->data then you can get away with exporting "what's on screen" by simply using parseExtensions and a csv-layout (as Brandead points out). But since you mention "tens of thousands of results" I

Re: Need high-level advice on how to implement cross Model csv exporter

2009-04-15 Thread Braindead
Using the RequestHandler you could automatically switch the layout based on the extension (in your case csv). In the layout file you could generate the CSV content, which should be quiete easy. --~--~-~--~~~---~--~~ You received this message because you are subscrib

Need high-level advice on how to implement cross Model csv exporter

2009-04-15 Thread Chez17
Hello all, I have a client that wants to be able to export any results he sees on screen to a csv file. This will be used for different models and will need to work on large queries. I was wondering if anyone would be willing to share their thoughts on the best 'cake' way to do this. I'm asking f