Register Blogs FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Go Back   DeveloperBarn Forums > Programming & Scripting > .Net Development

Sponsored Links

Discuss "Best practice for project setup" in the .Net Development forum.

.Net Development - Learn about the Microsoft.Net framework and how to create powerful web-based (ASP.net) and client-based (Windows Forms) applications utilizing various languages such as C#, VB.Net, J# and others.


Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old June 6th, 2008, 08:16 AM
Shem's Avatar
Barn Enthusiast
 
Join Date: Mar 2008
Posts: 263
Thanks: 31
Thanked 5 Times in 5 Posts
Rep Power: 1
Shem is on a distinguished road
Default Best practice for project setup

Hi

I got a project from an interior design and architectural company.
this application will be the same for both, infact they will both log
onto the same application, the only difference will be when entering
specifications for projects, the data entered will differ between the
architects and the interior designers.

With that said, some parts of the application will remain global, ie
Projects that they work on, and suppliers they use.

What would be the practice in set-up for this type of project?

Shem
Reply With Quote
Sponsored Links
  #2  
Old June 6th, 2008, 08:25 AM
jmurrayhead's Avatar
The Barnfather
 
Join Date: Mar 2008
Location: Reston, VA, USA
Posts: 948
Thanks: 22
Thanked 93 Times in 90 Posts
Blog Entries: 6
Rep Power: 4
jmurrayhead is a jewel in the roughjmurrayhead is a jewel in the roughjmurrayhead is a jewel in the roughjmurrayhead is a jewel in the rough

Awards Showcase
Microsoft Windows Microsoft SQL Server Microsoft .Net Classic ASP 
Total Awards: 4

Default

I know nothing about architecture and interior design, so I don't know how the data would be handled.

However here is my advice:
  • Use a single table for user data and includes a field that determines each users role
  • Have a table that holds project data
  • Ensure that the data the architects and interior designers enter reference the project ID.
I would need more information to give you more advice. What type of data are they entering? Depending on this, you may be able to use the same tables to store the data if setup correctly.

As far as .Net is concerned, I don't see how it would be different from any other project.
__________________
jmurrayhead
If you agree with me... click the icon!
If my post solved your problem, click the button in the lower right-hand corner of the post.

If you like it here...throw us a few bones to help
support us.

Join our Folding team: DeveloperBarn Folding

Reply With Quote
  #3  
Old June 6th, 2008, 08:32 AM
Shem's Avatar
Barn Enthusiast
 
Join Date: Mar 2008
Posts: 263
Thanks: 31
Thanked 5 Times in 5 Posts
Rep Power: 1
Shem is on a distinguished road
Default

What i was really looking for was if there's a Set-up for a project that is broken up into smaller projects.

But then I'll just go and do it the way I've planned to do it, all i will do to break
it up is to create 3 folders in App_Code: Global, Interior, Architecture

Thanks
Shem
Reply With Quote
  #4  
Old June 6th, 2008, 08:35 AM
Shem's Avatar
Barn Enthusiast
 
Join Date: Mar 2008
Posts: 263
Thanks: 31
Thanked 5 Times in 5 Posts
Rep Power: 1
Shem is on a distinguished road
Default

and my DA, BO, BL folders will be in each of those main folders

Shem
Reply With Quote
  #5  
Old June 6th, 2008, 08:36 AM
jmurrayhead's Avatar
The Barnfather
 
Join Date: Mar 2008
Location: Reston, VA, USA
Posts: 948
Thanks: 22
Thanked 93 Times in 90 Posts
Blog Entries: 6
Rep Power: 4
jmurrayhead is a jewel in the roughjmurrayhead is a jewel in the roughjmurrayhead is a jewel in the roughjmurrayhead is a jewel in the rough

Awards Showcase
Microsoft Windows Microsoft SQL Server Microsoft .Net Classic ASP 
Total Awards: 4

Default

Yes there's a way. You can create separete projects and then reference those projects in another project.

For example, let's say you created a blog project, a forum project and a news article project. Now you want to build a web site that would use these projects. You would simply create a new project and add reference to the other three projects.

Of course, you would have to design the database and web site code to all work together. But that should be simple using the layered approach.
Reply With Quote
  #6  
Old June 6th, 2008, 08:41 AM
Shem's Avatar
Barn Enthusiast
 
Join Date: Mar 2008
Posts: 263
Thanks: 31
Thanked 5 Times in 5 Posts
Rep Power: 1
Shem is on a distinguished road
Default

Do you recommend i go that way, or should i just do it my way?
considering this is my first .Net project, I don't want to have issues
when referencing other projects, and like i said, it's only the specs data
that differs between the 2?

Shem
Reply With Quote
  #7  
Old June 6th, 2008, 08:46 AM
jmurrayhead's Avatar
The Barnfather
 
Join Date: Mar 2008
Location: Reston, VA, USA
Posts: 948
Thanks: 22
Thanked 93 Times in 90 Posts
Blog Entries: 6
Rep Power: 4
jmurrayhead is a jewel in the roughjmurrayhead is a jewel in the roughjmurrayhead is a jewel in the roughjmurrayhead is a jewel in the rough

Awards Showcase
Microsoft Windows Microsoft SQL Server Microsoft .Net Classic ASP 
Total Awards: 4

Default

I'd say the advantage of doing it that way is that you have a level of separation. In my example, you have 3 separate applications that eventually make a big application. Creating the 4 different projects gives that separation that makes it easier to work with. Especially if you have multiple developers working on the project.

In your case, I wouldn't say it is needed nor very beneficial.
Reply With Quote
  #8  
Old June 6th, 2008, 09:13 AM
Shem's Avatar
Barn Enthusiast
 
Join Date: Mar 2008
Posts: 263
Thanks: 31
Thanked 5 Times in 5 Posts
Rep Power: 1
Shem is on a distinguished road
Default

Quote:
Originally Posted by jmurrayhead View Post
In your case, I wouldn't say it is needed nor very beneficial.
Ok so i'll do it my way, thanks
Reply With Quote
  #9  
Old June 7th, 2008, 09:07 PM
Barn Newbie
 
Join Date: Mar 2008
Posts: 40
Thanks: 0
Thanked 4 Times in 4 Posts
Rep Power: 1
lewy is on a distinguished road
Default

Hi Shem, and what exactly would you want to separate the projects?
You can use them all in the same application, just create different folders for each.
I am sure you can manage the project this way.
Now if somewhere along the way, your company decides to invest in a few other developers
you can always use Visual Studio Team edition and share the same project.

Seeing how you are starting out, I'd have to agree with you and just do it your way.

If you get stuck somewhere along the way, you know where we're at
Reply With Quote
Reply

  DeveloperBarn Forums > Programming & Scripting > .Net Development

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -4. The time now is 09:14 AM.



Content Relevant URLs by vBSEO 3.2.0