It would all depend how you envisaged that object to exist. Would a country
be just that? A singlular entitiy?

Would it contain proprties itself (such as population, flag, language).  If
you see Country or State as singular entities then couldn't you just add
State as a property now, doesn't this ability exist now? I thought it did.

State as an object makes better programming sense I think.








"This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: [email protected] <[email protected]>
To: [email protected] <[email protected]>
Sent: Mon Mar 27 23:28:06 2006
Subject: [farcry-dev] Re: Question about Custom Types and database
Relationships

I don't claim to be an application architect, but at first glance, it sounds
like a good idea to me!
 
Rachel

 
On 3/27/06, modius < [EMAIL PROTECTED]> wrote: 




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/ 

--

-t1337300c621.html#a3619531 






-- 

Rachel Maxim

[EMAIL PROTECTED]
h 301.770.8932
c 240.355.8041
w 240.235.9748 


This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions.
Visit our website at http://www.reedexpo.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/farcry-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to