Re: [aerogear-dev] Ajax usage (aerogear.ajax VS jquery.ajax)
by Kris Borchers
Sorry I didn't respond earlier. Locally, if I ever get this pushed, I have the contentType and dataType defaulted. The reasons I didn't use aerogear.ajax escape me right now and it seems like the right move but I will think on it some more to make sure and do some testing.
Sent from my Android phone using TouchDown (www.nitrodesk.com)
-----Original Message-----
From: Matthias Wessendorf [matzew(a)apache.org]
Received: Saturday, 06 Oct 2012, 5:48am
To: AeroGear Developer Mailing List [aerogear-dev(a)lists.jboss.org]
Subject: Re: [aerogear-dev] Ajax usage (aerogear.ajax VS jquery.ajax)
any comments ?
On Thu, Oct 4, 2012 at 12:19 PM, Matthias Wessendorf <matzew(a)apache.org> wrote:
> Hi,
>
> I was looking at the TODO app ([1]) and noticed that with the 'auth
> module' the APP DEV has to specify 'contentType' and 'dataType' for
> the login/register API calls. Not sure, but isn't that a bit
> cumbersome?
>
> This is not the case for any calls on the 'pipe' API, since it is
> using the aerogear.ajax util (see [2]), which applies the above
> 'contentType' and 'dataType' as default (see [3]), which is nice!
>
> The 'auth rest adapter', however is directly using the jQuery.ajax
> without applying the same defaults (see [4]). Perhaps we should apply
> the 'contentType' and 'dataType' default values for something like
> login or register as well?
>
> Thanks!
> Matthias
>
> [1] https://github.com/aerogear/TODO/blob/picketbox/client/src/main/webapp/js...
> [2] https://github.com/aerogear/aerogear-js/blob/master/src/pipeline/adapters...
> [3] https://github.com/aerogear/aerogear-js/blob/master/src/utilities/aerogea...
> [4] https://github.com/aerogear/aerogear-js/blob/master/src/authentication/ad...
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev
12 years, 2 months
AeroGear IOS-TODO app [update]
by Christos Vasilakis
Hi there,
just pushed in my latest changes. You can now add/edit/remove "Tasks" and associate "Projects/Tags" with the tasks. Functionality to add/edit/remove "tags" and "projects" is implemented as well.
For the non-mac user of yours, I have created a small screencast that demonstrates the functionality "in action" (I love screencasts!). You can find it here:
https://vimeo.com/50829021
Next in the pipeline
- filtering in the home screen (it won't take long now that the basic structure is up)
- ..and the about screen ;)
Comments and suggestions welcome!
Enjoy!
-
Christos
12 years, 2 months
Authentication endpoints
by Bruno Oliveira
Morning guys, I was talking with Matthias this morning about our authentication endpoints, he brought up a important concern.
Currently we have:
/auth/register, /auth/login, /auth/logout. The problem here is about 'register', a reserved word in some programming languages like Objective C.
Alternatives:
- Change 'register', to 'registration'
- Change the endpoints to signin, signout, signup.
Wdyt? Suggestions?
--
"The measure of a man is what he does with power" - Plato
-
@abstractj
-
Volenti Nihil Difficile
12 years, 2 months
Quoting threaded replies on the list
by Glen Daniels
Hey guys,
Suggestion for the list.
Quoting the entire context of a long thread in a reply can sometimes be
more confusing than useful. I think this can be seen in the current
"new android pipeline" thread.
Since we have archives of all list traffic, it's not so critically
important to include everything in a given message, and instead one can
trim the quoted portion to just the parts relevant to the reply you're
writing. At the least one can remove long strings of signatures at the end.
Thoughts?
Thanks,
--Glen
12 years, 2 months