![]() | |
![]() |
| | Thread Tools | Display Modes |
#31
| |||
| |||
|
|
Except where there is a genuine requirement for particular page(s) to be kept up-to-the-minute by incorporating content which is frequently changing, I would tend to recommend doing that processing at the point where the materials are published /to the server/. I.e run your scripts to assemble the finished web page (maybe outputting the result to your development server running on 127.0.0.1), review the results, then transfer the finished product to the production server. Don't change the files on the production server (i.e don't change their last-modified stamp) unless and until their content really changes. |
#32
| |||
| |||
|
|
On Wed, 25 Jan 2006 18:42:16 +0000, Alan J. Flavell sent: [...] run your scripts to assemble the finished web page (maybe outputting the result to your development server running on 127.0.0.1), review the results, then transfer the finished product to the production server. Don't change the files on the production server (i.e don't change their last-modified stamp) unless and until their content really changes. This can be the killer. You may end up changing every page if you altered a navigational menu array. |
|
And comparing local and remote dates can be difficult over FTP (timezones appear to be a problem unless you can kludge your client to compensate). |
#33
| |||
| |||
|
|
that server-side processing becomes a must on any site above a very small number of pages. That depends on quite what people understand by "server-side processing". Server-side processing *at the point of delivery* tends to produce documents which have no usable last-modified information, causing problems with cacheability. One needs a certain minimum level of expertise with the various techniques (SSI, PHP, whatever) to achieve the levels of cacheability that come "for free" when documents are served-out from plain files. Except where there is a genuine requirement for particular page(s) to be kept up-to-the-minute by incorporating content which is frequently changing, I would tend to recommend doing that processing at the point where the materials are published /to the server/. I.e run your scripts to assemble the finished web page (maybe outputting the result to your development server running on 127.0.0.1), review the results, then transfer the finished product to the production server. Don't change the files on the production server (i.e don't change their last-modified stamp) unless and until their content really changes. |
#34
| |||
| |||
|
|
Except where there is a genuine requirement for particular page(s) to be kept up-to-the-minute by incorporating content which is frequently changing, I would tend to recommend doing that processing at the point where the materials are published /to the server/. I.e run your scripts to assemble the finished web page (maybe outputting the result to your development server running on 127.0.0.1), review the results, then transfer the finished product to the production server. Don't change the files on the production server (i.e don't change their last-modified stamp) unless and until their content really changes. |
#35
| |||
| |||
|
|
In my opinion, the only practical solution would be to allow SRC attribute for html code too. We use it already for images. Why not tags? |
#36
| |||
| |||
|
|
Dario de Judicibus writes: In my opinion, the only practical solution would be to allow SRC attribute for html code too. We use it already for images. Why not tags? You mean <object>? object data="whatever.html" type="text/html" Text to display if <object> is not supported (like <img alt...>) /object See <http://www.w3.org/TR/html4/struct/objects.html#h-13.3>. Also there is <iframe>. These at least fix some of the problems with frames. And introduce others, I'm sure... I remember some old advice to disable <iframe in my browser, but I don't remember why. -- Hallvard |
#37
| |||
| |||
|
|
In my opinion, the only practical solution would be to allow SRC attribute for html code too. We use it already for images. Why not tags? You mean <object>? |
|
Also there is <iframe>. |
|
These at least fix some of the problems with frames. |
#38
| |||
| |||
|
|
The problem with this approach is that you cannot take really advantage of WYSYWYG |
|
by placing side by side development environment and browser window, since you have to continuosly run the preprocessor. |
#39
| ||||
| ||||
|
|
On Thu, 26 Jan 2006, Dario de Judicibus wrote: The problem with this approach is that you cannot take really advantage of WYSYWYG As I've said before: in a medium whose whole concept is based on the separation of content from presentation, there cannot fundamentally be such a thing as WYSIWYG. In HTML, "what you get" is structured markup, not a visual presentation. Ignore that, and what you get is div/span soup, with no real structure. |
|
Naturally, you want to preview your pages in a range of browsing situations before you publish them. No disagreement about that. But that should go along with the other QA activities such as syntax validation and other QA checks (who can say what the 48 reported XHTML syntax errors on your blog page are really going to cause across a range of different browsing situations? I would rather pay attention to that, than worry about the last pixel of visual presentation in a particular browser). |
|
As long as one is only changing the detailed content of pages from day to day, it really isn't necessary or even useful to continously review the visual design, is it? Seems to me to be a pointlessly labour-intensive way of creating web pages. |
|
If you really -are- wanting custom visual design for each and every separate web page, then probably this isn't the solution that you're looking for. Whether it can still sensibly achieve the benefits of "separation of content and presentation" is left as an exercise for the student. |
#40
| |||
| |||
|
|
Dario de Judicibus writes: In my opinion, the only practical solution would be to allow SRC attribute for html code too. We use it already for images. Why not tags? You mean <object>? object data="whatever.html" type="text/html" Text to display if <object> is not supported (like <img alt...>) /object |
![]() |
| Thread Tools | |
| Display Modes | |
| |