|
tech
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Architecture for a Webservices projectproject. Below is a draft of what I thought would be a decent way to go about it, I was wondering about other peoples thoughts. I thought maybe a half business object half dataset approach is feasable...Im not sure... Teir1 - WebService wsTblClient Method Create() Method Read() Method Update() Method Delete() Teir2 - Business Objects boBase Method threadsafeCreate() Method threadsafeRead() Method threadsafeUpdate() Method threadsafeDelete() boTblClient inherits boBase Property dsTblClient Property bindingSource method untypeDS method typeDS Teir3 - Presentation frmBase frmClient inherits frmBaseNormal property BOtblClient Im very noobie :( Thank you so much for your time reading John Hello NewsGuy,
and what these webservices do? --- WBR, Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour "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 N> Teir1 - WebService N> wsTblClient N> Method Create() N> Method Read() N> Method Update() N> Method Delete() Its Business System that handles doing quotes, invoices and that kind of
thing...all database driven kinda stuff... Thanks Michael John Show quote "Michael Nemtsev"; "MVP" <nemt***@msn.com> wrote in message news:3d9fba1a15dc58c9e886efbbc530@msnews.microsoft.com... > Hello NewsGuy, > > and what these webservices do? > > > --- > WBR, Michael Nemtsev [.NET/C# MVP] :: blog: > http://spaces.live.com/laflour > "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 > > N> Teir1 - WebService > N> wsTblClient > N> Method Create() > N> Method Read() > N> Method Update() > N> Method Delete() > >
Show quote
"NewsGuy" <john@nospam.com.au> wrote in message Teir 1news:fg49um0ura@news5.newsguy.com... > Hello I'm concidering better ways to architecture our VB.Net Webservices > project. Below is a draft of what I thought would be a decent way to go > about it, I was wondering about other peoples thoughts. I thought maybe a > half business object half dataset approach is feasable...Im not sure... > > Teir1 - WebService > wsTblClient > Method Create() > Method Read() > Method Update() > Method Delete() > Teir2 - Business Objects > boBase > Method threadsafeCreate() > Method threadsafeRead() > Method threadsafeUpdate() > Method threadsafeDelete() > boTblClient > inherits boBase > Property dsTblClient > Property bindingSource > method untypeDS > method typeDS > Teir3 - Presentation > frmBase > frmClient > inherits frmBaseNormal > property BOtblClient > > Im very noobie :( > Thank you so much for your time reading > John UI UI has reference to Presentation layer Tier 2 Presentation or MVP Model View Presenter Presentation has reference to Business layer MVP consumes BL objects and methods. Tier 3 Business Layer Business Layer has reference Data Access layer Method Create() Method Read() Method Update() Method Delete() Teir 4 Data Access layer Method Create() Method Read() Method Update() Method Delete() What's the Web Service for? Is the Web service to be consumed by Windows Desktop or ASP.Net solution. This talks about MS Windows DNA a little bit, but there are other articles too out on Google. <http://www.c-sharpcorner.com/UploadFile/tavanover/NTierDevelopmentwithMS111302005054224AM/NTierDevelopmentwithMS1.aspx> This link is about MVP you should look at the shows, and there are articles out on Google about MVP. MODEL-VIEW-PRESENTER http://www.polymorphicpodcast.com/ click 'Shows' click 'Design Patterns Bootcamp: Model View * Patterns* view parts 1-5 Sorry man, because I am going to be blunt about it. What you have going on there up above for architecture is some kind of a mess.
Show quote
"Mr. Arnold" <MR. Arn***@Arnold.com> wrote in message lol :) Yeah thats cool, I realise its not good. Its far better being news:eZosB4hGIHA.6068@TK2MSFTNGP02.phx.gbl... > > "NewsGuy" <john@nospam.com.au> wrote in message > news:fg49um0ura@news5.newsguy.com... >> Hello I'm concidering better ways to architecture our VB.Net Webservices >> project. Below is a draft of what I thought would be a decent way to go >> about it, I was wondering about other peoples thoughts. I thought maybe a >> half business object half dataset approach is feasable...Im not sure... >> >> Teir1 - WebService >> wsTblClient >> Method Create() >> Method Read() >> Method Update() >> Method Delete() >> Teir2 - Business Objects >> boBase >> Method threadsafeCreate() >> Method threadsafeRead() >> Method threadsafeUpdate() >> Method threadsafeDelete() >> boTblClient >> inherits boBase >> Property dsTblClient >> Property bindingSource >> method untypeDS >> method typeDS >> Teir3 - Presentation >> frmBase >> frmClient >> inherits frmBaseNormal >> property BOtblClient >> >> Im very noobie :( >> Thank you so much for your time reading >> John > > Teir 1 > > UI > > UI has reference to Presentation layer > > Tier 2 > > Presentation or MVP Model View Presenter > > Presentation has reference to Business layer > > MVP consumes BL objects and methods. > > Tier 3 > > Business Layer > > Business Layer has reference Data Access layer > > Method Create() > Method Read() > Method Update() > Method Delete() > > > Teir 4 > > Data Access layer > > Method Create() > Method Read() > Method Update() > Method Delete() > > > What's the Web Service for? Is the Web service to be consumed by Windows > Desktop or ASP.Net solution. > > This talks about MS Windows DNA a little bit, but there are other articles > too out on Google. > > <http://www.c-sharpcorner.com/UploadFile/tavanover/NTierDevelopmentwithMS111302005054224AM/NTierDevelopmentwithMS1.aspx> > > > This link is about MVP you should look at the shows, and there are > articles out on Google about MVP. > MODEL-VIEW-PRESENTER > > http://www.polymorphicpodcast.com/ > > click 'Shows' > > click 'Design Patterns Bootcamp: Model View * Patterns* > > view parts 1-5 > > Sorry man, because I am going to be blunt about it. What you have going on > there up above for architecture is some kind of a mess. > blunt...Trying to feel my way through, its hard to find a good book on architecture...so many different ways of doing things... Im taking over a project that has no kind of layers, im a noob, but I know what is done Im really concerned about...it works well for now...but maintanance...urrrrgg......he's a cut and paster :( The webservice is to be consumed by windows desktop, and possibly down the track an asp.net website... Thanks for the info and links, I'll research up on them...and I'll no doubt be back with questions :) Thanks heaps for your your time...I really appreciate it... John Take a look at this:
http://sholliday.spaces.live.com/blog/cns!A68482B9628A842A!158.entry?wa=wsignin1.0 This is WCF. WCF would allow you to "host" your code via a webservice if need be. However, you'ld have the freedom to host it via tcp as well. Or other options. My question is ... is your winforms application the only client using these services? If so, then definately look at the setup above. This is what I call a "NLayered AND NTiered" example. Show quote "NewsGuy" <john@nospam.com.au> wrote in message news:fg49um0ura@news5.newsguy.com... > Hello I'm concidering better ways to architecture our VB.Net Webservices > project. Below is a draft of what I thought would be a decent way to go > about it, I was wondering about other peoples thoughts. I thought maybe a > half business object half dataset approach is feasable...Im not sure... > > Teir1 - WebService > wsTblClient > Method Create() > Method Read() > Method Update() > Method Delete() > Teir2 - Business Objects > boBase > Method threadsafeCreate() > Method threadsafeRead() > Method threadsafeUpdate() > Method threadsafeDelete() > boTblClient > inherits boBase > Property dsTblClient > Property bindingSource > method untypeDS > method typeDS > Teir3 - Presentation > frmBase > frmClient > inherits frmBaseNormal > property BOtblClient > > Im very noobie :( > Thank you so much for your time reading > John It is for now...but not in the long run...so I dont think thats really an
option...it will all be dotnet tho... I'll scope out the app and see how I go with it...Im sure it'll lead me somewhat in the right direction.... Thank You! John Show quote "sloan" <sl***@ipass.net> wrote in message news:%23ARGuyjGIHA.5328@TK2MSFTNGP05.phx.gbl... > Take a look at this: > > http://sholliday.spaces.live.com/blog/cns!A68482B9628A842A!158.entry?wa=wsignin1.0 > > > This is WCF. > > WCF would allow you to "host" your code via a webservice if need be. > However, you'ld have the freedom to host it via tcp as well. Or other > options. > > My question is ... is your winforms application the only client using > these services? > If so, then definately look at the setup above. > > This is what I call a "NLayered AND NTiered" example. > > > > > > "NewsGuy" <john@nospam.com.au> wrote in message > news:fg49um0ura@news5.newsguy.com... >> Hello I'm concidering better ways to architecture our VB.Net Webservices >> project. Below is a draft of what I thought would be a decent way to go >> about it, I was wondering about other peoples thoughts. I thought maybe a >> half business object half dataset approach is feasable...Im not sure... >> >> Teir1 - WebService >> wsTblClient >> Method Create() >> Method Read() >> Method Update() >> Method Delete() >> Teir2 - Business Objects >> boBase >> Method threadsafeCreate() >> Method threadsafeRead() >> Method threadsafeUpdate() >> Method threadsafeDelete() >> boTblClient >> inherits boBase >> Property dsTblClient >> Property bindingSource >> method untypeDS >> method typeDS >> Teir3 - Presentation >> frmBase >> frmClient >> inherits frmBaseNormal >> property BOtblClient >> >> Im very noobie :( >> Thank you so much for your time reading >> John > > "NewsGuy" <john@nospam.com.au> wrote in message If you want to learn about making frameworks and architecture that use a Web news:fg6oi202031@news3.newsguy.com... > It is for now...but not in the long run...so I dont think thats really an > option...it will all be dotnet tho... > > I'll scope out the app and see how I go with it...Im sure it'll lead me > somewhat in the right direction.... > service, then I suggest that you get one of these two books, put the framework together and put the project together that uses the framework. I am not saying you have to use the CSLA framework in your project. But the fact that you went through that book will give you a good understanding of how to do things right out of the gate. http://www.lhotka.net/Default.aspx That's the beauty of WCF.
You can expose the functionality at a later time to java, asp, anything that does webservices. But you have a route for dotnet to dotnet as well. Show quote "NewsGuy" <john@nospam.com.au> wrote in message news:fg6oi202031@news3.newsguy.com... > It is for now...but not in the long run...so I dont think thats really an > option...it will all be dotnet tho... > > I'll scope out the app and see how I go with it...Im sure it'll lead me > somewhat in the right direction.... > > Thank You! > John > > "sloan" <sl***@ipass.net> wrote in message > news:%23ARGuyjGIHA.5328@TK2MSFTNGP05.phx.gbl... >> Take a look at this: >> >> http://sholliday.spaces.live.com/blog/cns!A68482B9628A842A!158.entry?wa=wsignin1.0 >> >> >> This is WCF. >> >> WCF would allow you to "host" your code via a webservice if need be. >> However, you'ld have the freedom to host it via tcp as well. Or other >> options. >> >> My question is ... is your winforms application the only client using >> these services? >> If so, then definately look at the setup above. >> >> This is what I call a "NLayered AND NTiered" example. >> >> >> >> >> >> "NewsGuy" <john@nospam.com.au> wrote in message >> news:fg49um0ura@news5.newsguy.com... >>> Hello I'm concidering better ways to architecture our VB.Net Webservices >>> project. Below is a draft of what I thought would be a decent way to go >>> about it, I was wondering about other peoples thoughts. I thought maybe >>> a half business object half dataset approach is feasable...Im not >>> sure... >>> >>> Teir1 - WebService >>> wsTblClient >>> Method Create() >>> Method Read() >>> Method Update() >>> Method Delete() >>> Teir2 - Business Objects >>> boBase >>> Method threadsafeCreate() >>> Method threadsafeRead() >>> Method threadsafeUpdate() >>> Method threadsafeDelete() >>> boTblClient >>> inherits boBase >>> Property dsTblClient >>> Property bindingSource >>> method untypeDS >>> method typeDS >>> Teir3 - Presentation >>> frmBase >>> frmClient >>> inherits frmBaseNormal >>> property BOtblClient >>> >>> Im very noobie :( >>> Thank you so much for your time reading >>> John >> >> >
Other interesting topics
|
|||||||||||||||||||||||