DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Thu, 7 Jun 2007 12:25:01 -0700,    posted on: microsoft.public.dotnet.distributed_apps        back       

Thread Index
  1    calderara
          2    Michael Nemtsev
                 3    calderara
                        4    Michael Nemtsev


Need help to a good architecure ideas !!!   
Dear all,

Im ma building an event system application in a kind of service based 
application. Events system means collecting machine alarms, archive them in a 
database, provide them to a user interface and provide some statistical 
calculation frequency.

Based on those requirement I am loosing my mind on the way to organise my 
architecture in order to be in a good style an approach.

UI layer:
Frist of all of course there is the UI layer in charge to request different 
ype of Services from the service layer

Service Layer:
Provide to users, Archiving Service, Collecting service, statistical 
service, publishing service

Data layer:
In charge of storeing and retriving data from database.

Based on those different layer I have difficulties to answer follwing 
questions,hoping I will get help from you :

1 - What is the way to communicate between layers ?
2- How those different layers are physically represented as files :
 Does each layer = 1 assembly with organised classes ?
 Does each layers is a set of assenbly within a same name space identifyuing 
the layer they belongs too ?

3 - Does  a service layer is organised in one assembly per service ?
4 - How to provide new services to be used by my aplication without 
recompiling

I know it might be hard to answer but if you could guide me how to organised 
my classes in order to be in a good architeture I will appreciate

regards
serge
Date:Thu, 7 Jun 2007 12:25:01 -0700   Author:  

Re: Need help to a good architecure ideas !!!   
Hello calderara,

c> 1 - What is the way to communicate between layers ?

Depends on your environment and physical tier locations.
If everything is on the single machine then use IPC ways, like pipes, else 
consider using web-services.
I'd recommed to implement services with WCF, which allows you easily to change 
the communication protocol.

c> 2- How those different layers are physically represented as files :
c> Does each layer = 1 assembly with organised classes ?

doen't matter

c> Does each layers is a set of assenbly within a same name space
c> identifyuing
c> the layer they belongs too ?

Yep. only don't forget to follow the namespace guidelines

c> 3 - Does  a service layer is organised in one assembly per service ?

so, the question is either to have monolithic or component architecture - 
use the single dll if your services aren't gonna be extended by plugins.

c> 4 - How to provide new services to be used by my aplication without
c> recompiling

you need to couple your service interaction tight. Services should be autonomous 
and discovered. It means you need to add tight reference to other services. 
All services should be references and plugged via config files. And idealy 
be discovered smth like via UDDI.


