Why not building a CsvSource extending DataSource ? Maybe this even
already exists because this is something many people could use.
Then you could build models using this CsvSource
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the G
ginal-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Joe Crawford
Enviado el: Sábado, 17 de Febrero de 2007 06:32 p.m.
Para: cake-php@googlegroups.com
Asunto: Re: Logical architecture for importing CSV or other files?
That sounds
On 2/17/07, Mariano Iglesias <[EMAIL PROTECTED]> wrote:
> Why not just build it as a component and from the component while importing
> populate your Cake models?
That sounds promising. I'll dive into the components documentation.
Thanks!
Joe
--~--~-~--~~~---~--~---
knowledge.
BAKE ON!
blog: http://www.MarianoIglesias.com.ar
-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Joe Crawford
Enviado el: Sábado, 17 de Febrero de 2007 03:48 p.m.
Para: cake-php@googlegroups.com
Asunto: Logical architecture for importing
So I'm working on an application that has as one of its parts
accepting "leads" from external entities. We get these as emails in a
quasi CSV format (I'm trying to get a better format, XML maybe, but it
seems unlikely). I wrote some code in PHP to parse these to create SQL
statements to insert thi