<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 19, 2013 at 4:24 PM, Lucas Holmquist <span dir="ltr"><<a href="mailto:lholmqui@redhat.com" target="_blank">lholmqui@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div class="im"><div>On Jul 19, 2013, at 6:41 AM, Sebastien Blanc <<a href="mailto:scm.blanc@gmail.com" target="_blank">scm.blanc@gmail.com</a>> wrote:</div>
<br><blockquote type="cite"><div dir="ltr">That is really cool !! <div>Just make sure we are in sync with this "old school" Java Sender and especially the fluent API <a href="https://github.com/aerogear/aerogear-unified-push-java-client" target="_blank">https://github.com/aerogear/aerogear-unified-push-java-client</a></div>
</div></blockquote><div><br></div></div>indeed.</div><div><br></div><div>but i don't think in node you would do something like this:</div><div><br></div><div><div>UnifiedMessage unifiedMessage = new UnifiedMessage.Builder()</div>
<div> .pushApplicationId("c7fc6525-5506-4ca9-9cf1-55cc261ddb9c")</div><div> .masterSecret("8b2f43a9-23c8-44fe-bee9-d6b0af9e316b")</div><div> .alert("Hello from Java Sender API, via JUnit")</div>
<div> .sound("default")</div><div> .build();</div><div><br></div><div><div>// send it out:</div><div> defaultJavaSender.broadcast(unifiedMessage);</div></div><div><br></div><div>
you would just pass an object</div><div><br></div><div><div>agSender.sender( url )</div><div><span style="white-space:pre-wrap">        </span>.broadcast( message, options )</div><div><span style="white-space:pre-wrap">        </span>.on( "success", function( response ) { … })</div>
<div><span style="white-space:pre-wrap">        </span>.on( "error", function( error ) { … } );</div></div></div><div><br></div><div><br></div><div>i think the "fluent" concept differs slightly in the 2 languages</div>
</div></blockquote><div><br></div><div>I like that event emit 'on' thing</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">
<div><div class="h5"><div><br></div><div><blockquote type="cite"><div dir="ltr">
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 19, 2013 at 3:25 PM, Matthias Wessendorf <span dir="ltr"><<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">kick ass!</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Fri, Jul 19, 2013 at 2:19 PM, Lucas Holmquist <span dir="ltr"><<a href="mailto:lholmqui@redhat.com" target="_blank">lholmqui@redhat.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div style="word-wrap:break-word">hello people,<div><br></div><div>so i started a node version of the push sender api</div>
<div><br></div><div>here is the JIRA for tracking </div><div><br></div><div><a href="https://issues.jboss.org/browse/AGPUSH-181" target="_blank">https://issues.jboss.org/browse/AGPUSH-181</a></div><div><br></div><div>and the link to my repo for those who are lazy( like me )</div>
<div><br></div><div><a href="https://github.com/lholmquist/aerogear-unified-push-node-client" title="Follow link" style="line-height:17px;color:rgb(50,108,166);font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif;text-decoration:none" target="_blank">https://github.com/lholmquist/aerogear-unified-push-node-client</a></div>
<div><br></div><div><br></div><div><br></div><div>I understand there is a PHP client started, </div><div><br></div><div>Tommy, could you post the link to the repo in this thread and create a JIRA to track if it's not there already</div>
</div><br></div></div><div>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">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></div></blockquote></div><span><font color="#888888"><br><br clear="all">
<div><br></div>-- <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>
</font></span></div>
<br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">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></div><br></div>
_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">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></blockquote>
</div><br></div></div></div><br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto: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></div><br><br clear="all"><div><br></div>-- <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>
</div></div>