473,387 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

2.0 and namespacing, what are you doing?


This is just a in-general question.

As 2.0 has launched, and you guys are developing apps in 2.0 .. What are
you doing about your namespace'ing ?

Before 2.0 , my namespaces went something like this

GranadaCoder.*
(I put all framework pieces there, like GranadaCoder.Data ,
GranadaCoder.Drawing , GranadaCoder.Exceptions , GranadaCoder.UIFramework ,
etc)
and
GranadaCoder.Applications.*
(like GranadaCoder.Applications.PetStore ,
GranadaCoder.Applications.EducationSystem , etc

and under each app, I had (for example)
(GranadaCoder.Applications.PetStore.Data ,
GranadaCoder.Applications.PetStore.BusinessLogic ,
GranadaCoder.Applications.PetStore.Presentation.We b.1 )

...

With 2.0, I started working on a
GranadaCoder.Data ...

But its built in 2.0, and I'm seeking what others have done to deal with
2.0.

Maybe its nothing. But there is no way to abandon my 1.1 code right now
...........
Thanks for any tips.
Jun 2 '06 #1
2 1205
in 2.0, I have kept all my business and data layer object the
namespaces the same,

as far as web ui, they have gotten rid of namespacing in the controls
so I just eliminated the namespaces here, web controls i made in 1.1,
some work, some dont. the ones that dont work I have re-created to work
with the new asp.net model.

if i need to cross reference controls, I make interfaces so i can
reference other controls within my asp.net pages.

sloan wrote:
This is just a in-general question.

As 2.0 has launched, and you guys are developing apps in 2.0 .. What are
you doing about your namespace'ing ?

Before 2.0 , my namespaces went something like this

GranadaCoder.*
(I put all framework pieces there, like GranadaCoder.Data ,
GranadaCoder.Drawing , GranadaCoder.Exceptions , GranadaCoder.UIFramework ,
etc)
and
GranadaCoder.Applications.*
(like GranadaCoder.Applications.PetStore ,
GranadaCoder.Applications.EducationSystem , etc

and under each app, I had (for example)
(GranadaCoder.Applications.PetStore.Data ,
GranadaCoder.Applications.PetStore.BusinessLogic ,
GranadaCoder.Applications.PetStore.Presentation.We b.1 )

..

With 2.0, I started working on a
GranadaCoder.Data ...

But its built in 2.0, and I'm seeking what others have done to deal with
2.0.

Maybe its nothing. But there is no way to abandon my 1.1 code right now
..........
Thanks for any tips.


Jun 2 '06 #2
There is no reason why custom Namespace naming conventions should change at
all between framework versions.

Namespaces are just virtual ways of grouping related programming entities
(classes, structures, enums, interfaces, etc.) together and prevent naming
collsions between similiarly names elements, should that occur.

This concept hasn't changed with 2.0, nor should it.
"sloan" <sl***@ipass.net> wrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...

This is just a in-general question.

As 2.0 has launched, and you guys are developing apps in 2.0 .. What are
you doing about your namespace'ing ?

Before 2.0 , my namespaces went something like this

GranadaCoder.*
(I put all framework pieces there, like GranadaCoder.Data ,
GranadaCoder.Drawing , GranadaCoder.Exceptions , GranadaCoder.UIFramework
,
etc)
and
GranadaCoder.Applications.*
(like GranadaCoder.Applications.PetStore ,
GranadaCoder.Applications.EducationSystem , etc

and under each app, I had (for example)
(GranadaCoder.Applications.PetStore.Data ,
GranadaCoder.Applications.PetStore.BusinessLogic ,
GranadaCoder.Applications.PetStore.Presentation.We b.1 )

..

With 2.0, I started working on a
GranadaCoder.Data ...

But its built in 2.0, and I'm seeking what others have done to deal with
2.0.

Maybe its nothing. But there is no way to abandon my 1.1 code right now
..........
Thanks for any tips.

Jun 2 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Benjamin | last post by:
Hello, I need some advice on a financial application I'm doing. First, I suppose I should give a little background so you know where I'm coming from. For 5 years I earned my living doing COBOL...
3
by: Amy G | last post by:
I have a whole bunch of tuples that look something like this, aTuple = ('1074545869.6580.msg', 't_bryan_pw@gmcc.ab.ca', 'Your one stop prescriptions') now that I have this I try for x, y, z...
1
by: Benny | last post by:
Hi, I would like to know, if I need to do some floting point operations (mainly multiplication and division) on each roll of a table, should I read the data out from the DB and do the...
6
by: Dan Webb | last post by:
Hi All, Im currently working on ways of pacakaging javascript functions/variables/objects in a similar way to the Java package statement so that scripts can be interact with each other with the...
2
by: KC | last post by:
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
0
by: Steven Nagy | last post by:
Hi all, Within the Visual Studio 2005 IDE, I have some custom generated XSD which goes into a dataset file (XSD) and when saved, generates as usual. All works fine except I have a Namespacing...
9
by: oddvark | last post by:
Hello, under vc7.1 this code compiles: if (!parent.fillTool) parent.fillTool.dispose; where dispose is a method of fillTool. Notice that dispose does not have ( ) behind it. Under vc8,...
4
by: Peter Michaux | last post by:
On Feb 18, 11:02 pm, David Mark <dmark.cins...@gmail.comwrote: I've been thinking about this more for a library API. prefix namespacing FORK_addListener
6
by: r035198x | last post by:
I have put together this article to give people starting Swing an awareness of issues that need to be considered when creating a Swing application. Most of the Swing tutorials that I have seen just...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.