Posted by Colin McKinnon on 05/26/05 15:37
Jam Pa wrote:
> Hi!
>
> Once again I am building a simple app that shows data that users can add
> and manipulate from a form on a web page.
>
> I would like to discuss about simple simple solutions to these common
> problems. Please join in, and add your own comments, and questions.
>
> My question is, whats a clever way of handling the part where user adds
> data?
>
> I have simple solution like this: 'commands' are sent through GET (in url)
> to the server, where index.php or similar file includes other files
> accordingly. Now this doesn't work well with OO where I am headed.
>
Why not? What you've described is a front-controller pattern. If you're a
patterns kind of person, you use the FC to multiplex the M[V]C objects.
C.
[Back to original message]
|