[opencms-dev] what is the best way for archiving news?

apoorv.durga at wipro.com apoorv.durga at wipro.com
Sat Jan 7 12:42:34 CET 2006


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.

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.

/a

http://apoorv.info




________________________________

	From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Farnaz Fotrousi
	Sent: Saturday, January 07, 2006 1:02 PM
	To: The OpenCms mailing list
	Subject: RE: [opencms-dev] what is the best way for archiving
news?


	yes, you are right.
	 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?

	apoorv.durga at wipro.com wrote:

		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.
		
		/a
		http://apoorv.info <http://apoorv.info/>
		


________________________________

			From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Farnaz Fotrousi
			Sent: Saturday, January 07, 2006 11:48 AM
			To: opencms
			Subject: [opencms-dev] what is the best way for
archiving news?
		
		
			Hi,
			
			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

			As I noticed in 6.0.3 , news as a structured
content has been added instead.
			For adding a news ,I have to create a new page
for each news not using administration view for adding one.
			
			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?
			Was anyone successful to work with news module
in opencms 6.0.3?
			
			Regards,
			Farnaz Fotrousi
________________________________

			Yahoo! Photos
			Got holiday prints? See all the ways
<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>  to get quality prints in your hands
ASAP.


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.

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.

www.wipro.com


		_______________________________________________
		This mail is sent to you from the opencms-dev mailing
list
		To change your list options, or to unsubscr ibe from the
list, please visit
		http://lists.opencms.org/mailman/listinfo/opencms-dev



________________________________

	Yahoo! Photos - Showcase holiday pictures in hardcover
	Photo Books
<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.ph
otos.yahoo.com/ph//page?.file=photobook_splash.html> . You design it and
we'll bind it!




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.

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.

www.wipro.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060107/5bbaa4ab/attachment.htm>


More information about the opencms-dev mailing list