---
WBR,  Michael  Nemtsev [.NET/C# MVP].  
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we 
miss it, but that it is too low and we reach it" (c) Michelangelo

c> Dear all,
c> 
c> Im ma building an event system application in a kind of service based
c> application. Events system means collecting machine alarms, archive
c> them in a database, provide them to a user interface and provide some
c> statistical calculation frequency.
c> 
c> Based on those requirement I am loosing my mind on the way to
c> organise my architecture in order to be in a good style an approach.
c> 
c> UI layer:
c> Frist of all of course there is the UI layer in charge to request
c> different
c> ype of Services from the service layer
c> Service Layer:
c> Provide to users, Archiving Service, Collecting service, statistical
c> service, publishing service
c> Data layer:
c> In charge of storeing and retriving data from database.
c> Based on those different layer I have difficulties to answer follwing
c> questions,hoping I will get help from you :
c> 
c> 1 - What is the way to communicate between layers ?
c> 2- How those different layers are physically represented as files :
c> Does each layer = 1 assembly with organised classes ?
c> Does each layers is a set of assenbly within a same name space
c> identifyuing
c> the layer they belongs too ?
c> 3 - Does  a service layer is organised in one assembly per service ?
c> 4 - How to provide new services to be used by my aplication without
c> recompiling
c> 
c> I know it might be hard to answer but if you could guide me how to
c> organised my classes in order to be in a good architeture I will
c> appreciate
c> 
c> regards
c> serge
Date:Mon, 11 Jun 2007 06:55:12 +0000 (UTC)   Author:  

Re: Need help to a good architecure ideas !!!   
thnaks mickael foer your explananation...

Do you have any sample for the last point ?

If I catch it properly it means that my application sgould read avalaible 
servcie list from a config file, in a particular format and particular tag 
element I guess , and then automatically discover the service ...hmmmm

So this is based on web services then rigth?
I have never use this discovering stuff any good sample ? config file 
section and discovering ?

What about if all is local and I need to discover service by TCP ??

thnaks for help
regards
Serge

"Michael Nemtsev" wrote:


> Hello calderara,
> 
> c> 1 - What is the way to communicate between layers ?
> 
> Depends on your environment and physical tier locations.
> If everything is on the single machine then use IPC ways, like pipes, else 
> consider using web-services.
> I'd recommed to implement services with WCF, which allows you easily to change 
> the communication protocol.
> 
> c> 2- How those different layers are physically represented as files :
> c> Does each layer = 1 assembly with organised classes ?
> 
> doen't matter
> 
> c> Does each layers is a set of assenbly within a same name space
> c> identifyuing
> c> the layer they belongs too ?
> 
> Yep. only don't forget to follow the namespace guidelines
> 
> c> 3 - Does  a service layer is organised in one assembly per service ?
> 
> so, the question is either to have monolithic or component architecture - 
> use the single dll if your services aren't gonna be extended by plugins.
> 
> c> 4 - How to provide new services to be used by my aplication without
> c> recompiling
> 
> you need to couple your service interaction tight. Services should be autonomous 
> and discovered. It means you need to add tight reference to other services. 
> All services should be references and plugged via config files. And idealy 
> be discovered smth like via UDDI.
> 
> 
> ---
> WBR,  Michael  Nemtsev [.NET/C# MVP].  
> My blog: http://spaces.live.com/laflour
> Team blog: http://devkids.blogspot.com/
> 
> "The greatest danger for most of us is not that our aim is too high and we 
> miss it, but that it is too low and we reach it" (c) Michelangelo
> 
> c> Dear all,
> c> 
> c> Im ma building an event system application in a kind of service based
> c> application. Events system means collecting machine alarms, archive
> c> them in a database, provide them to a user interface and provide some
> c> statistical calculation frequency.
> c> 
> c> Based on those requirement I am loosing my mind on the way to
> c> organise my architecture in order to be in a good style an approach.
> c> 
> c> UI layer:
> c> Frist of all of course there is the UI layer in charge to request
> c> different
> c> ype of Services from the service layer
> c> Service Layer:
> c> Provide to users, Archiving Service, Collecting service, statistical
> c> service, publishing service
> c> Data layer:
> c> In charge of storeing and retriving data from database.
> c> Based on those different layer I have difficulties to answer follwing
> c> questions,hoping I will get help from you :
> c> 
> c> 1 - What is the way to communicate between layers ?
> c> 2- How those different layers are physically represented as files :
> c> Does each layer = 1 assembly with organised classes ?
> c> Does each layers is a set of assenbly within a same name space
> c> identifyuing
> c> the layer they belongs too ?
> c> 3 - Does  a service layer is organised in one assembly per service ?
> c> 4 - How to provide new services to be used by my aplication without
> c> recompiling
> c> 
> c> I know it might be hard to answer but if you could guide me how to
> c> organised my classes in order to be in a good architeture I will
> c> appreciate
> c> 
> c> regards
> c> serge
> 
> 
> 
Date:Tue, 12 Jun 2007 00:25:06 -0700   Author:  

Re: Need help to a good architecure ideas !!!   
Hello calderara,

c> If I catch it properly it means that my application sgould read
c> avalaible servcie list from a config file, in a particular format and
c> particular tag element I guess , and then automatically discover the
c> service ...hmmmm

You need to support only one option.
Discoverting is usefull when you have an enterprise with number of services, 
and to avoid mix up with number of services and remembering where are they 
and what's description - u implement the discovering.

c> So this is based on web services then rigth?
yep, especially for the discovering

c> I have never use this discovering stuff any good sample ? config file
c> section and discovering ?

read about semantic web and UDDI there
http://www.codeproject.com/books/GuideSemanticWeb5.asp
http://www.codeproject.com/cs/webservices/uddiexplorer.asp


c> What about if all is local and I need to discover service by TCP ??

if it's localy then i support there is nothing to search. because it's next 
to u :)


---
WBR,  Michael  Nemtsev [.NET/C# MVP].  
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we 
miss it, but that it is too low and we reach it" (c) Michelangelo

c> thnaks mickael foer your explananation...
c> 
c> Do you have any sample for the last point ?
c> 
c> If I catch it properly it means that my application sgould read
c> avalaible servcie list from a config file, in a particular format and
c> particular tag element I guess , and then automatically discover the
c> service ...hmmmm
c> 
c> So this is based on web services then rigth?
c> I have never use this discovering stuff any good sample ? config file
c> section and discovering ?
c> What about if all is local and I need to discover service by TCP ??
c> 
c> thnaks for help
c> regards
c> Serge
c> "Michael Nemtsev" wrote:
c> 

>> Hello calderara,
>> 
>> c> 1 - What is the way to communicate between layers ?
>> 
>> Depends on your environment and physical tier locations.
>> If everything is on the single machine then use IPC ways, like pipes,
>> else
>> consider using web-services.
>> I'd recommed to implement services with WCF, which allows you easily
>> to change
>> the communication protocol.
>> c> 2- How those different layers are physically represented as files
>> : c> Does each layer = 1 assembly with organised classes ?
>> 
>> doen't matter
>> 
>> c> Does each layers is a set of assenbly within a same name space
>> c> identifyuing
>> c> the layer they belongs too ?
>> Yep. only don't forget to follow the namespace guidelines
>> 
>> c> 3 - Does  a service layer is organised in one assembly per service
>> ?
>> 
>> so, the question is either to have monolithic or component
>> architecture - use the single dll if your services aren't gonna be
>> extended by plugins.
>> 
>> c> 4 - How to provide new services to be used by my aplication
>> without c> recompiling
>> 
>> you need to couple your service interaction tight. Services should be
>> autonomous and discovered. It means you need to add tight reference
>> to other services. All services should be references and plugged via
>> config files. And idealy be discovered smth like via UDDI.
>> 
>> ---
>> WBR,  Michael  Nemtsev [.NET/C# MVP].
>> My blog: http://spaces.live.com/laflour
>> Team blog: http://devkids.blogspot.com/
>> "The greatest danger for most of us is not that our aim is too high
>> and we miss it, but that it is too low and we reach it" (c)
>> Michelangelo
>> 
>> c> Dear all,
>> c>
>> c> Im ma building an event system application in a kind of service
>> based
>> c> application. Events system means collecting machine alarms,
>> archive
>> c> them in a database, provide them to a user interface and provide
>> some
>> c> statistical calculation frequency.
>> c>
>> c> Based on those requirement I am loosing my mind on the way to
>> c> organise my architecture in order to be in a good style an
>> approach.
>> c>
>> c> UI layer:
>> c> Frist of all of course there is the UI layer in charge to request
>> c> different
>> c> ype of Services from the service layer
>> c> Service Layer:
>> c> Provide to users, Archiving Service, Collecting service,
>> statistical
>> c> service, publishing service
>> c> Data layer:
>> c> In charge of storeing and retriving data from database.
>> c> Based on those different layer I have difficulties to answer
>> follwing
>> c> questions,hoping I will get help from you :
>> c>
>> c> 1 - What is the way to communicate between layers ?
>> c> 2- How those different layers are physically represented as files
>> :
>> c> Does each layer = 1 assembly with organised classes ?
>> c> Does each layers is a set of assenbly within a same name space
>> c> identifyuing
>> c> the layer they belongs too ?
>> c> 3 - Does  a service layer is organised in one assembly per service
>> ?
>> c> 4 - How to provide new services to be used by my aplication
>> without
>> c> recompiling
>> c>
>> c> I know it might be hard to answer but if you could guide me how to
>> c> organised my classes in order to be in a good architeture I will
>> c> appreciate
>> c>
>> c> regards
>> c> serge
Date:Tue, 12 Jun 2007 10:54:22 +0000 (UTC)   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us