新时代的模板/包容 [英] Templates/inclusion in the new age

查看:76
本文介绍了新时代的模板/包容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几年前我曾经是一名网页设计师,但在过去的几年里,我还没有和他们保持密切联系。最近有什么变化

用于管理许多页面中常见的内容(菜单,标题,

页脚......)?


我记得的主要选项是:

- 框架:P

- 服务器端包括

- Dreamweaver模板

- PHP包括


我经常使用Dreamweaver模板 - 学会爱他们 - 但现在

我正在研究一个项目与另一个没有Dreamweaver的人。

我不想强迫他。


是否有XHTML或更新的HTML标准包含文件的标准

包含(很像CSS包含)?或者,是否有某种类型的

预处理器,我可以在我的文件上运行以生成最终页面

(就像Dreamweaver在内部执行)?理想情况下,我希望内容

可以离线查看(例如,没有服务器端包括)......


先谢谢网络猴子!


Nathan

I used to work as a web designer a couple of years ago, but I haven''t
been closely in touch in the past years. Has anything changed recently
for managing content that is common among many pages (menus, headers,
footers...)?

The main options I recall are:
- Frames :P
- Server-side includes
- Dreamweaver templates
- PHP includes

I used Dreamweaver templates a lot -- learned to love them -- but now
I''m working on a project with another guy who does not have Dreamweaver.
I don''t want to force it on him.

Is there a standard in XHTML or newer HTML standards that allows file
inclusion (much like CSS inclusion)? Or, is there some type of
pre-processor that I can run on my files to generate the final pages
(like Dreamweaver does it internally)? Ideally I would like the content
to be viewable off-line (e.g. no server-side includes)...

Thanks in advance fellow web monkeys!

Nathan

推荐答案

Nathan Funk写道:
Nathan Funk wrote:
几年前我曾经是一名网页设计师,但在过去的几年里我并没有密切联系过。最近有什么变化
用于管理许多页面(菜单,标题,页脚......)中常见的内容?


不,选项与您记忆的相同。

是否有XHTML标准或更新的HTML标准允许文件包含(很像CSS包含)?


xhtml没有提供html通过标记提供的任何内容。

理想情况下我希望内容
可以离线查看(例如,没有服务器端包括)...
I used to work as a web designer a couple of years ago, but I haven''t
been closely in touch in the past years. Has anything changed recently
for managing content that is common among many pages (menus, headers,
footers...)?
No, the options are the same as you remember.
Is there a standard in XHTML or newer HTML standards that allows file
inclusion (much like CSS inclusion)?
xhtml offers nothing that html does not offer by way of markup.
Ideally I would like the content
to be viewable off-line (e.g. no server-side includes)...




最好的方法是在生产箱上运行Web服务器。

-

Brian(删除.invalid给我发电子邮件)



The best way to do that is to run a web server on your production box.

--
Brian (remove ".invalid" to email me)


" Nathan Funk" ; <无** @ none.com> aécritdansle message de

news:HNuuc.626609
"Nathan Funk" <no**@none.com> a écrit dans le message de
news:HNuuc.626609


oR5.331266@pd7tw3no
oR5.331266@pd7tw3no
最近有什么变化
用于管理许多页面中常见的内容(菜单,标题,页脚......)?

我记得的主要选项是:
- 框架:P
- 服务器端包括
- Dreamweaver模板
- PHP包含
Has anything changed recently
for managing content that is common among many pages (menus, headers,
footers...)?

The main options I recall are:
- Frames :P
- Server-side includes
- Dreamweaver templates
- PHP includes




你可以添加iFrame(和XHTML?对象但我不喜欢我认为它与iFrame一样支持





You can add iFrame (and for XHTML? object but I don''t think it is as
supported as iFrame)


这篇关于新时代的模板/包容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