AT&T's new Cloud API Platform
16 Jan 2012
This is a guest post by Travis Spencer, a Software engineer specializing in federation, SSO, cloud computing, Web services, & enterprise architecture.
This week, AT&T announced the release of a new API platform that is made up of various components designed to simplify mobile Web application development and utilize resources only available through them. Specifically, the new offering is made up of the following:
- A number of RESTful cloud services such as device location, MMS, digital signing, and direct carrier billing
- An application marketplace and distribution channel
- A hosting environment for the HTML5 and server-side components used by applications running on the platform
- SDKs for common development environments such as C#, PHP, Ruby, and Java that can be used to call the API
- An HTML5 client-side SDK built atop Sencha Touch that abstract away the various mobile UI differences of Android, iOS, Blackberry and others while simultaneously simplifying the integration w/ their new cloud services
These are complimented by extensive samples, documentation, forums, on-line support, and a non-production environment where you can create an unlimited number of test applications.
After joining the developer program, you can use the portal to create applications. When you do so, you specify which services your application will use (as shown in the adjacent screenshot). If you are developing a mobile Web application w/ HTML5, the SDK for that platform greatly simplifies the process and reduces the effort required.
It does this using the architecture shown in the following figure. As depicted, an HTML5 application calls the new cloud API via a proxy (possibly hosted by AT&T). This intermediary hides the security of the API in a Sencha plug-in, simplifying the programming model clients must follow.
Once the application is done, you can deploy it into production. After doing so, you can monitor it in the same management portal. The available reports show you API response time, number of MMS and SMS messages sent, the number of errors encountered, the number of payments made, and more. This type of data will help measure ROI, optimize future releases, and better design other applications. Once the app is live, it can also be submitted to the AppCenter (though not through the portal). This widget presents applications to AT&T subscribers right on their devices, helping market your inventions.
After digging into and toying w/ this new platform for a bit, I have to say I’m impressed. Not every mobile network operator could pull this off, especially to the extent and quality AT&T has done. Their use of an industry standard like OAuth, a common architectural paradigm like REST, and an extension to a popular framework like Sencha is very modern and appealing, which is unexpected coming from an industry where the opposite is often the case. These things together w/ the fact that the API exposes resources only available from the carrier itself, certainly make the API worth checking out.