Click here to Skip to main content
15,896,153 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Dear All,

I want to load my website's html pages(content,css,js,images) from sql database.
i searched a lot but could not find a good article or solution.
Please provide me link if anyone have or can help me out by guiding steps.

Thanks in Advance.
Posted
Updated 26-Jul-13 9:40am
v4
Comments
Bikash Prakash Dash 26-Jul-13 14:32pm    
for which purpose you want to do this ?
OriginalGriff 26-Jul-13 14:35pm    
DON'T SHOUT. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalisation if you want to be taken seriously.
Sanjeev236 26-Jul-13 14:38pm    
Griff : Next time I'll take care of it. Anyways thanks for your valuable suggestion.
[no name] 26-Jul-13 15:31pm    
A "good article or solution or can help me out by guiding" for what exactly?

1 solution

You probably cannot find an article on such topic because it's very unlikely that someone would write and article on such a weird topic. The idea is highly questionable; at least, this is not how any more or less usual sites work. Even if such technique is used somewhere, it could be mentioned just by the way, in a bigger book or article.

Also, you should understand that 100% of the site cannot physically use this technique. You need at least one page which one can start with. More importantly, you should understand: the fundamental property of such Web site would be the lack of valid links: if you got to some page using anchors on the site, the pages will be generated on the fly, but if you store the link to such page in your record and request it later, you will request a non-existing page. The alternative can be this: you can create an alternative HTTP server or a plug-in (module) plugged into some existing server which would translate all HTTP request directly to the database generating pages and other resource.

After all, this is quite possible to implement and not even very difficult — without any pages to read; all you need to know is HTTP and all content types, as well as all other Web standards. The only question is: why? I personally see no reason, frankly.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900