Google Apps Provisioning API Version 2 - Adding an Owner to a Group
Another aspect of the Google Apps Provisioning API that I’ve discovered has to do with adding an owner to a group.
Another aspect of the Google Apps Provisioning API that I’ve discovered has to do with adding an owner to a group.
Google Apps Provisioning API is a set of API that allows other programs to access stored on Google’s servers. This is done via the Atom Publishing Protocol and HTTP requests (what the industry terms general as a RESTful interface).
The set of data that Google exposes via the Provisioning API include the user accounts and groups and other related data.
Google has improved its groups mechanism not too long ago. With this came improvements to other Google properties such as Google Docs where sharing documents with groups is possible. Previously, this was not available because the original concept of a group in Google Apps is nothing more than an email list where emailing to the “group” allowed users in the “group” to receive the email as well. But this was all that version 1 of “groups” (technically known as an email list) could do.
As any respectable JavaScript developer will know, JSON has become the de facto method of holding objects and passing arguments, even using it as a name-spacing mechanism.
Being the conscientious (and careless) programmer that I am, in my e-learning application that I’m developing at the moment, where I’m heavily using JSON, I made a conscious choice to always leave a comma at the end of the last member-value pair like so:
Finally, I've started on the follow-up post on Zend Framework Unit Testing (link to previous post)! After a whooping four months. I've been really busy - perhaps with the wrong reason. Anyway, this post shall follow up on the previous post by continuing on the AllTests.php file that was created at the end of the last post.
Readers who are first time users of Zend Framework should find this and the last post helpful in getting your feet wet with unit testing with Zend Test. The focus of this post is on preparing the setup and teardown phases of the testing sequence.
This post describes how to set up automated testing with Zend Test and PHPUnit. The latter is a unit testing package
for PHP applications done in PHP. I had searched for posts on how to
do this but there weren't any easy-to-understand or straightforward
examples to follow, so I decided to write one myself. This post will thus be written
in a way that newbies are able to get a test working straight away
by following the examples in this article. After reviewing
the length of the post, I decided to break this article into several
smaller ones that are much easier to digest. It'll be easier for you
to get to specific information with smaller articles rather than a
large one as well.
I hope this post will help some newbie down the road. Bear in mind that I'm no expert on this - only enough to get it working (and maybe to screw up, which I hope doesn't happen.) So if I make any mistakes, please point them out and I will make amendments where necessary. If you have something to ask or simply want to share, please comment at the end of the post. Hope you find the following useful!