Click here to Skip to main content
15,917,059 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: 3tier app in vs 2005 Pin
amc404225-Jan-07 6:11
amc404225-Jan-07 6:11 
GeneralRe: 3tier app in vs 2005 Pin
Pete O'Hanlon25-Jan-07 8:37
mvePete O'Hanlon25-Jan-07 8:37 
GeneralRe: 3tier app in vs 2005 Pin
amc404225-Jan-07 8:55
amc404225-Jan-07 8:55 
GeneralRe: 3tier app in vs 2005 Pin
Pete O'Hanlon25-Jan-07 9:07
mvePete O'Hanlon25-Jan-07 9:07 
AnswerRe: 3tier app in vs 2005 Pin
Daytona_6756-Feb-07 22:29
Daytona_6756-Feb-07 22:29 
GeneralRe: 3tier app in vs 2005 Pin
amc404221-Feb-07 11:56
amc404221-Feb-07 11:56 
QuestionLocalization and Internationalization Help needed Pin
ind_coder24-Jan-07 18:32
ind_coder24-Jan-07 18:32 
AnswerRe: Localization and Internationalization Help needed Pin
Pete O'Hanlon25-Jan-07 0:03
mvePete O'Hanlon25-Jan-07 0:03 
Whenever I've done this in the past, I've tended to create a table (say Article), with a subtable (say Content). The table structure tends to look like this:

Article
Article Id
article attributes

Content
Content Id
Culture Info
Article Id
Content


Then, you can serve up the content to the user based on their localization settings. If there is no content in that particular locale, then I work back up the tree. For instance, if the users locale is FR-Fr (French France) but there is no content where the culture info is FR-Fr, then I go back to look for FR. If there is no content in that culture, then I fall back to the default content (in my case, usually English).

Now, in your case, you might want to have another table called something like AllowedLocale which would contain the Culture Info that you wanted to allow. Be aware though, that the Culture Info is not foolproof. It is entirely dependent on what the user has selected at their end, so a user will still get access to your content if they have the same Culture Info set up at their end as you have allowed at your end.


the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer

Deja View - the feeling that you've seen this post before.

Questionanyone here good in open gl of visual studio C++ 6.0 Pin
makaveli_0724-Jan-07 0:41
makaveli_0724-Jan-07 0:41 
AnswerRe: anyone here good in open gl of visual studio C++ 6.0 Pin
El Corazon24-Jan-07 1:44
El Corazon24-Jan-07 1:44 
QuestionArchitecture Journal Pin
User 171649220-Jan-07 1:31
professionalUser 171649220-Jan-07 1:31 
AnswerRe: Architecture Journal Pin
Rob Graham20-Jan-07 3:53
Rob Graham20-Jan-07 3:53 
GeneralRe: Architecture Journal Pin
User 171649220-Jan-07 6:35
professionalUser 171649220-Jan-07 6:35 
AnswerRe: Architecture Journal Pin
Michael P Butler20-Jan-07 5:30
Michael P Butler20-Jan-07 5:30 
GeneralRe: Architecture Journal Pin
User 171649220-Jan-07 10:28
professionalUser 171649220-Jan-07 10:28 
AnswerRe: Architecture Journal Pin
Aaron VanWieren24-Jan-07 2:35
Aaron VanWieren24-Jan-07 2:35 
GeneralRe: Architecture Journal Pin
User 171649224-Jan-07 5:30
professionalUser 171649224-Jan-07 5:30 
GeneralRe: Architecture Journal Pin
Aaron VanWieren24-Jan-07 5:45
Aaron VanWieren24-Jan-07 5:45 
QuestionReliability/High Availability (.NET application) Pin
sjordine19-Jan-07 7:50
sjordine19-Jan-07 7:50 
GeneralRe: Reliability/High Availability (.NET application) Pin
Paul Conrad23-Dec-07 8:20
professionalPaul Conrad23-Dec-07 8:20 
Questionwhich Design Pattern should i choose??? Pin
daouadji18-Jan-07 22:16
daouadji18-Jan-07 22:16 
AnswerRe: which Design Pattern should i choose??? Pin
El Corazon19-Jan-07 1:19
El Corazon19-Jan-07 1:19 
QuestionPortal style of architecture in .NET Pin
K.P.Kannan16-Jan-07 23:12
K.P.Kannan16-Jan-07 23:12 
AnswerRe: Portal style of architecture in .NET Pin
Kevin Hillinger25-Jan-07 10:32
Kevin Hillinger25-Jan-07 10:32 
QuestionSingleton design pattern. Pin
Captain See Sharp15-Jan-07 18:20
Captain See Sharp15-Jan-07 18:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.