Well,

I have a project like yours.
I have to build a "survey-builder".
My client wants to login the system, and be able to create as many pools
(big pools) as he wants.
And his employees need to login the system and have access to fill this
forms up and save them to his db.

The project is in the begining of coding. Ive already done the database
schema, based on his actual system.
The two systems (his actual and this one) need to share the same database,
so, i had to build my db respecting his actual system.
Its for a small company, but really complex system.

Basically, he has ten employees that call to some people and fill the pools
with the clients answers. Then he use his other system to maky some
statistics, and build a very detailed report to his client.

My job is to minimize the time he spend creating the pools on the computer.
Today, he need one week to build a totally independent system written in
delphi and at the end of the pool, he need to export the data from delphi
and import into his main database.
So he asked me to build a pool builder (its a form builder actually).
And I am at the same problem as you are. How to render the form with cake
without have a model for each form built in the system.

If you have any solutions, please share with us.
It may help me too.

Thanks

--
Renato de Freitas Freire
ren...@morfer.org


On Tue, Feb 9, 2010 at 10:53 AM, @pauldatta <pkdatta2...@gmail.com> wrote:

> Thankyou Paul for your suggestions.
> Creating a webform markup generating UI was an initial requirement
> that has now changed into this - everything gets saved into our db.
>
> I have so far being using my own markup rendering methods to generate
> the html that is sent asynchronously to the UI. I have to refactor
> this and use the form helper better.
>
> I guess a demo will be possible in a couple of months, not right now
> (NDA etc) :)
>
> So I guess the best solution would be to use the form helper as much
> as possible without creating a mechanism to render html (eg using a
> very OOP way of doing this by building tags etc).
>
> Will wait for more suggestions before doing the refactoring on this
> one.
>
> On Feb 9, 2:34 pm, WebbedIT <p...@webbedit.co.uk> wrote:
> > Sounds an interesting idea and I would love to see a demo too.  I'm
> > assuming there are no databases involved here that you are using ajax
> > calls to build the source code for a HTML web form that the user can
> > then copy/paste to use in their own site?  Could this be developed to
> > work with a database as a lot of my clients prefer their responses to
> > be stored and interrogated at a later date.
> >
> > My uneducated view is that I personally do not see a problem with a
> > switch in the ajax call's view/element to run whichever flavour of the
> > form helpers $form->input() statement is required.
> >
> > OK it's not entirely separating HTML from PHP logic, but to create
> > multiple elements rendered on conditional statements from the
> > controller would mean each element is likely to contain not much more
> > than <?php echo $form->input('name', array($options)); ?> which is why
> > the helper was created in the first place.
> >
> > Paul.
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to