<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=195243811-07012006><FONT face=Arial
color=#0000ff size=2>I've not really compared XML content's performance
vis-a-vis database but it would depend. as an example, if you have a dynamic
site with thousands of articles and no caching, database might be better. but if
the content is not too much or the site is static or you are using caching to
good effect, I would say XML content would be equally good if not better in
terms of performance.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=195243811-07012006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=195243811-07012006><FONT face=Arial
color=#0000ff size=2>Oh and BTW, structured content is stored as XML but that
XML is actually stored in VFS (and hence in the database). So it's not your
regular file system file access. I assume they have optimized access to XML
content and it would be much faster than accessing XML stored in file
system.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=195243811-07012006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=195243811-07012006><FONT face=Arial
color=#0000ff size=2>/a</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=195243811-07012006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=195243811-07012006><FONT face=Arial
color=#0000ff size=2><A
href="http://apoorv.info">http://apoorv.info</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=195243811-07012006></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=195243811-07012006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Farnaz
Fotrousi<BR><B>Sent:</B> Saturday, January 07, 2006 1:02 PM<BR><B>To:</B> The
OpenCms mailing list<BR><B>Subject:</B> RE: [opencms-dev] what is the best way
for archiving news?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>yes, you are right.</DIV>
<DIV> So for archiving and then get reports from the news, which way has
more performance, adding news as a structured content or add news field by
field in a database table?<BR><BR><B><I>apoorv.durga@wipro.com</I></B>
wrote:</DIV>
<BLOCKQUOTE class=replbq
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<DIV dir=ltr align=left><SPAN class=494584806-07012006><FONT face=Arial
color=#0000ff size=2>XML Content (the structured content your mail refers
to) actually stores content (or news) as XML. Unlike a page, it does not
include any presentation information which is there in the template. So for
adding news, you add a new structured content and not a new
page.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=494584806-07012006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=494584806-07012006><FON size="2"
color="#0000ff" face="Arial" T>/a</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=494584806-07012006><FONT face=Arial
color=#0000ff size=2><A
href="http://apoorv.info/">http://apoorv.info</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN
class=494584806-07012006></SPAN> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Farnaz
Fotrousi<BR><B>Sent:</B> Saturday, January 07, 2006 11:48 AM<BR><B>To:</B>
opencms<BR><B>Subject:</B> [opencms-dev] what is the best way for
archiving news?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV id=RTEContent>Hi,</DIV>
<DIV> </DIV>
<DIV>I would like to have news archives in my site. In opencms 5.0, I used
news module which it seems is not compati ble with opencms 6.0.3. In that
version, news were added to a news table in database </DIV>
<DIV><BR>As I noticed in 6.0.3 , news as a structured content has been
added instead. <BR>For adding a news ,I have to create a new page for each
news not using administration view for adding one.</DIV>
<DIV> </DIV>
<DIV>My question is : If I want to archive lots of news during some years,
doesn't these kinds of archiving (a page for a news) reduce
performance? For comparing these two ways ('news module' and 'a page for a
news') which you think works better for lots of news?</DIV>
<DIV>Was anyone successful to work with news module in opencms
6.0.3?</DIV>
<DIV> </DIV>
<DIV>Regards,<BR>Farnaz Fotrousi</DIV>
<DIV>
<HR SIZE=1>
Yahoo! Photos<BR>Got holiday prints? <A
href="http://us.rd.yahoo.com/mail_us/taglines/holidayprints/*http://pa.yahoo.com/*http://us.rd.yahoo.com/mail_us/taglines/photos/evt=38089/*http://pg.photos.yahoo.com/ph//print_splash">See
all the ways</A> to get quality prints in your hands
ASAP.</DIV></BLOCKQUOTE>
<TABLE>
<TBODY>
<TR>
<TD bgColor=#ffffff><FONT color=#000000><BR>The information contained
in this electronic message and any attachments to this message are
intended for the exclusive use of the addressee(s) and may contain
proprietary, confidential or privileged information. If you are not
the intended recipient, you should not disseminate, distribute or copy
this e-mail. Please notify the sender immediately and destroy all
copies of this message and any attachments. <BR><BR>WARNING: Computer
viruses can be transmitted via email. The recipient should check this
email and any attachments for the presence of viruses. The company
accepts no liability for any damage caused by any virus transmitted by
this
email.<BR><BR>www.wipro.com<BR></FONT></TD></TR></TBODY></TABLE><BR>_______________________________________________<BR>This
mail is sent to you from the opencms-dev mailing list<BR>To change your list
options, or to unsubscr ibe from the list, please
visit<BR>http://lists.opencms.org/mailman/listinfo/opencms-dev</BLOCKQUOTE>
<DIV><BR></DIV>
<P>
<HR SIZE=1>
Yahoo! Photos – Showcase holiday pictures in hardcover<BR><A
href="http://us.rd.yahoo.com/mail_us/taglines/photobooks/*http://pa.yahoo.com/*http://us.rd.yahoo.com/mail_us/taglines/photos/evt=38088/*http://pg.photos.yahoo.com/ph//page?.file=photobook_splash.html">Photo
Books</A>. You design it and we’ll bind it!</BLOCKQUOTE></BODY></HTML>
<table><tr><td bgcolor=#ffffff><font color=#000000><br>
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. <br>
<br>
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.<br>
<br>
www.wipro.com<br>
</font></td></tr></table>