473,396 Members | 1,764 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,396 software developers and data experts.

New developement 3 tier structure

Hi Guys,

I was hoping someone could point me in the right direction regarding a
new software developement.

Basicallly i have a friend who wants me to develop a dynamic system in
ASP.Net that allows me to create INSTITUTIONS at the top level then
each Institution can have multiple SUBGROUPS. Finally each subgroup can
have multiple SUBSUBGROUPS if you know what i mean. so basically this
is a three tier structure. Does anyone have any ideas on the best way
to code this from the point of view of giving the user a friendly
administration faciltiy ???

I think this will be complex but if anyone has any ideas or tips they
can share please let me know as i dont know the best way to go about
this.

all help appreciated

CG

Jul 31 '06 #1
4 2071
Treeviews are pretty much always an easy to read control. Depending on what
you exactly need and what is the knowledge of the user that will use the
"administration facility", you could do a complex or not so complex page
based on a treeview display of your organisation displaying only the
institutions, subgroups and subsubgroups the user has the right to view
(depending if there are user rights involved)...

Institution
Sub Group1
Sub Sub Group1
Sub Sub Group2
Sub Sub Group3
Sub Group2
Sub Sub Group1
Sub Sub Group2
Sub Sub Group3
....

I hope it helps
"csgraham74" <cs********@gmail.comwrote in message
news:11**********************@i3g2000cwc.googlegro ups.com...
Hi Guys,

I was hoping someone could point me in the right direction regarding a
new software developement.

Basicallly i have a friend who wants me to develop a dynamic system in
ASP.Net that allows me to create INSTITUTIONS at the top level then
each Institution can have multiple SUBGROUPS. Finally each subgroup can
have multiple SUBSUBGROUPS if you know what i mean. so basically this
is a three tier structure. Does anyone have any ideas on the best way
to code this from the point of view of giving the user a friendly
administration faciltiy ???

I think this will be complex but if anyone has any ideas or tips they
can share please let me know as i dont know the best way to go about
this.

all help appreciated

CG

Jul 31 '06 #2
thanks for that - but i dont think ive got access to treeview in
ASP.Net. If i do could you point me in the right direction.

I get the feeling this will get quite complex with multiple tables and
groups - any ideas on how to set up database structure ????
Thanks

CG
ThunderMusic wrote:
Treeviews are pretty much always an easy to read control. Depending on what
you exactly need and what is the knowledge of the user that will use the
"administration facility", you could do a complex or not so complex page
based on a treeview display of your organisation displaying only the
institutions, subgroups and subsubgroups the user has the right to view
(depending if there are user rights involved)...

Institution
Sub Group1
Sub Sub Group1
Sub Sub Group2
Sub Sub Group3
Sub Group2
Sub Sub Group1
Sub Sub Group2
Sub Sub Group3
...

I hope it helps
"csgraham74" <cs********@gmail.comwrote in message
news:11**********************@i3g2000cwc.googlegro ups.com...
Hi Guys,

I was hoping someone could point me in the right direction regarding a
new software developement.

Basicallly i have a friend who wants me to develop a dynamic system in
ASP.Net that allows me to create INSTITUTIONS at the top level then
each Institution can have multiple SUBGROUPS. Finally each subgroup can
have multiple SUBSUBGROUPS if you know what i mean. so basically this
is a three tier structure. Does anyone have any ideas on the best way
to code this from the point of view of giving the user a friendly
administration faciltiy ???

I think this will be complex but if anyone has any ideas or tips they
can share please let me know as i dont know the best way to go about
this.

all help appreciated

CG
Jul 31 '06 #3
if you are using framework 2.0 I think there is a Treeview server control...
if using 1.0 or 1.1, you're right, you don't have one, but many are
available on the net...

for database, you simply reference the parent from the child row... for
example, each SubGroup record (row) has a reference to an Institution
record...

I hope it helps

ThunderMusic

"csgraham74" <cs********@gmail.comwrote in message
news:11**********************@i3g2000cwc.googlegro ups.com...
thanks for that - but i dont think ive got access to treeview in
ASP.Net. If i do could you point me in the right direction.

I get the feeling this will get quite complex with multiple tables and
groups - any ideas on how to set up database structure ????
Thanks

CG
ThunderMusic wrote:
>Treeviews are pretty much always an easy to read control. Depending on
what
you exactly need and what is the knowledge of the user that will use the
"administration facility", you could do a complex or not so complex page
based on a treeview display of your organisation displaying only the
institutions, subgroups and subsubgroups the user has the right to view
(depending if there are user rights involved)...

Institution
Sub Group1
Sub Sub Group1
Sub Sub Group2
Sub Sub Group3
Sub Group2
Sub Sub Group1
Sub Sub Group2
Sub Sub Group3
...

I hope it helps
"csgraham74" <cs********@gmail.comwrote in message
news:11**********************@i3g2000cwc.googlegr oups.com...
Hi Guys,

I was hoping someone could point me in the right direction regarding a
new software developement.

