I'd like to be able to refer to a lookup table wherever eg the organisation's departments (names will change, depts added or subtracted) are used - rules, categories, custom types...
Regards,
Natalie
modius <[EMAIL PROTECTED]>
Sent by: farcry-dev@googlegroups.com 28/03/2006 08:23 AM
|
|
Rachel Maxim-2 wrote:
>
> I'm creating my first custom type, a "location" (as in stores/offices)
> type, and one of the fields of this type will be the State of the
> location. In the past I've always had a States table in my database
> that is related to this property. What is the proper way to handle this
> in Farcry as a custom type? Should I create a States type as well?
>
> Seeing as this will rarely change (if ever...) would it be better to
> just create it in the database manually and not bother with creating a
> Farcry type?
>
It's a bit annoying having to create a fully-fledged content type for a
property like state or country. I've been toying with the idea of
introducing a "property" abstract class that would be used instead of
"types" that has less system attributes and is specifically aimed at these
sort of look up tables.
What do people think?
-- geoff
http://www.daemon.com.au/
--
View this message in context: http://www.nabble.com/Question-about-Custom-Types-and-database-Relationships-t1337300c621.html#a3619531
Sent from the FarCry - Dev forum at Nabble.com.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-dev" group.
To post to this group, send email to farcry-dev@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/farcry-dev
-~----------~----~----~----~------~----~------~--~---