Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# mpw 2/5/2006 5:06 AM
I've just got the 1.0.0 version working on VS.NET 2005 and created a simple module as a Web Application (to get the feel of the framework) - well impressed with Cuyahoga!

I wondered if there is a recommended development layout and/or set of procedure so that when a new core version is released existing sites can be upgraded without breaking the additional modules?

Thanks
Mark
# martijnb 2/5/2006 9:49 AM
mpwI wondered if there is a recommended development layout and/or set of procedure so that when a new core version is released existing sites can be upgraded without breaking the additional modules?

For custom modules, you can find the preferable layout in the Module Development Guide. If you follow those guidelines, it will be easier to upgrade your own modules.

With changes in the core, I do everything that is possible to keep make sure no existing modules break, at least for the 1.x versions. For module development, you don't have to touch any of the Cuyahoga core, so upgrading the core is nothing different than copying the new files over the old files and then the installer/upgrader automatically kicks in when the new version is detected.
# martijnb 2/5/2006 9:51 AM
mpwI've just got the 1.0.0 version working on VS.NET 2005 and created a simple module as a Web Application (to get the feel of the framework) - well impressed with Cuyahoga!

I was wondering, do you use the VS2005 (beta) web application model for this?
# mpw 2/5/2006 3:38 PM
martijnb I was wondering, do you use the VS2005 (beta) web application model for this?

Yes - following your notes on this site I looked at Scott Guthrie's site (http://webproject.scottgu.com/) and downloaded the Web Application Project code from Microsoft. It's still pre-release and there's some manual work to be done but it's all in Scott's tutorials.

I presumed this was the only way to go as I couldn't seem to get web user controls into class libraries in VS 2005.

# martijnb 2/6/2006 12:51 AM
Later this week, an update of the web application project model is going to be public and the stuff even gets better.
# mpw 2/6/2006 11:09 AM
Outstanding news - With everything wired up properly it will be more fun.

Just to step back a little Martijnb I'm happy with where the new module code goes but what about controls. I'm changing the behaviour of the "NavigationLevelTwo" control in Cuyahoga.Web - I couldn't find a source anywhere else so I created my new control in the same folder. Is that Ok or should I have created it somewhere else?

# martijnb 2/6/2006 1:21 PM
mpwJust to step back a little Martijnb I'm happy with where the new module code goes but what about controls. I'm changing the behaviour of the "NavigationLevelTwo" control in Cuyahoga.Web - I couldn't find a source anywhere else so I created my new control in the same folder. Is that Ok or should I have created it somewhere else?

It should be fine just as long as a new Cuyahoga version doesn't overwrite your own controls. But fortunately there is a nice alternative:

When I create custom menu controls like in the FFP site, I create a separate project, in this case FFP.Web, where all custom stuff goes. This project also has a Controls directory. The files that are needed to run it (dll, ascx and images) are copied to the Cuyahoga folder structure with post-build event (just like with the module projects).
# mpw 2/6/2006 3:05 PM
Thanks - a much better idea. I was keen to not polute the published versions with my scribblings.