Re: [PHP-DB] multi-language site

2004-01-18 Thread Martin Marques
Mensaje citado por Muhammed Mamedov <[EMAIL PROTECTED]>: > Thank you for your help Martin, > > I am aware of the seperation stuff you are talking. There is a much more > professional term for that 'Design Patterns' use in JAVA (I tell you as a > JAVA professional).. I am also aware of need for co

Re: [PHP-DB] multi-language site

2004-01-16 Thread Martin Marques
Mensaje citado por Muhammed Mamedov <[EMAIL PROTECTED]>: > Thank you for your comments Ignatius. > (just to note) : I do not agree that all projects SHOULD require CLEAR > sepeartion of code and appearance. Let me disagree with you! :-) I a multi-tiered design yuo have a client layer, a server la

Re: [PHP-DB] multi-language site

2004-01-16 Thread Ignatius Reilly
their editor. HTH Ignatius _ - Original Message - From: "Dan Hewins" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]@[EMAIL PROTECTED]> Sent: Friday, January 16, 2004 16:28 Subject: Re: [PHP-DB] multi-language site > This is true. And another a

Re: [PHP-DB] multi-language site

2004-01-16 Thread Dan Hewins
This is true. And another aspect I forgot to mention is an admin version of the whole site because the user wants to be able to update and change text in either the English or Spanish site. This way I only have to build (design, code HTML) the site once and then I essentially have four differen

Re: [PHP-DB] multi-language site

2004-01-16 Thread Ignatius Reilly
Usually it is the other way round: to assemble a page, a script will call successively several XSLT transformations: eg top, left nav bar, central content, footer... Each XSLT call returns HTML from content stored in XML. Ignatius > > I also wonder if XSLT can accept any php code? > > -- PHP Dat

Re: [PHP-DB] multi-language site

2004-01-16 Thread Muhammed Mamedov
ECTED]> To: "Muhammed Mamedov" <[EMAIL PROTECTED]>; "phpdb" <[EMAIL PROTECTED]> Sent: Friday, January 16, 2004 3:41 PM Subject: Re: [PHP-DB] multi-language site > Preliminary note: > ALL projects should require a CLEAR seperation of code and appearance. > &

Re: [PHP-DB] multi-language site

2004-01-16 Thread Ignatius Reilly
<[EMAIL PROTECTED]> Sent: Friday, January 16, 2004 13:57 Subject: Re: [PHP-DB] multi-language site > Hello Ignatius, > > I am working on a project which requires a CLEAR seperation of code and > appearance. > Think of this: There is a page which lists news from DB in a specif

Re: [PHP-DB] multi-language site

2004-01-16 Thread Muhammed Mamedov
never used XSL to transform XML... What do you suggest? Waiting for your suggestions. M.Mamedov - Original Message - From: "Ignatius Reilly" <[EMAIL PROTECTED]> To: "Dan Hewins" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, January 15, 2004 8

Re: [PHP-DB] multi-language site

2004-01-15 Thread Ignatius Reilly
> > -Original Message----- > > From: Ignatius Reilly [mailto:[EMAIL PROTECTED] > > Sent: Thursday, January 15, 2004 1:03 PM > > To: Dan Hewins; [EMAIL PROTECTED] > > Subject: Re: [PHP-DB] multi-language site > > > > > > I would not consider a DB-based desi

RE: [PHP-DB] multi-language site

2004-01-15 Thread Hutchins, Richard
how important the translation really is; only you can decide that. HTH Rich > -Original Message- > From: Ignatius Reilly [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 15, 2004 1:03 PM > To: Dan Hewins; [EMAIL PROTECTED] > Subject: Re: [PHP-DB] multi-language site &

Re: [PHP-DB] multi-language site

2004-01-15 Thread Ignatius Reilly
I would not consider a DB-based design. I use two approaches (sometimes mixed): 1. Write content in XML files (one per language) and transform them with XSLT. This is nice for mostly content-based sites. 2. Write the complete application in English and translate it with the excellent PHP gettext