Programming Tools
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingProgramming Tools

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old July 8th, 2003, 03:27 AM
need_know_more need_know_more is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 2 need_know_more User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
distributed App, best design (SPEED)

hello,

i am designing a multi tier distributed app in .NET .
DataAccess.dll containing load , insert , update ,.... methods.
DataItem.dll containing classes having the list of the concerning
properties (CPerson : FirstName , LastName ,...) these classes
are filled by the presentation tier and passed as parameters
to be inserted Ex: daPerson.Load (objPerson). stored procedures
are used to access the DB.

The speed is an important concern !!!.

what is the best design if :
-- the database is put in a server (over internet).
-- i want to build a windows app.
-- i can put all dlls in the client side.

thanks in advance.

Reply With Quote
  #2  
Old July 8th, 2003, 01:14 PM
laidbak laidbak is offline
you know how we do
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jun 2002
Location: In Tha IE -- San Bernardino COUNTY
Posts: 788 laidbak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 4 m 2 sec
Reputation Power: 7
Send a message via ICQ to laidbak Send a message via AIM to laidbak Send a message via MSN to laidbak Send a message via Yahoo to laidbak
Well, the design definately depends on how the application is supposed to function.

If the distributed application has a client side and a server side which is all local to the end user's LAN, then you can see how putting as much as possible on the LAN's server machine would be beneficial.

If the app is going to be run over the internet/WAN then the design will be a bit different.

Without having a lot of detail in how this is supposed to work, I can suggest that you make a list of what function need to happen, if you will be connecting to an outside / remote data server, etc.

If you are connecting remotely to access data, you may want to think about designing a datacache system to store data that doesn't change frequently on the client machine.

If you want more speed, design a separate app to run in separate memory to do the data pulls, and store that data in a cache or queue, then have the client poll for that data right after a flag has been set saying that the data is ready for retrieval.
__________________
__________________________________________________ _
Wil Moore III, MCP | Integrations Specialist | Senior Consultant
Are You Listed...? | DigitallySmooth Inc.

Reply With Quote
  #3  
Old July 9th, 2003, 01:46 AM
need_know_more need_know_more is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 2 need_know_more User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Re: 'distributed App, best design (SPEED)

hello,

you are right , some details are missing !.

The app is going to be run over the internet/WAN . The DataBase
should reside in a remote server and accessed from a windows
application .

The DataItem.dll that contains classes representing the state
of each object , should be put in the client side.

well , an example for the dataaccess classes is "daPerson.vb"
this class should have a list of methods and functions
a Load function to retreive a list of objects to be bound to a
DataRepeater ,
a Load function to retreive a single object for the editing,
and Insert , Update and Delete functions.
All DataAccess classes should have mainly the same functionality.

The question is where do i have to put the DataAccess classes?

and which technology do i have to use?
Web service ? .NET remoting? all together?

another question ! what do you mean by :::
"""a separate app to run in separate memory to do the
data pulls, and store that data in a cache or queue"""

thanks a lot,

Reply With Quote
  #4  
Old July 9th, 2003, 10:10 AM
laidbak laidbak is offline
you know how we do
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jun 2002
Location: In Tha IE -- San Bernardino COUNTY
Posts: 788 laidbak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 4 m 2 sec
Reputation Power: 7
Send a message via ICQ to laidbak Send a message via AIM to laidbak Send a message via MSN to laidbak Send a message via Yahoo to laidbak
>"""a separate app to run in separate memory to do the
>data pulls, and store that data in a cache or queue"""

There are lots of ways to do this, however, the easiest way to describe what I mean is to write your application first with everything in one place, then start to dissect the parts that need to be distributed.

It is nice to have code wizards because the alpha development is virtually done for you. Now you can focus on making it work in a distributed fashion.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingProgramming Tools > distributed App, best design (SPEED)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway