Very cool!<span></span><br><br>Den fredagen den 19:e juli 2013 skrev Bruno Oliveira:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Agreed +1<br>
<br>
Let's get rid of Javanisms into JS land :)<br>
<br>
Kris Borchers wrote:<br>
><br>
> On Jul 19, 2013, at 9:24 AM, Lucas Holmquist <<a href="javascript:;" onclick="_e(event, 'cvml', 'lholmqui@redhat.com')">lholmqui@redhat.com</a><br>
> <mailto:<a href="javascript:;" onclick="_e(event, 'cvml', 'lholmqui@redhat.com')">lholmqui@redhat.com</a>>> wrote:<br>
><br>
>><br>
>> On Jul 19, 2013, at 6:41 AM, Sebastien Blanc <<a href="javascript:;" onclick="_e(event, 'cvml', 'scm.blanc@gmail.com')">scm.blanc@gmail.com</a><br>
>> <mailto:<a href="javascript:;" onclick="_e(event, 'cvml', 'scm.blanc@gmail.com')">scm.blanc@gmail.com</a>>> wrote:<br>
>><br>
>>> That is really cool !!<br>
>>> Just make sure we are in sync with this "old school" Java Sender and<br>
>>> especially the fluent API<br>
>>> <a href="https://github.com/aerogear/aerogear-unified-push-java-client" target="_blank">https://github.com/aerogear/aerogear-unified-push-java-client</a><br>
>><br>
>> indeed.<br>
>><br>
>> but i don't think in node you would do something like this:<br>
>><br>
>> UnifiedMessage unifiedMessage = new UnifiedMessage.Builder()<br>
>> .pushApplicationId("c7fc6525-5506-4ca9-9cf1-55cc261ddb9c")<br>
>> .masterSecret("8b2f43a9-23c8-44fe-bee9-d6b0af9e316b")<br>
>> .alert("Hello from Java Sender API, via JUnit")<br>
>> .sound("default")<br>
>> .build();<br>
>><br>
>> // send it out:<br>
>> defaultJavaSender.broadcast(unifiedMessage);<br>
>><br>
>> you would just pass an object<br>
>><br>
>> agSender.sender( url )<br>
>> .broadcast( message, options )<br>
>> .on( "success", function( response ) { … })<br>
>> .on( "error", function( error ) { … } );<br>
>><br>
>><br>
>> i think the "fluent" concept differs slightly in the 2 languages<br>
><br>
> +9001 Your way is much better for the node world!<br>
>><br>
>>><br>
>>><br>
>>><br>
>>> On Fri, Jul 19, 2013 at 3:25 PM, Matthias Wessendorf<br>
>>> <<a href="javascript:;" onclick="_e(event, 'cvml', 'matzew@apache.org')">matzew@apache.org</a> <mailto:<a href="javascript:;" onclick="_e(event, 'cvml', 'matzew@apache.org')">matzew@apache.org</a>>> wrote:<br>
>>><br>
>>> kick ass!<br>
>>><br>
>>><br>
>>> On Fri, Jul 19, 2013 at 2:19 PM, Lucas Holmquist<br>
>>> <<a href="javascript:;" onclick="_e(event, 'cvml', 'lholmqui@redhat.com')">lholmqui@redhat.com</a> <mailto:<a href="javascript:;" onclick="_e(event, 'cvml', 'lholmqui@redhat.com')">lholmqui@redhat.com</a>>> wrote:<br>
>>><br>
>>> hello people,<br>
>>><br>
>>> so i started a node version of the push sender api<br>
>>><br>
>>> here is the JIRA for tracking<br>
>>><br>
>>> <a href="https://issues.jboss.org/browse/AGPUSH-181" target="_blank">https://issues.jboss.org/browse/AGPUSH-181</a><br>
>>><br>
>>> and the link to my repo for those who are lazy( like me )<br>
>>><br>
>>> <a href="https://github.com/lholmquist/aerogear-unified-push-node-client" target="_blank">https://github.com/lholmquist/aerogear-unified-push-node-client</a><br>
>>><br>
>>><br>
>>><br>
>>> I understand there is a PHP client started,<br>
>>><br>
>>> Tommy, could you post the link to the repo in this thread and<br>
>>> create a JIRA to track if it's not there already<br>
>>><br>
>>> _______________________________________________<br>
>>> aerogear-dev mailing list<br>
>>> <a href="javascript:;" onclick="_e(event, 'cvml', 'aerogear-dev@lists.jboss.org')">aerogear-dev@lists.jboss.org</a><br>
>>> <mailto:<a href="javascript:;" onclick="_e(event, 'cvml', 'aerogear-dev@lists.jboss.org')">aerogear-dev@lists.jboss.org</a>><br>
>>> <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Matthias Wessendorf<br>
>>><br>
>>> blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
>>> sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
>>> twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
>>><br>
>>> _______________________________________________<br>
>>> aerogear-dev mailing list<br>
>>> <a href="javascript:;" onclick="_e(event, 'cvml', 'aerogear-dev@lists.jboss.org')">aerogear-dev@lists.jboss.org</a> <mailto:<a href="javascript:;" onclick="_e(event, 'cvml', 'aerogear-dev@lists.jboss.org')">aerogear-dev@lists.jboss.org</a>><br>
>>> <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> aerogear-dev mailing list<br>
>>> <a href="javascript:;" onclick="_e(event, 'cvml', 'aerogear-dev@lists.jboss.org')">aerogear-dev@lists.jboss.org</a> <mailto:<a href="javascript:;" onclick="_e(event, 'cvml', 'aerogear-dev@lists.jboss.org')">aerogear-dev@lists.jboss.org</a>><br>
>>> <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
>><br>
>> _______________________________________________<br>
>> aerogear-dev mailing list<br>
>> <a href="javascript:;" onclick="_e(event, 'cvml', 'aerogear-dev@lists.jboss.org')">aerogear-dev@lists.jboss.org</a> <mailto:<a href="javascript:;" onclick="_e(event, 'cvml', 'aerogear-dev@lists.jboss.org')">aerogear-dev@lists.jboss.org</a>><br>
>> <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
><br>
> _______________________________________________<br>
> aerogear-dev mailing list<br>
> <a href="javascript:;" onclick="_e(event, 'cvml', 'aerogear-dev@lists.jboss.org')">aerogear-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<br>
--<br>
abstractj<br>
<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'aerogear-dev@lists.jboss.org')">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</blockquote>