Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# dagda1 4/30/2006 7:40 AM
Hi,

We are just starting to develop a CMS and we have chosen Cuyahoga as the open source project we are going to use.

I was technical lead on the web site for the Volvo Ocean Race.

We developed a CMS for this web site but at the time of development, I was unaware of such projects as NHibernate etc. When we came to building a new CMS, we felt it would take too much time to redevelop the volvo CMS than to take an opensource project and tweak it to our needs. Ioc is a new concept to me but I think it is a smart bit of kit and is a great way of exposing services.

One concern I would have is how well Cuyahoga will scale, for the VOR (volvo ocean race) site, we had to cater for large trafaffic and because of this we came up with a publishing model. Whenever a page was created in our CMS, we published an .aspx page and an .xml file to the server. This model enabled our site to scale. We then could cache the page and give it a cache dependency of the xml file. Any update would casuse the xml to be regenerated and break the cache. We then used XSLT to transform the xml into html.

The IOC is great but I guess it is using a lot of reflection behind the scenes which is notoriously slow.

Also we have done our requirements gathering and we are starting development this week. One of the things we will be adding to Cuyahoga is an Asset manager or a way of handling Images, Multimedia and flash files. It is analgous to the resource manager in Microsoft CMS.

I would be more than willing to submit this code when it is finished, if you feel it would be of use.

Another idea is maybe having the custom modules return xml instead of html and then use xslt. We want our cms to be able to cater for multiple devices.

Any comments about scaling or thoughts greatly appreciated. I think the architecture in Cuyahoga is very well thought out and hence why we chose the product over something like dotnetnuke.

Thanks

Paul
# mgaerber 5/1/2006 2:02 AM (edited 5/1/2006 2:03 AM)
dagda1Any update would casuse the xml to be regenerated and break the cache. We then used XSLT to transform the xml into html.

That's a good concept if you update the page as a whole but the module concept in cuyahoga lets you connect multiple modules with the sections of a page. Concering caching, NHibernate is responsible for the caching.
dagda1Another idea is maybe having the custom modules return xml instead of html and then use xslt. We want our cms to be able to cater for multiple devices.
Any comments about scaling or thoughts greatly appreciated

That would be something affecting the "PageEngine", since the engine is set up to return html pages assembled from the assigned sections.
You would need to define a "XmlEngine" returning only xml.
But how would that xml look like? Different modules could produce really different output?


# martijnb 5/1/2006 1:01 PM
About scaling:

Cuyahoga uses a mix of NHibernate second-level caching (for Nodes, Sections, Authorization) and output caching for modules. It can be set up to be very database friendly (a page request results in ZERO database queries) but it requires a little bit more CPU power than straight apps that directly query the database.

I have done some performance tests at the time when I switched to NHibernate's second level caching instead of using Cuyahoga's own caching system. These tests showed that performance was more than adequate for regular sites (50 concurrent requests with ease) but I don't have a real feeling how it behaves when really stressed.
dagda1Also we have done our requirements gathering and we are starting development this week. One of the things we will be adding to Cuyahoga is an Asset manager or a way of handling Images, Multimedia and flash files. It is analgous to the resource manager in Microsoft CMS.

I would be more than willing to submit this code when it is finished, if you feel it would be of use.

Are you also thinking about integrating this asset manager into content management modules? At the moment, I think one of the weak spots is the handling of images etc. in for example the StaticHtml module. Url's go directly into the content and it's possible that images disappear after a while or get deleted by accident because it's not possible to check if an image is used somewhere.
Another idea is maybe having the custom modules return xml instead of html and then use xslt. We want our cms to be able to cater for multiple devices.

I know of one user who rebuilt modules to be able to target multiple output formats, but I'll have to check with him if he can (or is allowed to) explain a little bit more about this.

# gvarela 5/1/2006 4:13 PM (edited 5/1/2006 4:20 PM)
Martijn asked me to add to this thread my bit of experience with utilizing xml in the cuyahoga framework. So, a brief summary is below.

The basic use case for what I implemented was that we needed a way to edit content for a full flash site. Since, most of our flash developers were used to using xml we decided to use that as the data transport mechanism.

The initial implementation was just to create a site in Cuyahoga that rendered as xml instead of html. This required just a few modifications of the core framework. To prevent xml modules from being mixed in with html sections (because the initial requirements didn't call for this but later we developed an xslt mechanism to extend this) we added a isXmlModule property to the node and limited the ability to mix xml and html sections in a template. The rest of the development was fairly straightforward. We by passed the PageEngine class and took out the basic functionality we needed into an Xml.aspx. The reason for this as opposed to refactoring the PageEngine class was to minimize merging updates of Cuyahoga into our own source. The Xml.aspx was accessed by routing the request through the urlmapping file via node/xml.aspx as opposed to node.aspx. This mechanism would basically allow you to have both an html representation and an xml representation based on the request of the page. In our scheme we only had one section per node for the flash content so that module was in charge of rendering the xml. But, it would be easy to build a framework that based on a xml schema could render multiple sections of xml in one response and just have it vary based on whether it was accessed via node.aspx or node/xml.aspx. Also, instead of the /xml.aspx you could use the path info part of a url to determince the type of xslt used i.e. node.aspx/mobile.
# dagda1 5/2/2006 1:42 AM
Hi Guys,

Thanks for the replies guys!! Sorry I’ve been a bit late in getting back to you but it’s been a bank holiday weekend here in London.

Thanks Martin and Gvalera for the replies about the Cuyahoga framework returning xml. I think Gvalera is right in that there would be an overall .xsd that defined the xml structure with an xs:any element enabling custom modules to render their own xml elements.

I was thinking about a sort of MVC pattern based around the pathinfo with different controllers rendering different outputs.

One of the main reasons we chose to develop a CMS is that previously, our CMS of choice was Microsoft CMS but we have found ourselves losing too many pitches because it simply to expensive for a lot of our clients.

The asset manager I am thinking about is based on what is called the resource manager in MCMS. Initially I am thinking of just having the Asset manager as a custom module which would be simply added to sections. The edit link rendered by the module would bring you to the Asset manager page where you can both manage these assets and select the Asset for the section. We had a similar system in the Volvo Ocean Race CMS I mentioned earlier which used a different architecture. I have thought about integrating this feature into the StaticHtml module and would be keen to know what other Content Management features we could integrate this with.

Another feature which we used in the Volvo Ocean Race CMS is a preview feature where a user could preview their changes before committing them to live. The site would not have been a success without this. Is this something you have considered?

Thanks again

Paul
# martijnb 5/2/2006 9:55 AM (edited 5/2/2006 9:57 AM)
dagda1Another feature which we used in the Volvo Ocean Race CMS is a preview feature where a user could preview their changes before committing them to live. The site would not have been a success without this. Is this something you have considered?

A decent preview feature is quite essential in a somewhat decent CMS, so, yes, it's on our agenda. By making content items more generic, I think a generic preview function is possible, so whether you're editing a simple StaticHtml page or creating a forum post or adding a product to a product catalog, you can get the previewing functionality for free.