Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
column names in #__content and #__categories
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
hoochicken  
View profile   Translate to Translated (View Original)
 More options 29 Aug 2012, 11:57
From: hoochicken <mareike.rie...@ql.de>
Date: Wed, 29 Aug 2012 08:57:41 -0700 (PDT)
Local: Wed 29 Aug 2012 11:57
Subject: column names in #__content and #__categories

Hi,
I'm not sure, if I'm right here.
Lately (while working on a module) I found, that the tabels of #__content
and #__categories (and other components, had a short look) have similar
columns, yet named differently.
E.g.
#__content.state ~ #__categories.published
#__content.created ~ #__categories.created_time
#__content.created_by ~ #__categories.created_user_id
Is there a reason, why the columns are named differently? To me it seems,
that the names should be the same.
Kind regards
Mareike


 
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rouven Weßling  
View profile   Translate to Translated (View Original)
 More options 29 Aug 2012, 12:03
From: Rouven Weßling <m...@rouvenwessling.de>
Date: Wed, 29 Aug 2012 18:03:02 +0200
Local: Wed 29 Aug 2012 12:03
Subject: Re: [jcms] column names in #__content and #__categories

On 29.08.2012, at 17:57, hoochicken <mareike.rie...@ql.de> wrote:

> Is there a reason, why the columns are named differently? To me it seems, that the names should be the same.

They should. But it's a backwards compatibility issue to change them at this time.

Best regards
Rouven

  smime.p7s
6K Download

 
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
elin  
View profile   Translate to Translated (View Original)
 More options 29 Aug 2012, 16:38
From: elin <elin.war...@gmail.com>
Date: Wed, 29 Aug 2012 13:38:06 -0700 (PDT)
Local: Wed 29 Aug 2012 16:38
Subject: Re: [jcms] column names in #__content and #__categories

Those tables are pretty much the same tables as we had in 2005.

There are tons of modules, plugins and components that make queries against
those tables so much as we might wish to make the field names the same  the
breakage potential is huge. There will certainly be a point when that all
changes when we switch the content model, but there is no point in making
the changes until there is substantial benefit.

Elin


 
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hoochicken  
View profile   Translate to Translated (View Original)
 More options 30 Aug 2012, 02:02
From: hoochicken <mareike.rie...@ql.de>
Date: Wed, 29 Aug 2012 23:02:59 -0700 (PDT)
Local: Thurs 30 Aug 2012 02:02
Subject: Re: [jcms] column names in #__content and #__categories

Thanks for the explanations!
When planning a new component, do you recommand a certain standard?
Would it be better to use 'state' or 'published' in a new component?
(Now it may be of no real use.
But later on it might be useful to have components with a fix group of some
kind of standardized/recommended column names (and the additional columns
typical for a special component).)
Kind regards
Mareike


 
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
elin  
View profile   Translate to Translated (View Original)
 More options 30 Aug 2012, 02:15
From: elin <elin.war...@gmail.com>
Date: Wed, 29 Aug 2012 23:15:20 -0700 (PDT)
Local: Thurs 30 Aug 2012 02:15
Subject: Re: [jcms] column names in #__content and #__categories

If you use state you can extend JTableContent more easily. That's
especially useful if you are going to track assets.   The main fields with
varying names are
state/published
title/name
link/url
params/attribs
and then a bunch of the publication information. The only thing I would say
about that is categories is different than all the others but it matches
what is in the ucm repository.

Elin


 
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic