Upgrade from 6.0 to 6.1

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

Upgrade from 6.0 to 6.1

Herbert König
Hi,

in trying to port my app to 6.1 I noticed:

WebElement>>ajaxCallUrlParametersFor: has been dropped for
ajaxCallUrlParametersFor: anElement context: aContext

I filed in the old method and it works. Any comment or advice on this?

Otherwise everything seems to work fine and the previously reported
> Further: WebDelayedField>>scriptForPostAndUpdate:with: stopped working
> because in WebDelayedField>>addSetupScript self parameter returns nil.
> See halt.png
did not appear anymore, so let's say it was a glitch.

Congrats, that's a smooth transition!

Later this weekend I will repeat this with a Squeak trunk image. Maybe
even with a Cog VM.


Cheers,

Herbert                          mailto:[hidden email]

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade from 6.0 to 6.1

Janko Mivšek
Hi Herbert,

Just FYI, I'm at Nico in Montpellier on the way to ESUG in Barcelona, so
I'll be brief those days with a conversation.

On 11. 09. 2010 13:39, Herbert König wrote:
> Hi,
>
> in trying to port my app to 6.1 I noticed:
>
> WebElement>>ajaxCallUrlParametersFor: has been dropped for
> ajaxCallUrlParametersFor: anElement context: aContext
>
> I filed in the old method and it works. Any comment or advice on this?
Does this mean that new method don't work for you Can you try to port
your code to this new one?

> Otherwise everything seems to work fine and the previously reported
>> Further: WebDelayedField>>scriptForPostAndUpdate:with: stopped working
>> because in WebDelayedField>>addSetupScript self parameter returns nil.
>> See halt.png
> did not appear anymore, so let's say it was a glitch.
>
> Congrats, that's a smooth transition!


I'm glad to hear that!

> Later this weekend I will repeat this with a Squeak trunk image. Maybe
> even with a Cog VM.

Can you or someone try to prepare one-clicks for Squeak and Pharo too?
ith Cog it would be specially interesting.

It would also be nice to proofile the speed improvement with a Cog, See
AidaProfiling in Aida-Tests, done for VW and just open for Squeak and
Gemstone

Best regards
Janko

--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade from 6.0 to 6.1

Herbert König
Hi Janko,


JM> Just FYI, I'm at Nico in Montpellier on the way to ESUG in Barcelona, so
JM> I'll be brief those days with a conversation.

have a nice ESUG, sorry I can't be there. And take your time on
replying.


>> I filed in the old method and it works. Any comment or advice on this?
JM> Does this mean that new method don't work for you Can you try to port
JM> your code to this new one?

Since each WebelEment understands context, I did it.


>> Otherwise everything seems to work fine and the previously reported
>>> Further: WebDelayedField>>scriptForPostAndUpdate:with: stopped working
>>> because in WebDelayedField>>addSetupScript self parameter returns nil.
>>> See halt.png
>> did not appear anymore, so let's say it was a glitch.

No it was no glitch.
WebDelayedFild>>scriptForPostAndUpdate:with: has lost the ability to
deal with an uninitialized update ivar. This does not show up in the
examples because they all send scriptForPostAndUpdate: which
initializes update.

So for now I created an initialize method which initializes
update with self.


>> Later this weekend I will repeat this with a Squeak trunk image. Maybe
>> even with a Cog VM.

This made my application work on Trunk with COG VM and on Squeak 4.1.

AidaCharts also work unmodified, as far as I use them (Line charts and
point charts).

The trick on recent images is to not just drag and drop the mcz onto
the image (which gives a syntax error with Aida) but to load the mcz
via monticello.

JM> Can you or someone try to prepare one-clicks for Squeak and Pharo too?
JM> ith Cog it would be specially interesting.

I have no mac and no linux but I will prepare a windows Zip of a
Squeak trunk with a preloaded Aida6.1.

I think it should come with Aida started and a welcome workspace just
saying "point your browser to: localhost:8888"

Please send me any additional text you want to have in the welcome
workspace and then give me an ftp address where to upload it.

JM> It would also be nice to proofile the speed improvement with a Cog, See
JM> AidaProfiling in Aida-Tests, done for VW and just open for Squeak and
JM> Gemstone

This class does not come with Aida and no class containing profile or
bench in its name. But I'd be interested.

In my own app I don't have enough data in the new image to see any
difference. My app is all WebGrids and AidaCharts filled from user
data.

See my next post about this.

So to sum it up:
-All is well on 3.8, 4.1 and trunk (trunk with both VM's).
-It would be nice to have some initialization of WebDelayedField's
 update incorporated. Rationale: With onEnterTabulate one does not
 necessarily want a scriptForPostAndUpdate on every WebDelayedField.

Cheers,

Herbert                            mailto:[hidden email]

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade from 6.0 to 6.1

Herbert König
Hi,

forgot to add that there are no umlaut problems in recent Squeak
images.

Cheers,

Herbert                            mailto:[hidden email]

_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade from 6.0 to 6.1

Janko Mivšek
In reply to this post by Herbert König
Hi Herbert,

On 12. 09. 2010 13:24, Herbert König wrote:

>>> Otherwise everything seems to work fine and the previously reported
>>>> Further: WebDelayedField>>scriptForPostAndUpdate:with: stopped working
>>>> because in WebDelayedField>>addSetupScript self parameter returns nil.
>>>> See halt.png
>>> did not appear anymore, so let's say it was a glitch.
>
> No it was no glitch.
> WebDelayedFild>>scriptForPostAndUpdate:with: has lost the ability to
> deal with an uninitialized update ivar. This does not show up in the
> examples because they all send scriptForPostAndUpdate: which
> initializes update.
>
> So for now I created an initialize method which initializes
> update with self.

Because in Aida we prefer lazy over explicit initialization, I just
added your patch in WebDelayedField>>update method.

>> JM> It would also be nice to proofile the speed improvement with a Cog, See
> JM> AidaProfiling in Aida-Tests, done for VW and just open for Squeak and
> JM> Gemstone
>
> This class does not come with Aida and no class containing profile or
> bench in its name. But I'd be interested.

I put AidaProfiling in Squeak too, but only with VW profiling actually
implemented. If someone can implement Squeak profiling too....


--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida