Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 3rd, 2009, 06:42 AM
Authorized User
 
Join Date: Mar 2009
Posts: 75
Thanks: 16
Thanked 1 Time in 1 Post
Default Question about articles storage

I am very interested to known if it's a good idea to store article's content in a database?

Do all big sites like CNN.COM store their articles in a database?
 
Old April 3rd, 2009, 10:19 AM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

Yes, and yes.

What other storage mechanism would you suggest as an alternative?
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}
The Following User Says Thank You to Lee Dumond For This Useful Post:
yevi (April 3rd, 2009)
 
Old April 3rd, 2009, 11:17 AM
Authorized User
 
Join Date: Mar 2009
Posts: 75
Thanks: 16
Thanked 1 Time in 1 Post
Default

Thanks.

I was just wondering how this is done.
 
Old April 3rd, 2009, 04:54 PM
Friend of Wrox
Points: 546, Level: 8
Points: 546, Level: 8 Points: 546, Level: 8 Points: 546, Level: 8
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2009
Posts: 105
Thanks: 3
Thanked 20 Times in 19 Posts
Default

Yevi,

Take a look at the tbh_articles table, specifically the body field. This is an nText field that can hold a very large amount of textual data. If you look at the data in the field you will see that the text is formatted with HTML.

This is very common, and the norm for most medium to large sites, even small ones like the Beer House or Computer Scribe. Part of the reason is that it is much easier to edit or create a data record and pour it into a template than it is to edit or create a static HTML page and add it to a site, and deal with all the site navigation to include a new page.

If news sites had to use static pages they'd just now be getting around to notifying the world of the sinking of the Titanic


Steve
The Following User Says Thank You to Steve S For This Useful Post:
yevi (April 4th, 2009)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Storage Engine ashuphp Beginning PHP 1 April 19th, 2007 12:13 AM
Recent articles not showing on articles page kherrerab BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 December 16th, 2006 10:06 AM
date storage simplyAns Oracle 4 October 20th, 2004 03:59 AM
storage PROCEDURE arguments question? AFei Classic ASP Databases 4 September 24th, 2004 04:35 AM
Document Storage [email protected] SQL Server 2000 1 December 23rd, 2003 10:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.