Wednesday, June 2, 2010

Re: Advise on creating a Game with cakephp

Chess sounds cool. Let us know how you go with it.

You could implement pieces and boards as models, Board hasMany Pieces.
If you need some non-MVC classes to provide some structure and
organisation for your app, you can put them into the libs directory,
and App::import() them from there.

Hope that helps.

Cheers,
Graham Weldon (AKA: Predominant)

On Thu, Jun 3, 2010 at 2:54 AM, gmansilla <mansillag@gmail.com> wrote:
> Hello, I plan to develop a table game like chess,  from a MVC
> architecture... where do I write all the logic and validation? it
> would be written in a model, right?
> If so, these models wouldn't use any table, What if I need some
> classes to build the logic? would be all those classes just models? if
> so, then I should call them using App::import()?
>
> Of course I will use ajax but the logic will be placed on the server
> side.
>
> Am I planning well so far?
>
> 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
>

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

No comments: