473,378 Members | 1,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Whats the bestway to manage articles on a website?

I am wondering how some of you do it. I have a project that will displays a
number of articles viewable via the browser. These articles are more then
the 8K limit in sql server so i have been looking at the text datatype
which can hold 2Gb but the text data type has limitations. How should i go
about storing the article text? Maybe just store the articles themselxves as
xml files instead?

Thx Ashok

Nov 19 '05 #1
5 1196
Hello Ashok,

Both options are viable.

My personal preference would be to store the articles as a text object in a
SQL Server so that I wouldn't have to manage the individual XML files. I'd
prefer to make the SQL Server do all the work of storing them.

Given the two scenarios you have, I would say go with the one that is most
comfortable for you.

Chris
"Showjumper" <sd***@kjsdfk.com> wrote in message
news:O4****************@TK2MSFTNGP12.phx.gbl...
I am wondering how some of you do it. I have a project that will displays a
number of articles viewable via the browser. These articles are more then
the 8K limit in sql server so i have been looking at the text datatype
which can hold 2Gb but the text data type has limitations. How should i go
about storing the article text? Maybe just store the articles themselxves
as xml files instead?

Thx Ashok

Nov 19 '05 #2
Thanks for the opinion Chris. Can i ask you one other question? I am new to
working with the text data type in sql server. As i understand it all that
is stored in the column is a pointer. Where then is the actual text?
"Chris Hayes" <cp.hayes@[NO2SPAM]sbcglobal.net> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hello Ashok,

Both options are viable.

My personal preference would be to store the articles as a text object in
a SQL Server so that I wouldn't have to manage the individual XML files.
I'd prefer to make the SQL Server do all the work of storing them.

Given the two scenarios you have, I would say go with the one that is most
comfortable for you.

Chris
"Showjumper" <sd***@kjsdfk.com> wrote in message
news:O4****************@TK2MSFTNGP12.phx.gbl...
I am wondering how some of you do it. I have a project that will displays
a number of articles viewable via the browser. These articles are more
then the 8K limit in sql server so i have been looking at the text
datatype which can hold 2Gb but the text data type has limitations. How
should i go about storing the article text? Maybe just store the articles
themselxves as xml files instead?

Thx Ashok



Nov 19 '05 #3
Why reinvent the wheel? There are all kinds of content management systems
out there, some are free.

Here's a couple such projects worthy of your investigation:
http://www.dotnetnuke.com/
http://www.asp.net/Default.aspx?tabindex=9&tabid=47

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Showjumper" <sd***@kjsdfk.com> wrote in message
news:O4****************@TK2MSFTNGP12.phx.gbl...
I am wondering how some of you do it. I have a project that will displays a
number of articles viewable via the browser. These articles are more then
the 8K limit in sql server so i have been looking at the text datatype
which can hold 2Gb but the text data type has limitations. How should i go
about storing the article text? Maybe just store the articles themselxves
as xml files instead?

Thx Ashok

Nov 19 '05 #4
Hi Ashok,

Yes, there are pointers involved in storing Text or Image data, but SQL
Server takes care of all the necessary management of where the data is. It
stores the data for you and the pointer in the record essentially is a link
to the binary data you have stored. SQL Server takes the binary data you
send to it and puts it into its own file structure, then SQL Server takes
care of the details of storage. You don't have to worry about it at that
point because even though SQL Server has the 8K limit it still stores Text
and Image data by placing it in its own storage schema. Make sense?

I would encourage you to explore SQL Server's capabilities whenever you get
the chance, I am still doing so and I am constantly amazed at what it can
do!

Chris
"Showjumper" <sd***@kjsdfk.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Thanks for the opinion Chris. Can i ask you one other question? I am new
to working with the text data type in sql server. As i understand it all
that is stored in the column is a pointer. Where then is the actual text?
"Chris Hayes" <cp.hayes@[NO2SPAM]sbcglobal.net> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hello Ashok,

Both options are viable.

My personal preference would be to store the articles as a text object in
a SQL Server so that I wouldn't have to manage the individual XML files.
I'd prefer to make the SQL Server do all the work of storing them.

