Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# Jan 5/6/2008 7:37 PM
Hello,

I am thinking about using cuyahoga at a monorails (mvc) based website, so I can use it only for input of data (as far as I understand), and would then use the existing data infrastructure to fill my propertybag.
Most propably, at least at the beginning, I would only make use of the StaticHtml and Articles modules.

How would I have navigate the core classes to get my results?
As far as I understand, I start with the shortdescription (=path), that uniquely identifies each node.

How would I continue from there? Any special services/Daos or the like to get to the StaticHtml module properties? The article pages?

Is this wise at all? Or am I trying to use cuyahoga in a way so different from it's intended use, that I might be happier elsewhere?

Jan
# martijnb 5/7/2008 9:43 AM
JanHow would I have navigate the core classes to get my results?
As far as I understand, I start with the shortdescription (=path), that uniquely identifies each node.

Yes, you can start with node. The node has a collections of sections and for each section you can get the related module instance with ModuleLoader.GetModuleFromSection(). With the module instances you can get all data and put it in the propertybag.
Is this wise at all? Or am I trying to use cuyahoga in a way so different from it's intended use, that I might be happier elsewhere?

I'm not really sure. The challenge is to find a nice way to load the appropriate node with MonoRail. And also, I think you're limited to one module per page.