title: One view, multiple nested forms, multiple tables
body: <p><strong>Background</strong></p>
  
  <p>I was given the task of writing a Small Business online database. This database is to include a lot of info as well as info on their directors and branches. Since any business can have an unlimited amount of directors and branches, I need to create a database that is not limited to just one director and/or branch.</p>
  
  <p><strong>What do I have</strong></p>
  
  <p>Currently I have 3 tables.</p>
  
  <pre><code>smmes [id, company_name, trading_name, business_address, registration_number, tax_reference, vat_number, bbbee_status, employees, awards, created, modified]
  ownerships [id, smme_id, name, surname, gender, age, race, disability, qualification, created, modified]
  branches [id, smme_id, location, contact_number, contact_person, created, modified]
  </code></pre>
  
  <p>Note: smme_id is the id of the company in smmes that the branch or director belongs to.</p>
  
  <p>And I have a view for the SMME's.</p>
  
  <p><strong>What is my question</strong></p>
  
  <p>I'm VERY new to cakePHP (in fact, this is my first app I'm creating with cakePHP). I want to know how I can make one form where a user can enter all this detail and then add the details for all directors and branches from one view. I would prefer that they do not have various views to go through to create all the details. Add to that, this one view should then save all the data to the correct tables with the correct smme_id.</p>
  
  <p>Is this possible or should I rather leave cakePHP and write it manually.</p>