On 16 Mar 2010, at 12:04, Adam Haymond wrote:

> I am working to build a job board with an admin side for adding jobs
> and categories, and a front end for browsing and searching.
> 
> On the admin side I have a form for editing/creating jobs.
> 
> Each job needs to be able to be assigned to multiple categories. I am
> assuming the best way to do this is through an HABTM association of
> the jobs and categories tables. So I have created the categories_jobs
> table and placed the HABTM associations along with joinTable
> properties in each of the jobs and categories models respectively.
> 

If you have not already, I would suggest running through the CakePHP Blog 
tutorial:

http://book.cakephp.org/view/219/Blog

Also look into Baking:

http://book.cakephp.org/view/620/Core-Console-Applications

Baking can build within seconds a lot of scaffolding code that does much of 
what you are wanting to do already.  Then you can just modify it to your needs.

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to