Given the two scenarios you have, I would say go with the one that is
most comfortable for you.

Chris
"Showjumper" <sd***@kjsdfk.com> wrote in message
news:O4****************@TK2MSFTNGP12.phx.gbl...
I am wondering how some of you do it. I have a project that will displays
a number of articles viewable via the browser. These articles are more
then the 8K limit in sql server so i have been looking at the text
datatype which can hold 2Gb but the text data type has limitations. How
should i go about storing the article text? Maybe just store the articles
themselxves as xml files instead?

Thx Ashok



Nov 19 '05 #5
Thanks Chris that clears it up a lot.
"Chris Hayes" <cp.hayes@[NO2SPAM]sbcglobal.net> wrote in message
news:O0**************@TK2MSFTNGP09.phx.gbl...
Hi Ashok,

Yes, there are pointers involved in storing Text or Image data, but SQL
Server takes care of all the necessary management of where the data is. It
stores the data for you and the pointer in the record essentially is a
link to the binary data you have stored. SQL Server takes the binary data
you send to it and puts it into its own file structure, then SQL Server
takes care of the details of storage. You don't have to worry about it at
that point because even though SQL Server has the 8K limit it still stores
Text and Image data by placing it in its own storage schema. Make sense?

I would encourage you to explore SQL Server's capabilities whenever you
get the chance, I am still doing so and I am constantly amazed at what it
can do!

Chris
"Showjumper" <sd***@kjsdfk.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Thanks for the opinion Chris. Can i ask you one other question? I am new
to working with the text data type in sql server. As i understand it all
that is stored in the column is a pointer. Where then is the actual text?
"Chris Hayes" <cp.hayes@[NO2SPAM]sbcglobal.net> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hello Ashok,

Both options are viable.

My personal preference would be to store the articles as a text object
in a SQL Server so that I wouldn't have to manage the individual XML
files. I'd prefer to make the SQL Server do all the work of storing
them.

Given the two scenarios you have, I would say go with the one that is
most comfortable for you.

Chris
"Showjumper" <sd***@kjsdfk.com> wrote in message
news:O4****************@TK2MSFTNGP12.phx.gbl...
I am wondering how some of you do it. I have a project that will
displays a number of articles viewable via the browser. These articles
are more then the 8K limit in sql server so i have been looking at the
text datatype which can hold 2Gb but the text data type has limitations.
How should i go about storing the article text? Maybe just store the
articles themselxves as xml files instead?

Thx Ashok





Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Bob Bedford | last post by:
We are 3 persons contacting various potential clients/customers and also potential advertisers for our website. Each person work at home, and it becomes ever difficult to manage our contacts....
15
by: Simon Harvey | last post by:
Hi everyone, I am fairly new to learning about xsl and xml, but one thing I have noticed is that anyone offering a tutorial or lesson on it seems to think that its the most incredible invention...
2
by: Deb | last post by:
I want to include a bunch of articles that I have from various magazines and other websites as well as links on our information website. How do I give credit to the articles from magazines and web...
0
by: hiq2q | last post by:
To everybody who programs in CppBuilder. I have a website that is a repository of CppBuilder Tips and Articles. All members have the ability to search over 150,000 news articles just like...
1
by: Tor Inge Rislaa | last post by:
Dynamic Articles from a Database Hi, I have a website containing one webform (default.aspx) and a database containing one table (articles) the table contains only 4 field's id, tittles,...
3
by: Max2006 | last post by:
Hi, I am using asp.net 2 SQL membership provider. Is there any tool or application that helps me manage my users' password? I am trying to do that without writing any code.
7
by: Paulo | last post by:
Hi, what is diference between: File -New Web Site and File -New Project -VB/C# -Web Application ?????? VS 2005
1
by: anthonykallay | last post by:
Hi there, I am building an application that basically consists of 2 sections, a download list of over 1000 articles and then a content side to the website, however the author of the content...
2
by: Ksenia | last post by:
Hi, For website development, I am using SVN repository to commit the code from my development computer, and on the production server use svn checkout to update the code to the latest version....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.