[Glass] Jade - Hard Break, Soft Break, Interactive programming with Zinc

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

[Glass] Jade - Hard Break, Soft Break, Interactive programming with Zinc

marten
Ok, the Zinc server is running, the first REST requests could be
answered - but there are still some questions left open:

Very often my Jade IDE simply does not resüponse any more and I have to
kill it regularly :-(((( This means often: restart, reload and retype
source code again.

Some question regarding this process:

-> when working with Zinc servers: I was told to do "Commit and Sleep"
from Jade - otherwise the server code in the GEM (of Jade) will not run.

-> How do I reenter again ? Hard break, soft break (what's the
difference) - it very often means, that the Zinc server is not
responding any more (when I do "Commit and Sleep" again).

Therefore: How can I do interactive (Smalltalk typically programming)
when doing Zinc server programming ?

Marten

--
Marten Feldtmann
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Jade - Hard Break, Soft Break, Interactive programming with Zinc

James Foster-9
Hi Marten,

It would be best to use two Jade sessions (even maybe launch Jade twice) and have the web server in one session and your development in the other session. Each time you commit your development work it will be available to the web server when the next request arrives.

In theory, a soft break can be trapped (using #’on:do:’), while a hard break cannot be trapped. I’m having a difficulty at the moment constructing an example.

James

On Nov 28, 2013, at 6:47 PM, [hidden email] wrote:

> Ok, the Zinc server is running, the first REST requests could be
> answered - but there are still some questions left open:
>
> Very often my Jade IDE simply does not resüponse any more and I have to
> kill it regularly :-(((( This means often: restart, reload and retype
> source code again.
>
> Some question regarding this process:
>
> -> when working with Zinc servers: I was told to do "Commit and Sleep"
> from Jade - otherwise the server code in the GEM (of Jade) will not run.
>
> -> How do I reenter again ? Hard break, soft break (what's the
> difference) - it very often means, that the Zinc server is not
> responding any more (when I do "Commit and Sleep" again).
>
> Therefore: How can I do interactive (Smalltalk typically programming)
> when doing Zinc server programming ?
>
> Marten
>
> --
> Marten Feldtmann
> _______________________________________________
> Glass mailing list
> [hidden email]
> http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass