Comments on Metacello and ConfigurationOfExternalWebBrowser

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

Comments on Metacello and ConfigurationOfExternalWebBrowser

Torsten Bergmann
>Come on!!! That's not an excuse

Yes it is - maybe there is already a better or fixed version
in a private repo of dale or the tutorial is not maintained
anymore since according to

http://code.google.com/p/metacello/wiki/Tutorial

there is a real tutorial in preparation.

Who knows without asking...

>#commonSqueak or something like that , which is for pharo and squeak (but
>not gemstone)

It's called "squeakCommon" and I have no idea if "gemstone" means
the pharo based gemstone image or the server. Anything I see is that
FFI config also uses #common and developers for it are Esteban, you and
Dale.

So you should know ;)

However - what if Metacello gets ported. Do we have an "commercialSmalltalksCommon", "vastAndVW", ... or any other
combination or do we have to maintain a spec for any each platform.

Would'nt it be better to have a spec and tell on which (multiple)
targets it is able to run.

Questions over Questions ...

Bye
T.




--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Comments on Metacello and ConfigurationOfExternalWebBrowser

Danie Roux
On Wed, Jan 13, 2010 at 5:11 PM, Torsten Bergmann wrote:
> It's called "squeakCommon" and I have no idea if "gemstone" means
> the pharo based gemstone image or the server.

#gemstone refers to the server "platform", which has among other
things a separate class library.

The GemTools, or client, can be loaded into any Pharo or Squeak image
and is not a platform on its own.

> However - what if Metacello gets ported. Do we have an "commercialSmalltalksCommon", "vastAndVW", ... or any other combination or do we have to maintain a spec for any each platform.

Squeak and Pharo still shares enough of a common base that you can
load in most things into any one of them without modification. Hence
#squeakCommon.

When Metacello gets ported, that question will be addressed :-)
--
Danie Roux *shuffle* Adore Unix - http://danieroux.com

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Comments on Metacello and ConfigurationOfExternalWebBrowser

Mariano Martinez Peck
In reply to this post by Torsten Bergmann


>#commonSqueak or something like that , which is for pharo and squeak (but
>not gemstone)

It's called "squeakCommon" and I have no idea if "gemstone" means
the pharo based gemstone image

Not, that's GemTools. Gemstone, is the Smalltalk gemstone.
 
or the server. Anything I see is that
FFI config also uses #common and developers for it are Esteban, you and
Dale.

I didn't do the FFI  ;)   In addition, if you see all the confs I announced I put everything in #pharo because I didn't test it in squeak. Actually, at the beginning, I put everything in #common  but then Dale suggest me to put them in #pharo if I only tested there, and that's what I did. If them someone test it in squeak or gemstone, and works ok, then we can put it as common.

But yes, everything that uses FFI, I think should be only in Squeak and Pharo as Gemstone does not support a "similar" FFI.
 

So you should know ;)

However - what if Metacello gets ported. Do we have an "commercialSmalltalksCommon", "vastAndVW", ... or any other
combination or do we have to maintain a spec for any each platform.

Would'nt it be better to have a spec and tell on which (multiple)
targets it is able to run.


+1   I totally agree. That solution doesn't scale. The ideal would be if for: can also an array, as load: do for example:

You can do   load: 'aGroup' or load: #('group1' 'group2'  )

So, maybe would be cool to do:

for: #('squeak' 'pharo'  .... )
 
what do you think?


Questions over Questions ...

Bye
T.




--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Comments on Metacello and ConfigurationOfExternalWebBrowser

Miguel Cobá
El mié, 13-01-2010 a las 16:20 +0100, Mariano Martinez Peck escribió:

>
>        
>         >#commonSqueak or something like that , which is for pharo and
>         squeak (but
>         >not gemstone)
>        
>         It's called "squeakCommon" and I have no idea if "gemstone"
>         means
>         the pharo based gemstone image
>
> Not, that's GemTools. Gemstone, is the Smalltalk gemstone.
>  
>         or the server. Anything I see is that
>         FFI config also uses #common and developers for it are
>         Esteban, you and
>         Dale.
>
> I didn't do the FFI  ;)   In addition, if you see all the confs I
> announced I put everything in #pharo because I didn't test it in
> squeak. Actually, at the beginning, I put everything in #common  but
> then Dale suggest me to put them in #pharo if I only tested there, and
> that's what I did. If them someone test it in squeak or gemstone, and
> works ok, then we can put it as common.
>

So if I only tested on Pharo I shouldn't use #common but #pharo and when
someone makes it work on Squeak the will change it to #commonSqueak and
when someone else verifies that works in every know platform he/she will
have to change it to #common?


