[aerogear-dev] PHP SDK Updates

Tommy McCarthy tomccart at redhat.com
Tue Aug 13 16:06:59 EDT 2013


Hello everyone!
I know you're all excited about the PHP SDK (I saw the slide on the webinar!), and I wanted to share with you all some updates and solicit feedback.

The code is available here: https://github.com/tmccarthy9/aerogear-unified-push-php-client

With my latest commits since the first push, I have added a few things. There is now a /webapp/ directory which has a nifty HTML form that allows for broadcast or selected send (showing only the necessary options depending upon user selection.) To interface with that is processForm.php, which parses the HTML post data and sends it into the SenderClient object. It then displays the HTTP response and body. This combination was suggested by Sebastien to show off how it can be used in "the real world".

I've also cleaned up the code a bit in all my files to conform a bit more.

There's another specific question I'd like to address the mailing list. Sebastien mentioned utilizing a Builder design pattern for the SenderClient, ala the Java client we currently have. I wanted to see whether you could give me some advice on how to go about doing this, if it's necessary or helpful.

Tommy


More information about the aerogear-dev mailing list