in Search
     
Latest post 03-13-2007 2:31 AM by lamia. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 03-13-2007 1:05 AM

    • lamia
    • Top 10 Contributor
    • Joined on 06-20-2006
    • Sampaloc, Manila
    • Posts 752
    • Points 13,185

    When and Why use a websevice.

    Hi guys! I was thinking lately since we don't have a project as for the time being and we're doing some skills upgrade. We plan to make an ERP system which would be composed of a payroll, leave, cash advance, time-keeping, etc. Would there be a scenario in this kind of system where I might consider using a webservice? Why? Thanks!

     

    Convert limitations to great expectations... You are the creative force of your life...

    • Post Points: 20
  • 03-13-2007 1:32 AM In reply to

    • cruizer
    • Top 10 Contributor
    • Joined on 12-14-2005
    • Singapore
    • Posts 944
    • Points 22,590

    Re: When and Why use a websevice.

    generally you'll want to use web services (either as the server or as the client/consumer) if:

    1) you want to access services outside your application (e.g. access a list of public holidays, or exchange rates) -- you'll be using web services as a consumer
    2) you want to enable other entities/apps to access your application (e.g. you want to expose an API allowing other apps to authenticate to your user store, or to get a list of employees for a given department, etc.) -- you'll be the server then

    other than that, don't Stick out tongue
    http://devpinoy.org/blogs/cruizer
    Naglalayong buksan at palayain ang kamalayan ng Pinoy .NET developer
    • Post Points: 20
  • 03-13-2007 1:35 AM In reply to

    • lamia
    • Top 10 Contributor
    • Joined on 06-20-2006
    • Sampaloc, Manila
    • Posts 752
    • Points 13,185

    Re: When and Why use a websevice.

    Thanks cruizer. So even for example, your app is already finished. Let's say it's already a legacy app, but you would like functionalities from that app to be used by other applications. Perhaps it would  be wise in this scenario to use a webservice now or would it be not? Thanks!

     

    Convert limitations to great expectations... You are the creative force of your life...

    • Post Points: 20
  • 03-13-2007 1:40 AM In reply to

    • cruizer
    • Top 10 Contributor
    • Joined on 12-14-2005
    • Singapore
    • Posts 944
    • Points 22,590

    Re: When and Why use a websevice.

    yes...that would be a good reason to use web services or a "service oriented architecture" (SOA).

    of course you should also consider how the other apps will make use of your services. your service API shouldn't be chatty or else it'll be dog-slow. dapat dyan isang call, sama na lahat ng data na kailangan para ma-minimize yun round-tripping between client and server.
    http://devpinoy.org/blogs/cruizer
    Naglalayong buksan at palayain ang kamalayan ng Pinoy .NET developer
    • Post Points: 20
  • 03-13-2007 2:31 AM In reply to

    • lamia
    • Top 10 Contributor
    • Joined on 06-20-2006
    • Sampaloc, Manila
    • Posts 752
    • Points 13,185

    Re: When and Why use a websevice.

    I see. Thanks for the enlightenment! This would be very very helpful for me in the future!

     

    Convert limitations to great expectations... You are the creative force of your life...

    • Post Points: 5
Page 1 of 1 (5 items)