Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi all, I m into programming for last 1.5 years. I m using Visual Studio 2010 for Creating website applications. the language i m using is c#. I used to write codes in the code behind page and i never used class files to create functions. i am using Sql server 2005 for database. I have a list of questions.

1.In my project, 3 people are there,
we using the same source code to develop and finally we copy and paste it one in machine and give it as Single source , I dont know to work, how to develop individually and how to integrate the project?

2. The Project i am developing is ERP based software, so what kind of model i can use to develop the project in visual Studio .

3. I started this project without any documentation and requirement analysis,
because i get modification frequently. How to document the project, pages ,changes in code and queries used in Sql Server.

4. for Source code back ups : I used to save the daily source code in individual system. How to take backups and use it and where to preserve it.


I need suggestions that what should use to create web applications. The books i should read to cultivate right methods to develop softwares.
Posted
Updated 24-May-12 20:22pm
v2
Comments
Sergey Alexandrovich Kryukov 24-May-12 12:31pm    
Good question, my 5. Because -- what are you doing?! -- stop it immediately and organize your work. I hope my advice can help you.
--SA

First thing you need is the Revision Control System, http://en.wikipedia.org/wiki/Revision_Control_System[^].

Best system can be open-source, very reliable, light weight, portable. I would say, doing development without such system, you simply waste time and put the results of your effort under unreasonable risk. You also waste too much time on project support, just messing with files. My advice is: stop everything, learn Revision Control systems and start using one immediately.

[EDIT]
Also, you will be able to create branches, such as experimental ones, testing versions and releases, merge branches and resolve conflicts, collaborate through the system, retract your steps and a lot more, based on a very simple and clear set of operations. Search of all the previous development steps also can be done easily.
[END EDIT]

Please see this discussion:
Revision control systems, which to choose from?[^].

Please also see my past answer where I explain some more specific detail:
Needs some words of wisedom to set up and/or use a server[^],
Make an unclickable form[^],
How can i structured to arrange source code when i create a new solution[^].

—SA
 
Share this answer
 
v2
One of the things I would suggest is to get a source control system setup for all of you to use. There are many out there: TFS, GIT, SVN, tfspreview, Mecurial, Kiln, etc. Some of these are free and others are not. I have experienced where people use zip files and copies to do their source control. Those same people have lost hard drives and then lost everything as well.

Some of the systems that are available like TFS or tfspreview actually include bug tracking and even requirement tracking directly into the system. This means that you can have source control but also a place to where you can have your requirements and then even tie the code you are checking in to the requirement. If the requirement changes, then you can even look to see what code is tied to it. You can do the same thing with bugs that are found.

At least use something like Google Docs or Office 365 or a wiki or something to have an online document for the requirements. This means that everyone can edit it and can also see it.

As for the model, you may want to have a 3-tier model with a dedicated data layer instead of having queries right in your web pages code behind. This cleans up the code and can also then be used for printouts, reporting, and other things that are data related only. There are many different ways to setup the data layer and the business layer, but by separating that from your view, it makes changing things or moving things to a non-web page easier later. I have an app that I moved from mobile devices to a website to a Win8 app this way.

Good Luck.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900