On 2/22/12, Hilaire Fernandes <[email protected]> wrote:
> Le 22/02/2012 10:34, Janko Mivšek a écrit :
>> I agree completely that web based techologies are where we should go
>> because we have advantage here with Smalltalk while for any kind of GUI
>> we are off. Including for mobile apps. Making a web app and package it
>> as a standalone mobile app is much easier than making any decently
>> looking GUI app with Pharo. Adding only multitouch is not enough, entire
>> look&feel is what counts.
>
>
> Sometime I wonder if writting application like DrGeo could be
> reasonnably doeable with html5? Ideally I would like to write Smalltalk
> code transated to the host language plateform.

It would be worth giving it a try with a simple exercise...

with Amber Smalltalk
http://amber-lang.net/
and Morphic.js
http://astares.blogspot.com/2011/03/morphic-in-javascript.html

What is implemented so far
http://chirp.scratchr.org/dl/experimental/JsMorphic/morphic.txt
No idea if that offers enough for Dr. Geo....

> Whatever, html5 are really desktop application downloaded at runtime.
Yes there is now the option of 'one web page applications'.

This is done when going for an Amber solution actually.

There is some discussion on Morphic  on the Amber Smalltalk Google group;
in short

- you may add any JavaScript library to Amber.
- you may call any JavaScript code just by entering it between <  >
(JavaScript code as 'primitive calls')
- there are simple mapping rules so that you can call an existing
JavaScript API with Smalltalk expressions.


The new HTML5 <canvas> tag seems to offer a lot of possibilities.
http://www.canvasdemos.com/

No idea however how it compares in terms of performance with a direct
solution in Pharo.

> are still moving in circle since 40 years.
In which sense do you mean this?

The web browser is actually an universal client these days.

Please note that Amber is still quite early in development --- version 0.9.1
And you have to shift gears mentally to get used to the file based
approach (github). But actually it still feels like Smalltalk.

For doing some experiments and proof of concept Amber is good enough.
In case something does not work in Amber you can just do it in JavaScript.

Smalltalk is no longer a closed world but running on top of a
JavaScript engine where many external libraries are available.

I think this is a very interesting development.

--Hannes

>
> --
> Dr. Geo -- http://www.drgeo.eu
>
>
>

Reply via email to