Client-server objects comunication

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

Client-server objects comunication

melkyades
Hi all, I want to know how people solves this problem in amber. I want an amber webapp with a supervising backend done in pharo. I have both amber and pharo working but I'm thinking the model. Has anybody solved this? how did you pass objects from one side to the other? Did you duplicate the model in each end and pass objects through json?

Cheers,
Javier

--
Lic. Javier Pimás
Ciudad de Buenos Aires

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Client-server objects comunication

Nicolas Petton
Hi!

This is indeed a very interested topic. What I did in SmalltalkHub is
use the REST package of Seaside, and communicate through JSON.

However, I do have a prototype (that I hope to release soon) that does
much more than that: It exposes JSON data and callbacks (very much like
Seaside) from the Pharo side and have a thin client in Amber that uses
proxies. This way to have a representation of you model in Amber without
writing a single line of code.

Nico

Javier Pimás writes:

> Hi all, I want to know how people solves this problem in amber. I want an
> amber webapp with a supervising backend done in pharo. I have both amber
> and pharo working but I'm thinking the model. Has anybody solved this? how
> did you pass objects from one side to the other? Did you duplicate the
> model in each end and pass objects through json?
>
> Cheers,
> Javier
>
> --
> Lic. Javier Pimás
> Ciudad de Buenos Aires


--
Nicolas Petton
http://nicolas-petton.fr

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.