Friday, June 11, 2010

Re: General development with MVC and Cake in particular

There are a couple of ways you could to that. One way is to start the
user at acton A, rhee form on action A submits to action B and action
B submits to action C.

Or you could use a bit of ajax magic, or do a google search for the
wizard component. The wizard component is quite nice.

On Jun 8, 11:53 pm, Mike A <m...@isye.gatech.edu> wrote:
> I'm new to Cake and the MVC style of programming.  I've had no luck
> finding a guide to best practices for programming this way, or even
> guides to building anything much more complicated than a blog.  I've
> been tasked with rebuilding an ancient intranet app, and I'm trying to
> use Cake to do it.  I could use a bit of advice on the best way to go
> about this.
>
> Our current app is written in Fusebox 3.  It's designed to track our
> staff vacation and sick days works as follows:
>
> 1.  user selects the employee who is taking time off
> 2.  script pulls that employees data from database A
> 3.  user is given a web form with the employees data filled in
> 4.  user selects the dates of leave and if it is charged to vacation
> and sick time, then submits the form
> 5.  script records info to database B
> 6.  web page displays the employees updated sick and vacation totals
>
> In the existing Fusebox app, I can chain a series of php pages
> together (actions, views and queries) to do all the work.  Data is
> passed from page to page via POST variables.
>
> Can someone give me advice on how to do all this in Cake?  I'm trying
> to figure out the best way.  Should I create a function in the
> controller for each step?  How can I pass that data back and forth?
>
> Thanks in advance for any advice you can give.
>
> Mike

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate