Pharo conversion question?

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

Pharo conversion question?

John Chludzinski
I have a RootTask class with a class #initialize:

   initialize

      (WAAdmin register: self asApplicationAt: #MMA)
         addLibrary: CTLibrary;
         addLibrary: PTDevelopmentLibrary;
         addLibrary: SUComponentLibrary;
         addLibrary: SUDevelopmentLibrary;
         preferenceAt: #sessionClass put: MMASession.

This fails when installing into Pharo with #register:asApplicationAt: undefined and no apparent WAAdmin class equivalent.  What's the current Pharo equivalent for these?

---John

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Pharo conversion question?

Johan Brichau
Hi John,

WAAdmin is part of Seaside30.

Are you using Pharo's web image download? As far as I know it has  
Seaside2.8 installed, which had a different application registration  
mechanism.

On 24 Nov 2009, at 08:48, John Chludzinski wrote:

> I have a RootTask class with a class #initialize:
>
>    initialize
>
>       (WAAdmin register: self asApplicationAt: #MMA)
>          addLibrary: CTLibrary;
>          addLibrary: PTDevelopmentLibrary;
>         addLibrary: SUComponentLibrary;
>          addLibrary: SUDevelopmentLibrary;
>         preferenceAt: #sessionClass put: MMASession.
>
> This fails when installing into Pharo with  
> #register:asApplicationAt: undefined and no apparent WAAdmin class  
> equivalent.  What's the current Pharo equivalent for these?
>
> ---John
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

----------------------------
Johan Brichau
[hidden email]




_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Pharo conversion question?

John Chludzinski
In reply to this post by John Chludzinski
pharo1.0-10496-rc1web09.11.4.image

Plus I'm currently using Croquet/Cobalt with Seaside 2.9 (courtesy of Nikolay Suslov).

---John

On Tue, Nov 24, 2009 at 2:48 AM, John Chludzinski <[hidden email]> wrote:
I have a RootTask class with a class #initialize:

   initialize

      (WAAdmin register: self asApplicationAt: #MMA)
         addLibrary: CTLibrary;
         addLibrary: PTDevelopmentLibrary;
         addLibrary: SUComponentLibrary;
         addLibrary: SUDevelopmentLibrary;
         preferenceAt: #sessionClass put: MMASession.

This fails when installing into Pharo with #register:asApplicationAt: undefined and no apparent WAAdmin class equivalent.  What's the current Pharo equivalent for these?

---John


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Pharo conversion question?

John Chludzinski
Got it working but many of the libraries are absent: CTLibrary, PTDevelopmentLibrary, SUComponentLibrary, and SUDevelopmentLibrary don't exist and I have limited functionality.


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: Pharo conversion question?

Miguel Cobá
El mar, 24-11-2009 a las 13:27 -0500, John Chludzinski escribió:
> Got it working but many of the libraries are absent: CTLibrary,
> PTDevelopmentLibrary, SUComponentLibrary, and SUDevelopmentLibrary
> don't exist and I have limited functionality.
>

CT is from the comet package.
SU is from the seaside Scriptaculous package on the Seaside project.

Both of them on squeak source. Install them and try again

Cheers
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
--
Miguel Cobá
http://miguel.leugim.com.mx

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Pharo conversion question?

John Chludzinski
In reply to this post by John Chludzinski
> CT is from the comet package.
> SU is from the seaside Scriptaculous package on the Seaside project.
>
> Both of them on squeak source. Install them and try again

First, THANKS! 

I did that and have it working working pretty much as before.  It would be nice if these packages (Comet+Scriptaculous) were a standard part of the Pharo download? 

I'm just trying to determine the best platform (i.e., Pharo, Squeak + latest Seaside, Croquet + Seaside 2.9 à la Nikolay Suslov, etc.).  I actually went with Croquet to get their Jabber implementation.  It appears to be much more mature than what's available through SqueakMap or anything else online?

---John

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: Pharo conversion question?

Miguel Cobá
El mié, 25-11-2009 a las 11:36 -0500, John Chludzinski escribió:

> > CT is from the comet package.
> > SU is from the seaside Scriptaculous package on the Seaside project.
> >
>
> > Both of them on squeak source. Install them and try again
>
>
> First, THANKS!
>
>
> I did that and have it working working pretty much as before.  It
> would be nice if these packages (Comet+Scriptaculous) weree a standard
> part of the Pharo download?

The pharo distros (dev, web and ready-made) have a list of packages
included among them, Seaside and some other Seaside related. The list of
packages is documented in the wiki

http://code.google.com/p/pharo/wiki/Packages

it is not set in stone and you can propose new packages to be included.
Now for your deployment images you can create your own script to load
only the packages needed. Use the script in the zip image from the web
and dev image and adapt it to your needs.

Also, currently the community is waiting to the 1.0 version from
metacello to be released. This could be the path to release
configurations for packages and to install them on pharo and pharocore
images with just a single line (because each package will have its own
dependencies integrated, a la apt-get, from debian).

Meanwhile, you can use Damien scripts or try the Metacello from Dale
Henrichs.

Cheers

>
>
> I'm just trying to determine the best platform (i.e., Pharo, Squeak +
> latest Seaside, Croquet + Seaside 2.9 à la Nikolay Suslov, etc.).  I
> actually went with Croquet to get their Jabber implementation.  It
> appears to be much more mature than what's available through SqueakMap
> or anything else online?
>
>
> ---John
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
--
Miguel Cobá
http://miguel.leugim.com.mx

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: Pharo conversion question?

Johan Brichau
In reply to this post by John Chludzinski
John,

You can download the Pharo dev image (without seaside) and install  
seaside30 yourself by executing the following script (created by Lukas):

[ Gofer new
        squeaksource: 'Seaside30';
        addPackage: 'LoadOrderTests';
        load ]
                valueSupplyingAnswers: {
                        {'Load Seaside'. true}.
                        {'SqueakSource User Name'. ''}.
                        {'SqueakSource Password'. ''}.
                        {'Run tests'. false}.
                }

This will give you all packages you are mentioning, together with  
latest Seaside.

cheers
Johan

On 25 Nov 2009, at 17:36, John Chludzinski wrote:

> > CT is from the comet package.
> > SU is from the seaside Scriptaculous package on the Seaside project.
> >
> > Both of them on squeak source. Install them and try again
>
> First, THANKS!
>
> I did that and have it working working pretty much as before.  It  
> would be nice if these packages (Comet+Scriptaculous) were a  
> standard part of the Pharo download?
>
> I'm just trying to determine the best platform (i.e., Pharo, Squeak  
> + latest Seaside, Croquet + Seaside 2.9 à la Nikolay Suslov, etc.).  
> I actually went with Croquet to get their Jabber implementation.  It  
> appears to be much more mature than what's available through  
> SqueakMap or anything else online?
>
> ---John
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

----------------------------
Johan Brichau
[hidden email]




_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside