I have found very ugly the new implementation of the templates management, with the new directories under /Sitedata.
Usually, under development and production, we put all css/scripts/etc. under templates and we can tests directly result of changes.
I still don't understand this in terms of site isolation.
Just to know the mean of this architectural choice..
Marco
I can only speak for myself (and my own experience) but the templates folder acts like a source library of templates. When a new site is created a copy is made of these and placed in the 'SiteData/{SiteId}/Templates/' folder.
These new folders are created when a site is created:
SiteData/{SiteId}/Downloads
SiteData/{SiteId}/File
SiteData/{SiteId}/Flash
SiteData/{SiteId}/Image
SiteData/{SiteId}/Index
SiteData/{SiteId}/Media
SiteData/{SiteId}/Templates
Etc...
The FCK Editor is pointed to the 'SiteData/{SiteId}/' subfolders etc...
So the content is all separated by site. This goes for user uploads (and users in my version).
ConstructorI can only speak for myself (and my own experience) but the templates folder acts like a source library of templates. When a new site is created a copy is made of these and placed in the 'SiteData/{SiteId}/Templates/' folder.
Ok, but in the case you have to update a Template you have update 2 places! (ok, under development we need to use a Post build action)..
I still not imagine what is the reason for this change.
Marco
markfindOk, but in the case you have to update a Template you have update 2 places! (ok, under development we need to use a Post build action)..
I still not imagine what is the reason for this change.
Marco
You only have to change one template (the one that belongs to the site you need to make template changes to:' /SiteData/{SiteId}/Templates/ '). You can if you wish also copy this to the templates library (as I call it) so that any new sites created will get the newer version of the template available for use.
This is all geared towards Cuyahoga being able to run and admin multiple websites from one installation. So having templates separated into their own site specific folders is great. I can understand it seems unnecessary if running one site, but I required the option to run many. It is not at all difficult to manage. No problems.
If you do not separate the templates into their own site specific folders then any change made to a template will effect multiple sites. This would be VERY limiting.
Yes, I think so. It is great changed!!!