Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 1st, 2004, 12:32 PM
Registered User
 
Join Date: Aug 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default thePhile (VB) file folder structure...

...and VS project structure.

I am nowhere near an experienced vb.net developer yet; so correct me if i am wrong, but i find it confusing the "Wrox.WebModules" namespace code modules physically sits WITHIN the "Wrox.thePhile" namespace code modules, and yet in VS they are organized into separate projects. In 'chapter 2 - Design' they tend to indicate that these are two separate projects/areas (thePhile and WebModules) and that the "WebModules" code can be used/referenced by any other websites code. If so then why embed this code right within 'thePhile's' website folders? Wouldn't it make more sense to have a separate folder directory for the webmodules OUTSIDE thePhile's folder?

When i was reading this i thought it was a great idea. Keeping the Webmodules code (data and business) layer common to other websites while thePhile (presentation layer) can just 'reference' it as required.

Perhaps i am misunderstanding something here or would both methods be okay to implement?

Like i said, i'm not arguing the logic i'm just trying to understand it. :)

J

  #2 (permalink)  
Old September 1st, 2004, 08:24 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The folder structure isn't very important - that is, for now. ASP.NET 2.0 makes a radical change - the folder structure will determine the project, and not the other way around. If you just copy a file into a folder under your main folder, it is instantly made part of your project in 2.0.

I'm not sure how practical it is to reuse these modules. It gets sticky when you consider the security authorization code - you have to drag the base class with you and everything in the other rpoject will get ugly as you force it into ThePhile's security model.

Only the File Manager doesn't have a problem being reused, but you must always use Windows Authorization on that module if you want to reuse it.

Eric
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
All file name in selected folder VB.net Venkatesan VS.NET 2002/2003 0 February 8th, 2007 02:17 AM
Still confused Folder structure eureka BOOK: ASP.NET Website Programming Problem-Design-Solution 5 September 14th, 2004 11:37 PM
Namespace vs. Folder Structure (Help Englere) groupmatch BOOK: ASP.NET Website Programming Problem-Design-Solution 14 September 8th, 2004 08:05 AM
C# folder and project structure organicglenn BOOK: ASP.NET Website Programming Problem-Design-Solution 3 September 7th, 2004 09:47 PM



All times are GMT -4. The time now is 09:15 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.