Fitting my application architecture into Cake

2010-04-09 Thread Osman Ullah
Hi all, I am a pretty novice programmer when it comes to PHP and I am just learning to use Cake. My expertise is in "stateful" environment (desktop clients, flash clients, etc). I have some questions about the best way to do what I need and I was hoping someone here might up to giving me some advi

RE: Application Architecture

2006-10-26 Thread Grant Davies
as dumping a record you have read from the database ? Grant -Original Message- From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Grant Cox Sent: Thursday, October 26, 2006 7:27 AM To: Cake PHP Subject: Re: Application Architecture I'm not sure what you mean by &qu

Re: Application Architecture

2006-10-26 Thread Grant Cox
I'm not sure what you mean by "baking" the model - bake is just a command line application to make model/view/controller stubs (although stubs doesn't give them much justice, they are very functional). Even a "complete" model file will not specify the database fields, except where needed for vali

RE: Application Architecture

2006-10-25 Thread Grant Davies
Wow, I'm loving cakePHP and have made a ton of progress. What I'm trying to figure out now is the best approach for the xml/view/save. I have my xml loading and figured out and my form, I'm thinking : A) do I use the bake utility to create a concrete version of my model (assume to has all the

RE: Application Architecture

2006-10-25 Thread Grant Davies
t using cake's "abilities". Cheers, Grant -Original Message- From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Grant Cox Sent: Wednesday, October 25, 2006 6:00 PM To: Cake PHP Subject: Re: Application Architecture That (1) is pretty much exactly what I

(another) Application Architecture

2006-10-25 Thread ajessup
Hi Everyone, We've been asked to demo Cake to our organisation, by quickly developing a simple application. Essentially what this application does is allow employees to register themselves on via a 4 step web-based form, and then add themselves to a group made up of already registered employees

Re: Application Architecture

2006-10-25 Thread Grant Cox
That (1) is pretty much exactly what I would do. Make a component that parses your XML into an associative array. Get your controller action to pass the uploaded XML to this component, then use the array data to create and save instances of your model(s). I agree a lot of heavy lifting can be d

Re: Application Architecture

2006-10-25 Thread Chris Hartjes
On 10/25/06, realien <[EMAIL PROTECTED]> wrote: > > I'm new to cake, but not MVC so had a few questions on where the best > place is to put some functionality as it pertains to CakePHP. > > 1) I parse an XML file from a dv camera and need to insert what I get > into my database, I will have models

Application Architecture

2006-10-25 Thread realien
I'm new to cake, but not MVC so had a few questions on where the best place is to put some functionality as it pertains to CakePHP. 1) I parse an XML file from a dv camera and need to insert what I get into my database, I will have models for the data, but do I create my xml parse class in my own