Title: cakePHP issue
Last modified: August 19, 2016

---

# cakePHP issue

 *  [pinastro](https://wordpress.org/support/users/pinastro/)
 * (@pinastro)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/cakephp-issue/)
 * Hi guys
    I am not sure how relevant is this query on wordpress forum.The problem
   is , I am not getting a proper forum for cakePHP.
 * I am trying to create a blogging application very much similar to wordpress as
   my starter for learning cakePHP.
 * I created a Blogging app where people can write and store content.Then using 
   the AUTH component for Login and Register.I also created Comments using Model
   Association with following relationship
 *  POST hasMany COMMENT
    COMMENT belongsTo POST
 * It works well … but in future I want to make the relationship little more complex
   say
 *  POST hasMany COMMENT
    COMMENT belongsTo POST
 * and then …
 *  COMMENT hasOne USER
 * but before that I want to make this relationship work according to which Only
   the Person who has logged in can Edit the post if he clicks the EDIT button ,
   and likewise , The database should store the USER_ID with the id of USER when
   the Logged In person Writes a POST:
 * The relationship goes like this I guess (correct me if I have gone wrong with
   relationships) :
 *  POST belongsTo USER
    USER hasMany POST
 * Please help me , I have been banging my head for the past 24 hours.

Viewing 1 replies (of 1 total)

 *  Anonymous User
 * (@anonymized-3085)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/cakephp-issue/#post-1836193)
 * If you are not using WordPress, and are using cakephp to create a WordPress like
   piece of software, then the **WordPress** support forums are not the place to
   ask.

Viewing 1 replies (of 1 total)

The topic ‘cakePHP issue’ is closed to new replies.

## Tags

 * [blogging](https://wordpress.org/support/topic-tag/blogging/)
 * [relationships](https://wordpress.org/support/topic-tag/relationships/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 1 reply
 * 2 participants
 * Last reply from: Anonymous User
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/cakephp-issue/#post-1836193)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
