...taking a (maybe) longer discussion to the ML...
I added this comment: "global config for all endpoints, hrm..."
Kris replied:
We can talk about that. It could be all endpoints, it could be only
specific endpoints that the server wants opened up to all clients, or
particular clients if we setup some API key or something to determine
what client is requesting resources. This probably needs more input
from others
....
....
so, yeah - being flexible here is a good thought!
-M
On Tue, Nov 27, 2012 at 5:12 AM, Kris Borchers <kris(a)redhat.com> wrote:
Hey folks,
In last week's meeting, I said that I would put together a write-up/proposal
for a method of automatically configuring client side connections to server
resources based on a config provided by the server when the app loads. The
gist below is the beginning of that proposal. It is very JavaScript biased
but I hope it starts a lot of conversation and contribution to fill out the
details for the iOS and Android side as well.
This started out as an idea to send config info in a header but after some
discussions, it was determined that a separate call to an endpoint would be
a better solution and would work easier with more server implementations as
well as for iOS and Android libraries.
https://gist.github.com/4152306
Please feel free to leave comments in the gist or send them to the list.
Thanks!
Kris
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev
--
Matthias Wessendorf
blog:
http://matthiaswessendorf.wordpress.com/
sessions:
http://www.slideshare.net/mwessendorf
twitter:
http://twitter.com/mwessendorf