Developer forum

Forum » Development » Best practice team development

Best practice team development

Martin Grønbekk Moen
Reply

Any thoughts on what is the best setup when seting up a development environment for a team using DW and VS2012.

 

My first idea was to install VS2012 on the web server, and have all developers login to the server with their own users.

Then they can develop with VS on the server. But this is not a good approach, since we in general dont want to develop on the server.

 

Second idea is that all use their local VS, and we connect it up with some kind of SVN solution. But I have not that much experience with this when it comes to developing DW solutions.

 

Can anyone please share with me your DW team setup, and point me in the best practice direction.


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply
This post has been marked as an answer

Hi Martin,

 

Developing on the server is indeed a bad idea; if your site is hosted in IIS, each developer works against the same physical folder on disk which is very problematic.

 

I would look into Microsoft's TFS solution. Although TFS can be quite a complex beast, installing it for just source control is relatively simple. In addition, you could choose to use the hosted solution at tfs.visualstudio.com (free for up to 5 developers).

 

WIth TFS installed, each developer can get the latest version of an application and the Dynamicweb Files folder (or just the Templates folder as I usually do) and work with that locally. Each developer can have its own local SQL Server database or they could share a single instance on the network. Each options has its own pros and cons. By sharing the database, you can get in each others way and maybe block developers from the work they are doing. By having your own copy you may have synchronization issues.

 

Dynamicweb doesn't have a good dev => test => acceptance => production story, so getting database updates from a dev machine into production will always be difficult. I usually propagate changes to /Files and the application (when doing custom development) from a release build on a dev machine to production and then manually redo changes to the database schema or content in Dynamicweb (pages, item type data and so on).

 

Hope this helps, and feel free to ask follow up questions.

 

Cheers.

 

Imar

 

Votes for this answer: 1
 
Martin Grønbekk Moen
Reply

Thanks Imar!

You pointed me in the right direction, I will setup a TFS and see how it goes.

 

I will update this post with my experiences after going through the setup.

 

You must be logged in to post in the forum