Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Proper namespacing

Reply
Thread Tools

Proper namespacing

 
 
KC
Guest
Posts: n/a
 
      02-08-2005
I have read the MS docs on namespacing but I am still a little unclear.

Should I use:

Acme.Web.OrderFullfillment
Acme.OrderFullfillment.Data

OR

Acme.OrderFullfillment.Web
Acme.OrderFullfillment.Data

The latter seems right but are dependencies across sibling namespace okay??

KC


 
Reply With Quote
 
 
 
 
Karl Seguin
Guest
Posts: n/a
 
      02-08-2005
I agree that the latter seems right...and I believe that cross-sibling
depedency is ok.

Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/


"KC" <> wrote in message
news:...
> I have read the MS docs on namespacing but I am still a little unclear.
>
> Should I use:
>
> Acme.Web.OrderFullfillment
> Acme.OrderFullfillment.Data
>
> OR
>
> Acme.OrderFullfillment.Web
> Acme.OrderFullfillment.Data
>
> The latter seems right but are dependencies across sibling namespace

okay??
>
> KC
>
>



 
Reply With Quote
 
 
 
 
=?Utf-8?B?Q293Ym95IChHcmVnb3J5IEEuIEJlYW1lcikgLSBNVlA=?=
Guest
Posts: n/a
 
      02-08-2005
Overall, the later is best, if you are aiming for:

CompanyName.Appliction.Division.Subdivision

I am not sure I agree with .web in an app, as you are simply dealing with a
UI type, but it is a valid way of organization, if separating out UIs is one
means of dividing out your application.


---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************

"KC" wrote:

> I have read the MS docs on namespacing but I am still a little unclear.
>
> Should I use:
>
> Acme.Web.OrderFullfillment
> Acme.OrderFullfillment.Data
>
> OR
>
> Acme.OrderFullfillment.Web
> Acme.OrderFullfillment.Data
>
> The latter seems right but are dependencies across sibling namespace okay??
>
> KC
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Namespacing my classes Zouplaz Ruby 7 10-14-2008 06:25 AM
pseudo-namespacing in JavaScript Peter Michaux Javascript 14 02-25-2008 03:44 AM
How to register an HTTPhandler with custom namespacing =?Utf-8?B?ZGFGb3U=?= ASP .Net 0 11-16-2005 08:59 AM
question about namespacing in perl Khamis Abuelkomboz Perl Misc 1 05-02-2005 04:44 PM
Packaging / Namespacing JavaScript Dan Webb Javascript 6 07-15-2004 12:20 AM



Advertisments