On Wed, 12 Jan 2005 19:17:00 +0100, Nando <[EMAIL PROTECTED]> wrote:
> 
> I've always wondered what "service" means in this context - comment service.
> I hear references sometimes to the service layer, or a "_____" service in an
> app and although i get the general sense, i'm wondering what distinguishs a
> service from anything else.

i don't know if your asking a question or not :O) but a comment
service when i mentioned it is basically a separate application that
is responsible for one thing - managing comments.  Then any other
application that knows how to consume that service can use all of the
comment services functionality without having to recreate it  - the
service just takes care of it for you.  The comments are stored with
the comment service (in whatever storage medium you choose when
creating the service) and they are fed to the application from the
service for display to users.

The service, as I mentioned previously could also provide the
requisite html to render the necessary page for comment creation.  On
top of that it could support a small API that lets you build your own
form if you prefer that just knows how to process the comment so that
it is stored by the service.

For instance say you have a photo blog up - it could just be concerned
with posting photos (and perhaps descriptive text..) it could then
utilize the comment service to have all comments on particular photos
managed for it.

Another app, say a reporting system, could deal with the creation and
display of detailed customer service reports - for whatever reason -
but the company using that reporting tool might want to allow the
customer to comment on the report - or may a customer service rep
would need to add comments.  Well this app too could utilize the
comment service.

Obviously, this idea could be extended quite a bit.  However, comment
functionality seems like a natural fit for this type of idea because
so many apps could benefit from the ability to attach comments and
thus you end up duplicating work to some extent.

Hope that clears it up some ;O)

-- 
--------------
[EMAIL PROTECTED]
http://blog.rawlinson.us

I have 9 gmail invites,want one?
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]

Reply via email to