Can someone point me to a simple example of an Amber app talking to a JSON server API? I'm not sure how to do this. Thanks.
-- 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/d/optout. |
Am 15.12.2014 13:21, schrieb Richard
Eng:
So far the easiest entry into a really fully working example is the SmalltalkHub site it self. http://smalltalkhub.com/#!/~NicolasPetton/SmalltalkHub It help me a lot to get started with Amber,.... Sebastian -- 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/d/optout. |
In reply to this post by horrido
Use
PlatformInterface ajax: #{'url'->'foo'. 'otherOption'->'otherValue' ... } for get/post. You can specify json type (it is a wrapper around jQuery,ajax), so you can get decoded raw JS object. Look for #readJSObject: or something similar to convert this raw object to structure of arrays and dictionaries. Herby Richard Eng wrote: > Can someone point me to a *simple* example of an Amber app talking to a > JSON server API? I'm not sure how to do this. Thanks. > > -- > 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] > <mailto:[hidden email]>. > For more options, visit https://groups.google.com/d/optout. -- 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/d/optout. |
In reply to this post by Amber Smalltalk mailing list
I am unable to obtain the source code for SmalltalkHub. I'm not familiar with Monticello, and GitHub shows an empty repository. Can someone explain in simple terms how to get it? Thanks.
-- On Monday, 15 December 2014 16:38:54 UTC-5, HCSebastian wrote:
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/d/optout. |
Isn't the code on http://www.smalltalkhub.com itself?
-- Beware that STH is part amber and part pharo (for the backend) with a chunk on MongoDb. Phil -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/d/optout. |
Well, there's this page: http://www.smalltalkhub.com/#!/~NicolasPetton/SmalltalkHub
-- But I can't seem to get the code from Monticello. Like I said, I'm not familiar with Monticello, so I'm probably doing something wrong. On Friday, 19 December 2014 14:00:39 UTC-5, [hidden email] wrote:
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/d/optout. |
I think that Amber is served from inside a Pharo image where one installs the Monticello package. Phil Le 19 déc. 2014 20:23, "Richard Eng" <[hidden email]> a écrit :
--
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/d/optout. |
In reply to this post by horrido
Okay, I managed to get the source.
-- On Friday, 19 December 2014 14:23:11 UTC-5, Richard Eng wrote:
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/d/optout. |
Free forum by Nabble | Edit this page |