Seaside Book

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

Seaside Book

John Pfersich
I bought the PDF of the book "Dynamic Web Development with Seaside". I'm working through the book and there have been several inconsistencies between the book and the version of seaside that I downloaded (3.1). The latest problem is chapter 20 on "dynamic content with scriptaculous". Scriptaculous isn't loaded in the Seaside 3.1 image. 

Does anyone know what version of Seaside the book was written for? I think I should be using that version. 

Sent from my iPad

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

Re: Seaside Book

Johan Brichau-2
Dear John,

The book was written for version 3.0.
However, the problem you experience is not a version difference. The reason Scriptaculous is missing is because it is not loaded in your image.
In 3.1, the metacello configuration was changed to load only the Core packages and all additional packages need to be specified manually. For that, see the groups spec in the ConfigurationOfSeaside3.
I have now adapted the load instructions on the website [2] to mention this:

If you are a beginning user, you will want to play around with all packages. Therefore, use the following code to load all packages, like in the one-click distribution.
Gofer new
url:'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main';
package: 'ConfigurationOfSeaside3';
load.
((Smalltalk at: #ConfigurationOfSeaside3) project version: #stable) load: 'CI'.

In fact, there are very little differences between 3.0 and 3.1 and they are described in [1]. 
From the book’s point of view, they are mostly deprecated methods that have been removed and thus some examples may need to be reformulated.

Hope this helps
Johan


On 04 Sep 2015, at 22:31, John Pfersich <[hidden email]> wrote:

I bought the PDF of the book "Dynamic Web Development with Seaside". I'm working through the book and there have been several inconsistencies between the book and the version of seaside that I downloaded (3.1). The latest problem is chapter 20 on "dynamic content with scriptaculous". Scriptaculous isn't loaded in the Seaside 3.1 image. 

Does anyone know what version of Seaside the book was written for? I think I should be using that version. 

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


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

Re: Seaside Book

John Pfersich
That helps a lot. Thanks for updating the web page. I found a reference to 3.0 on page 265 so I downloaded the 3.0 one click; maybe I'll try the gofer.

Sent from my iPad

On Sep 4, 2015, at 22:27, Johan Brichau <[hidden email]> wrote:

Dear John,

The book was written for version 3.0.
However, the problem you experience is not a version difference. The reason Scriptaculous is missing is because it is not loaded in your image.
In 3.1, the metacello configuration was changed to load only the Core packages and all additional packages need to be specified manually. For that, see the groups spec in the ConfigurationOfSeaside3.
I have now adapted the load instructions on the website [2] to mention this:

If you are a beginning user, you will want to play around with all packages. Therefore, use the following code to load all packages, like in the one-click distribution.
Gofer new
url:'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main';
package: 'ConfigurationOfSeaside3';
load.
((Smalltalk at: #ConfigurationOfSeaside3) project version: #stable) load: 'CI'.

In fact, there are very little differences between 3.0 and 3.1 and they are described in [1]. 
From the book’s point of view, they are mostly deprecated methods that have been removed and thus some examples may need to be reformulated.

Hope this helps
Johan


On 04 Sep 2015, at 22:31, John Pfersich <[hidden email]> wrote:

I bought the PDF of the book "Dynamic Web Development with Seaside". I'm working through the book and there have been several inconsistencies between the book and the version of seaside that I downloaded (3.1). The latest problem is chapter 20 on "dynamic content with scriptaculous". Scriptaculous isn't loaded in the Seaside 3.1 image. 

Does anyone know what version of Seaside the book was written for? I think I should be using that version. 

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

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

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

Re: Seaside Book

Johan Brichau-2
Mind that Scriptaculous is an outdated javascript library.
You will want to use the jQuery library instead.

cheers
Johan

On 05 Sep 2015, at 09:14, John Pfersich <[hidden email]> wrote:

That helps a lot. Thanks for updating the web page. I found a reference to 3.0 on page 265 so I downloaded the 3.0 one click; maybe I'll try the gofer.

Sent from my iPad

On Sep 4, 2015, at 22:27, Johan Brichau <[hidden email]> wrote:

Dear John,

The book was written for version 3.0.
However, the problem you experience is not a version difference. The reason Scriptaculous is missing is because it is not loaded in your image.
In 3.1, the metacello configuration was changed to load only the Core packages and all additional packages need to be specified manually. For that, see the groups spec in the ConfigurationOfSeaside3.
I have now adapted the load instructions on the website [2] to mention this:

If you are a beginning user, you will want to play around with all packages. Therefore, use the following code to load all packages, like in the one-click distribution.
Gofer new
url:'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main';
package: 'ConfigurationOfSeaside3';
load.
((Smalltalk at: #ConfigurationOfSeaside3) project version: #stable) load: 'CI'.

In fact, there are very little differences between 3.0 and 3.1 and they are described in [1]. 
From the book’s point of view, they are mostly deprecated methods that have been removed and thus some examples may need to be reformulated.

Hope this helps
Johan


On 04 Sep 2015, at 22:31, John Pfersich <[hidden email]> wrote:

I bought the PDF of the book "Dynamic Web Development with Seaside". I'm working through the book and there have been several inconsistencies between the book and the version of seaside that I downloaded (3.1). The latest problem is chapter 20 on "dynamic content with scriptaculous". Scriptaculous isn't loaded in the Seaside 3.1 image. 

Does anyone know what version of Seaside the book was written for? I think I should be using that version. 

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

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


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

Re: Seaside Book

John Pfersich
Thanks for the tip.

Sent from my iPad

On Sep 5, 2015, at 02:48, Johan Brichau <[hidden email]> wrote:

Mind that Scriptaculous is an outdated javascript library.
You will want to use the jQuery library instead.

cheers
Johan

On 05 Sep 2015, at 09:14, John Pfersich <[hidden email]> wrote:

That helps a lot. Thanks for updating the web page. I found a reference to 3.0 on page 265 so I downloaded the 3.0 one click; maybe I'll try the gofer.

Sent from my iPad

On Sep 4, 2015, at 22:27, Johan Brichau <[hidden email]> wrote:

Dear John,

The book was written for version 3.0.
However, the problem you experience is not a version difference. The reason Scriptaculous is missing is because it is not loaded in your image.
In 3.1, the metacello configuration was changed to load only the Core packages and all additional packages need to be specified manually. For that, see the groups spec in the ConfigurationOfSeaside3.
I have now adapted the load instructions on the website [2] to mention this:

If you are a beginning user, you will want to play around with all packages. Therefore, use the following code to load all packages, like in the one-click distribution.
Gofer new
url:'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main';
package: 'ConfigurationOfSeaside3';
load.
((Smalltalk at: #ConfigurationOfSeaside3) project version: #stable) load: 'CI'.

In fact, there are very little differences between 3.0 and 3.1 and they are described in [1]. 
From the book’s point of view, they are mostly deprecated methods that have been removed and thus some examples may need to be reformulated.

Hope this helps
Johan


On 04 Sep 2015, at 22:31, John Pfersich <[hidden email]> wrote:

I bought the PDF of the book "Dynamic Web Development with Seaside". I'm working through the book and there have been several inconsistencies between the book and the version of seaside that I downloaded (3.1). The latest problem is chapter 20 on "dynamic content with scriptaculous". Scriptaculous isn't loaded in the Seaside 3.1 image. 

Does anyone know what version of Seaside the book was written for? I think I should be using that version. 

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

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

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

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