Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3998106
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T07:29:04+00:00 2026-05-20T07:29:04+00:00

What I have is the following db structure(tables): lists[name,id] list_items[title,list_id,content] I’ve created the needed

  • 0

What I have is the following db structure(tables):
lists[name,id]
list_items[title,list_id,content]
I’ve created the needed files and code(the MVC) needed to manage the first table(lists).
I also added the hasMany to the model class. At that point I am stuck.
What I need is a solution for managing each item (basic CRUD, I assume that complex management is just an advanced CRUD that I will find out how to do by myself).
I will be specific: since it’s a content that have no place (but the admin) that it will be used by itself, should I –

  1. create a full mvc structure for it? (can or should I implement it somehow[how?] in the lists package?
  2. if not, how can I attach the tables? (since the use is about to be dropped in version 2)
  3. would an element(cake concept/context) will be the appropriate way to create a view for such situation?

ANY insight will be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T07:29:05+00:00Added an answer on May 20, 2026 at 7:29 am

    If I undertant correctly, you want to create a CRUD part of this tables by yourself, without bake.

    You need to write all the MVC estrucure and be carefull with the naming combention of cakephp http://cakebaker.42dh.com/2006/02/18/cakephp-conventions/

    You need the model into app/models and also a a controller into app/controllers (remember naming combentions) and for each model you need a folder into /app/views.

    Alfo, every, every function in your controller needs a view, even if this action doesn´t write anything to screen

    I hope this was usefull.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have 2 tables Test1 and Test1Update with following structure Test1 id name address
We have the following structure: ReportsDatabase X Report Y Report Y uses several tables
I have two database tables with the following structure: actions: action_id int(11) primary key
I have the following table structure: ORGANIZATION_ID | Name | PARENT_ID -------------------------------------------------- 1 |
I have the following table structure (in MySQL): DocID, Code, IsDup, DopOf , where
I have two tables Product having following structure: ProductID,ProductName, IsSaleTypeA, IsSaleTypeB, IsSaleTypeC 1, AAA,
I have the following data structure (it's an append only table for mapping content
I have 2 SQL Server tables with the following structure Turns-time cod_turn (PrimaryKey) time
I have some tables that has the following structure: cat( cat_id(pk), cat_name) ven( ven_id(pk),
I have a table with the following basic structure. unique_id | name | original

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.