> But yes, everything that uses FFI, I think should be only in Squeak
> and Pharo as Gemstone does not support a "similar" FFI.
>  
>        
>         So you should know ;)
>        
>         However - what if Metacello gets ported. Do we have an
>         "commercialSmalltalksCommon", "vastAndVW", ... or any other
>         combination or do we have to maintain a spec for any each
>         platform.
>        
>         Would'nt it be better to have a spec and tell on which
>         (multiple)
>         targets it is able to run.
>        
>
> +1   I totally agree. That solution doesn't scale. The ideal would be
> if for: can also an array, as load: do for example:
>
> You can do   load: 'aGroup' or load: #('group1' 'group2'  )
>
> So, maybe would be cool to do:
>
> for: #('squeak' 'pharo'  .... )
>  
> what do you think?
>
>
>
>         Questions over Questions ...
>        
>         Bye
>         T.
>        
>        
>        
>        
>         --
>         Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla
>         Firefox 3.5 -
>         sicherer, schneller und einfacher!
>         http://portal.gmx.net/de/go/chbrowser
>        
>         _______________________________________________
>         Pharo-project mailing list
>         [hidden email]
>         http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
Miguel Cobá
http://miguel.leugim.com.mx


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Comments on Metacello and ConfigurationOfExternalWebBrowser

Mariano Martinez Peck


2010/1/13 Miguel Enrique Cobá Martinez <[hidden email]>
El mié, 13-01-2010 a las 16:20 +0100, Mariano Martinez Peck escribió:
>
>
>         >#commonSqueak or something like that , which is for pharo and
>         squeak (but
>         >not gemstone)
>
>         It's called "squeakCommon" and I have no idea if "gemstone"
>         means
>         the pharo based gemstone image
>
> Not, that's GemTools. Gemstone, is the Smalltalk gemstone.
>
>         or the server. Anything I see is that
>         FFI config also uses #common and developers for it are
>         Esteban, you and
>         Dale.
>
> I didn't do the FFI  ;)   In addition, if you see all the confs I
> announced I put everything in #pharo because I didn't test it in
> squeak. Actually, at the beginning, I put everything in #common  but
> then Dale suggest me to put them in #pharo if I only tested there, and
> that's what I did. If them someone test it in squeak or gemstone, and
> works ok, then we can put it as common.
>

So if I only tested on Pharo I shouldn't use #common but #pharo and when
someone makes it work on Squeak the will change it to #commonSqueak and
when someone else verifies that works in every know platform he/she will
have to change it to #common?


At least that's what I understood. But maybe I am wrong.

Let's hear the opinion of our god Dale :)
 


> But yes, everything that uses FFI, I think should be only in Squeak
> and Pharo as Gemstone does not support a "similar" FFI.
>
>
>         So you should know ;)
>
>         However - what if Metacello gets ported. Do we have an
>         "commercialSmalltalksCommon", "vastAndVW", ... or any other
>         combination or do we have to maintain a spec for any each
>         platform.
>
>         Would'nt it be better to have a spec and tell on which
>         (multiple)
>         targets it is able to run.
>
>
> +1   I totally agree. That solution doesn't scale. The ideal would be
> if for: can also an array, as load: do for example:
>
> You can do   load: 'aGroup' or load: #('group1' 'group2'  )
>
> So, maybe would be cool to do:
>
> for: #('squeak' 'pharo'  .... )
>
> what do you think?
>
>
>
>         Questions over Questions ...
>
>         Bye
>         T.
>
>
>
>
>         --
>         Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla
>         Firefox 3.5 -
>         sicherer, schneller und einfacher!
>         http://portal.gmx.net/de/go/chbrowser
>
>         _______________________________________________
>         Pharo-project mailing list
>         [hidden email]
>         http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
Miguel Cobá
http://miguel.leugim.com.mx


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Comments on Metacello and ConfigurationOfExternalWebBrowser

Dale
In reply to this post by Torsten Bergmann

----- "Torsten Bergmann" <[hidden email]> wrote:


| >And the other thing is that you put everything under spec for:
| #common
|
| Depends on the meaning of common (only Pharo and other Squeak
| Distributions) or does it include other Smalltalks (VW, VAST) too?
| If Metacello gets ported then you are right.
|
| The tutorial only says:
|  "In addition to #common, there are pre-defined attributes for each of
| the
|   platforms upon which Metacello runs (#pharo, #squeak, #gemstone and
|   #squeakCommon)."
|
| However FFI (which is definitely limited to Squeak derivates)
| is also #common and I used it as a template.
|
| Maybe #squeakCommon is right for FFI and ExternalWebBrowser
| since this is what is used in the seaside, swazoo, ... configs.

Torsten,

My opinion on the platform attributes (#pharo, #squeak, #gemstone and #squeakCommon) is that attribute should reflect intention. If the code that is being configured is intended to run on all platforms, then using the #common attribute is fine.

In the MetacelloRepository, the primary motivation for the configurations is to specify the packages and versions that are to be loaded into the Pharo environment and reflects the decisions made by the Pharo developers. Therefore, it makes a lot of sense to use the #pharo platform for those configurations, because the target environment for the configuration _is_ Pharo.

The ConfigigurationOfOmniBrowser is an interesting example. OmniBrowser runs on GemStone, Pharo and Squeak, but the choice of which specific packages to load is likely to be different for each platform (for a variety of reasons). So I don't think there is an absolutely right answer to the question.

Besides, even though code is intended to run on all three platforms, over time changes may be made that make in non-portable to one or more platforms, so even with the best intentions...

Much like the underlying code base, if the configuration is actively used and maintained, each  configuration will eventually find a steady state answer that works.

Dale

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project