![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| ||||
| ||||
|
|
I am experimenting with CSS since 2001. As I moved from frame based sites to CSS sites, I realized that the major drawback of CSS is that you cannot anymore have your header, manu, footer and content panes in different files, but you have to *repeat* them in *each* page you do. |
|
If I have to change any common section, I have to apply the change in many different files at the same time. Maintenance is now a real mess. Of course, when I can take advantage of PHP or other server languages, I can use their import statements to get common sections (as copyright) from a single file, but I cannot always rely on PHP availability. |
|
Often I have to code client-based pages, and in such a case I have to duplicate a lot of stuff. That's crazy. XHTML has no import statement, nor there is a way in CSS to specify division content from another file. |
|
What can I do? Please, do NOT tell me «use PHP, ASP or ColdFusion». I cannot always do that. |
#3
| |||
| |||
|
|
"Dario de Judicibus" <nospam (AT) nowhere (DOT) com> wrote: I am experimenting with CSS since 2001. As I moved from frame based sites to CSS sites, I realized that the major drawback of CSS is that you cannot anymore have your header, manu, footer and content panes in different files, but you have to *repeat* them in *each* page you do. Frames are a horribly broken concept, one of the main *causes* is that a single page consists of several separate files. |
#4
| |||
| |||
|
|
It occurs to me that that concept is the biggest problem with WYSIWYG editors. Not that they produce bad code but that they stop you from seeing that is code to then be processed. When you see you are writing code to the process for display it is no big deal to have a processing step in the middle make the display file. |
#5
| |||
| |||
|
|
Matt Silberstein wrote: It occurs to me that that concept is the biggest problem with WYSIWYG editors. Not that they produce bad code but that they stop you from seeing that is code to then be processed. When you see you are writing code to the process for display it is no big deal to have a processing step in the middle make the display file. A good graphical HTML generator could understand the language used by the processing tool and perform such processing on the fly, automatically switching files as the cursor moves into different sections of the page. |
#6
| |||
| |||
|
|
A good graphical HTML generator could understand the language used by the processing tool and perform such processing on the fly, automatically switching files as the cursor moves into different sections of the page. Do you know of such a thing? |
#7
| |||
| |||
|
|
Matt Silberstein wrote: A good graphical HTML generator could understand the language used by the processing tool and perform such processing on the fly, automatically switching files as the cursor moves into different sections of the page. Do you know of such a thing? No, but its a nice idea. |
#8
| |||
| |||
|
|
Of course, when I can take advantage of PHP or other server languages, I can use their import statements to get common sections (as copyright) from a single file, but I cannot always rely on PHP availability. Often I have to code client-based pages, and in such a case I have to duplicate a lot of stuff. That's crazy. XHTML has no import statement, nor there is a way in CSS to specify division content from another file. What can I do? Please, do NOT tell me «use PHP, ASP or ColdFusion». I cannot always do that. |
#9
| |||
| |||
|
|
What can I do? Please, do NOT tell me «use PHP, ASP or ColdFusion». I cannot always do that. |
#10
| |||
| |||
|
|
On 2006-01-23, Dario de Judicibus <nospam (AT) nowhere (DOT) com> wrote: What can I do? Please, do NOT tell me «use PHP, ASP or ColdFusion». I cannot always do that. build the files in pieces and use a script to combine them, put the combined files on the server. |
![]() |
| Thread Tools | |
| Display Modes | |
| |