Basicallly i have a friend who wants me to develop a dynamic system in
ASP.Net that allows me to create INSTITUTIONS at the top level then
each Institution can have multiple SUBGROUPS. Finally each subgroup can
have multiple SUBSUBGROUPS if you know what i mean. so basically this
is a three tier structure. Does anyone have any ideas on the best way
to code this from the point of view of giving the user a friendly
administration faciltiy ???

I think this will be complex but if anyone has any ideas or tips they
can share please let me know as i dont know the best way to go about
this.

all help appreciated

CG

Jul 31 '06 #4
In the database itself, you don't need to have much of a distinction between
the institution, the group, the subgroup, the sub-sub-group etc. They all
go in a single table.

table containerobject
containerid int identity
containerparent int
containername varchar(20)
end table

using this type of structure, each row simply has a primary key (the
containerid) and a reference to a parent row. The institutions themselves
have a parentid of 0. Index the containerparent column. Then, for each
item, you can easily find its children by looking for all the rows where the
containerparent is equal to the rows containerid.

Drilldown becomes an act of starting at the top, selecting an item and
watching the page display the children. You can do this quite nicely with
Ajax controls (see http://atlas.asp.net ).

--- Nick
--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"ThunderMusic" <No*************************@NoSpAm.comwrote in message
news:uV**************@TK2MSFTNGP03.phx.gbl...
if you are using framework 2.0 I think there is a Treeview server
control... if using 1.0 or 1.1, you're right, you don't have one, but many
are available on the net...

for database, you simply reference the parent from the child row... for
example, each SubGroup record (row) has a reference to an Institution
record...

I hope it helps

ThunderMusic

"csgraham74" <cs********@gmail.comwrote in message
news:11**********************@i3g2000cwc.googlegro ups.com...
>thanks for that - but i dont think ive got access to treeview in
ASP.Net. If i do could you point me in the right direction.

I get the feeling this will get quite complex with multiple tables and
groups - any ideas on how to set up database structure ????
Thanks

CG
ThunderMusic wrote:
>>Treeviews are pretty much always an easy to read control. Depending on
what
you exactly need and what is the knowledge of the user that will use the
"administration facility", you could do a complex or not so complex page
based on a treeview display of your organisation displaying only the
institutions, subgroups and subsubgroups the user has the right to view
(depending if there are user rights involved)...

Institution
Sub Group1
Sub Sub Group1
Sub Sub Group2
Sub Sub Group3
Sub Group2
Sub Sub Group1
Sub Sub Group2
Sub Sub Group3
...

I hope it helps
"csgraham74" <cs********@gmail.comwrote in message
news:11**********************@i3g2000cwc.googleg roups.com...
Hi Guys,

I was hoping someone could point me in the right direction regarding a
new software developement.

Basicallly i have a friend who wants me to develop a dynamic system in
ASP.Net that allows me to create INSTITUTIONS at the top level then
each Institution can have multiple SUBGROUPS. Finally each subgroup
can
have multiple SUBSUBGROUPS if you know what i mean. so basically this
is a three tier structure. Does anyone have any ideas on the best way
to code this from the point of view of giving the user a friendly
administration faciltiy ???

I think this will be complex but if anyone has any ideas or tips they
can share please let me know as i dont know the best way to go about
this.

all help appreciated

CG


Aug 1 '06 #5

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

Similar topics

1
by: Glenn Whyman | last post by:
Hi, We've recently completed the design for a three tier web application and are about to commence development. When building and deploying is it better to have a VS.NET project for each...
0
by: .pd. | last post by:
Say I have a specific class in the Data layer that grabs data and sticks it in a data structure. Say I have a control in the UI layer that feeds from that data structure. Is it against the...
2
by: Shantanu Bhattacharya | last post by:
Hi, I have a 2-tier application that allows the end user to create a form containing controls of the user's choice. The same user can then populate the database by entering data created using...
8
by: yurps | last post by:
Hello, I want to create business and data access layer for my website. I am not sure what the right way to go is, I could use a code-generation tool, but want to understand a bit more about...
1
by: rob | last post by:
Dear All, ASP 2 introduces a lot of controls that bind directly to a database. Obviously, this does not work for everything so it seems to me that one ends up with a mixture of 2-tier and 3-tier...
3
by: Dan Munk | last post by:
Hello, I am working on a very large multi-tier Web application. The application consists of approximately 100 middle-tier/back-end projects and 200-300 presentation projects. Obviously this is...
23
by: Steve Barnett | last post by:
Ok, I've never done n-Tier development and I'm getting confused... Assuming I have a business layer and a data access layer that may be running on different machines, how does my business layer...
5
by: kito | last post by:
Hi, I've a question, regarding the multi-tier model of designing applications. I'm programming a web-application (Little web-shop) in VB.net for a project of the university and my question is the...
2
by: femgeek | last post by:
Hi, my name is Nat Im a junior programmer, and Im trying to code a N-tier winform project in C#. I get the whole tier aka layer stuff fine, my question is: How do you do it? Folders? class libraries...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.