Fw: multi-language site

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 code and design
seperation..

What I meant here is that NOT every project needs this! If you are on a
small project it is much easier to write straight forward, without making
this hard seperation..

By the way thanks for "HTML_Template_IT " advice.. I will check that out. If
you have any other advice I am waiting..

What do you think guys how it is better to seperate PHP code from Design
(HTML)?

Regards,
Muhammed Mamedov
turkmenweb.com

----- Original Message -----
From: "Martin Marques" <martin@xxxxxxxxxxxxxxx>
To: "Muhammed Mamedov" <mm@xxxxxxxxxx>;
Cc: "Ignatius Reilly" <ignatius.reilly@xxxxxxx>; "phpdb"
<php-db@xxxxxxxxxxxxx>
Sent: Friday, January 16, 2004 10:21 PM
Subject: Re:  multi-language site


> Mensaje citado por Muhammed Mamedov <mmamedov@xxxxxxxxxxxxxxx>:
>
> > 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 layer (this
should be the
> PHP pages on the server), and the database layer (simply for storage).
>
> Now, the server layer is easier to maintain if you have it devided in a
buissness
> layer and a presentation layer.
>
> The presentation layer should have programs that print the results.
>
> Now, to make it even easier to maintain your code, abstraction of HTML
code from the
> PHP code is the best way to go. It make the PHP more readable, and the
HTML easy to
> edit by non programmers.
>
> > Further on this issue:
> > Consider that there are lots of dynamic stuff like "news", and there are
> > thousands of users and all data is stored in a database. Currently data
is
> > stored as a simple text. And I want to provide users (or their graphic
> > editors) to display these "news" on their page in the way they like. So,
to
> > achieve this task I need a nice seperation of code and design. We may
not
> > achieve a 100% seperate work, but at least a graphical designer (who
doesn't
> > know any PHP) has to be able to develop a new design for his customers
(our
> > user) with ease.
>
> I think you should point to HTML_Template_IT (pear.php.net)
>
> --
> select 'mmarques' || '@' || 'unl.edu.ar' AS email;
> ---------------------------------------------------------
> Martín Marqués          |   Programador, DBA
> Centro de Telemática |     Administrador
>                Universidad Nacional
>                     del Litoral
> ---------------------------------------------------------
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux