是codeproject一个数据库驱动的站点 [英] is codeproject a database driven site

查看:79
本文介绍了是codeproject一个数据库驱动的站点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我听说codeproject是一个数据库驱动的站点.但是我已经注意到,当我向codeproject发布一些问题时,该帖子的链接不像数据库驱动的页面(如asp?....),而是静态的页面.
例如,如果我发布一个问题如何管理html"
页面的链接将类似于

I have heard that codeproject is a database driven site. But I have noticed that when I post some question to codeproject, the link of that post is not like a database driven page (like asp?....) but it is like a static page.
For example, If I post a question "How to manage html"
the Link of the page will be such like

http://www.codeproject.com/Questions/180316/How-to-manage-html-.aspx


这意味着此页面已存储在Questions/180316目录中,名称为How-to-manage-html-.aspx.
我的问题是

1. codeproject是数据库驱动的站点吗?
2.如果codeproject是数据库驱动的站点,那么为什么其页面类似于静态页面?
3.如果codeproject不是数据库驱动的站点,那么它如何管理所有站点(插入,删除,更新等)?


It means this page has been stored in Questions/180316 directory with the name How-to-manage-html-.aspx.
My question is

1. is codeproject is a database driven site?
2. If codeproject is a database driven site then why its pages are like static pages?
3. If codeproject is a not a database driven site then How it manage all the site (Insertion, deletion, Updation etc)?
has some one the answers of my questions?

推荐答案

>>
这意味着此页面已存储在Questions/180316目录中,名称为How-to-manage-html-.aspx.
<<


不,这并不意味着存在具有该路径的物理文件夹. URL是经过特殊处理的,仅此而已.大多数Web服务器/服务器端技术都具有此功能,您可以在其中使用URL的自定义处理程序.因此,您将拥有somepage/100,而不是somepage?someparam = 100,它的工作原理是相同的.

>>
1. codeproject是数据库驱动的站点吗?
<<


好吧,它确实使用了存储所有文章,帖子和其他内容的数据库.所以我猜你可以说它是数据库驱动的.

>>
2.如果codeproject是数据库驱动的站点,那么为什么其页面类似于静态页面?
<<


它们不是静态页面.您只是不知道这些天Web/应用程序服务器提供了URL处理功能.

>>
3.如果codeproject不是数据库驱动的站点,那么它如何管理所有站点(插入,删除,更新等)?我的问题有答案吗?
<<


这是一个基于数据库的站点,因此它是在数据库中存储所有数据的位置.
>>
It means this page has been stored in Questions/180316 directory with the name How-to-manage-html-.aspx.
<<


No, it does not mean there is a physical file folder with that path. The URL is specially handled, that''s all. Most web servers / server side technologies have this feature where you can have custom handlers for a URL. So instead of somepage?someparam=100, you''d have somepage/100 and it will work the same.

>>
1. is codeproject is a database driven site?
<<


Well it does use a database where all the articles, posts and other content get stored. So you could say it''s database driven I guess.

>>
2. If codeproject is a database driven site then why its pages are like static pages?
<<


They are not static pages. You just were not aware of URL handling capabilities that web/application servers offer these days.

>>
3. If codeproject is a not a database driven site then How it manage all the site (Insertion, deletion, Updation etc)? has some one the answers of my questions?
<<


It''s a database based site, so that''s where it stores all the data - in the database.


1.是codeproject是数据库驱动的站点吗?

是的.

2.如果codeproject是数据库驱动的站点,那么为什么其页面类似于静态页面?

问题/投票/评论/解决方案都存储在数据库中.该页面是动态构建的,我敢打赌他们使用URL重写,以便显示出来像它一样.

3.如果codeproject不是数据库驱动的站点,那么它如何管理所有站点(插入,删除,更新等)?

不适用.


如果您转到网站错误和建议 [
1. is codeproject is a database driven site?

Yes.

2. If codeproject is a database driven site then why its pages are like static pages?

The question/votes/comments/solutions are all stored in the database. the page is built dynamically, and I bet they use URL rewriting so that it shows up like it does.

3. If codeproject is a not a database driven site then How it manage all the site (Insertion, deletion, Updation etc)?

N/A.


If you go to the Site Bugs and Suggestions[^] forum, and ask the question there, Chris may tell you how he does it.


CodeProject 是仓鼠驱动的站点.
CodeProject is a hamsters driven site.


这篇关于是codeproject一个数据库驱动的站点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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