开发者

portals contain many static pages, how can they generate these pages?

I want to know what's the name of this kind of technology and if someo开发者_如何转开发ne can give me references, will be appreciated.

Actually the website is developed with Java/C#, but not a really static website.

Thanks in advance !


About "URLs which look like static pages":

Many web development frameworks allow to configure URL mapping - mechanism of mapping URL entered by user to specific dynamic script / function. AFAIK, for Java Spring and Stripes frameworks can do that.

Some web servers provide Rewrite Engine functionality, which allows to do the same - call specific scripts on request to URL of some type.

About performance:

If you are anxious about performance, consider using some caching technology (for example, memcached, or even reverse proxy).


I'm not sure I understand your question. If you're asking how they generate customized content that is sent to the browser as a static page, it's the classic way web servers work. They have an application that processes your request (which could be as simple as entering a search), create an html page containing the customized response and send it back. In the C# world this is usually done with ASP.NET.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