[squeak-dev] Services?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Services?

Andreas.Raab
Folks -

I was looking through the trunk image to find potential unload
candidates when I stumbled over the "Services" category. Am I mistaken
or are services just not used anywhere? I was looking for any class refs
etc. but it seems that all of this is self-referential and ultimately
there is only WorldMenuProvider (which is mostly duplication of
WorldMenu functionality) and BrowserProvider (which are just a few menus).

What am I missing? What are services good for? Where are they used?
Where should they be used? What is the motivation for including them in
the base image?

Thanks for any insights.

Cheers,
   - Andreas

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Services?

Edgar J. De Cleene



On 8/9/09 5:02 AM, "Andreas Raab" <[hidden email]> wrote:

> Folks -
>
> I was looking through the trunk image to find potential unload
> candidates when I stumbled over the "Services" category. Am I mistaken
> or are services just not used anywhere? I was looking for any class refs
> etc. but it seems that all of this is self-referential and ultimately
> there is only WorldMenuProvider (which is mostly duplication of
> WorldMenu functionality) and BrowserProvider (which are just a few menus).
>
> What am I missing? What are services good for? Where are they used?
> Where should they be used? What is the motivation for including them in
> the base image?
>
> Thanks for any insights.
>
> Cheers,
>    - Andreas


Services lets you add logic for dealing with external files and is useful ,
but always I vote for downloading packages if later you could load again.


Edgar




Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Services?

Colin Putney

On 10-Aug-09, at 6:21 AM, Edgar J. De Cleene wrote:

>> What am I missing? What are services good for? Where are they used?
>> Where should they be used? What is the motivation for including  
>> them in
>> the base image?
>>
>> Thanks for any insights.
>>
>> Cheers,
>>   - Andreas
>
>
> Services lets you add logic for dealing with external files and is  
> useful ,
> but always I vote for downloading packages if later you could load  
> again.

No, that's FileServices. (See the class FileServices, which not part  
of the Services package that Andreas was asking about.)

IIRC, Services was introduced in Squeak 3.9 as a generalization of  
FileServices, but hasn't been used much. It seems to overlap with  
AppRegistry as well. I looked at using them in OmniBrowser, but they  
didn't fit my needs.

Colin

Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: Services?

Andreas.Raab
Colin Putney wrote:
> No, that's FileServices. (See the class FileServices, which not part of
> the Services package that Andreas was asking about.)

Yes, exactly.

> IIRC, Services was introduced in Squeak 3.9 as a generalization of
> FileServices, but hasn't been used much. It seems to overlap with
> AppRegistry as well. I looked at using them in OmniBrowser, but they
> didn't fit my needs.

Thanks, so it looks like it's largely unused. How would people feel
about switching Services for some of more immediate value, say Shout?
Personally I'd say I take a lot more value out of Shout than Services
and they seem to be of roughly the same size. Plus it would pave the way
for a direct integration of Shout into our shiny new editors ;-)

Opinions?

Cheers,
   - Andreas