JavaScript API
Nowadays web client are much powerful and capable of handling much more complicated processes. These thing are much more realistic with the invent of the HTML5 and the era of modern browsers. StatusNet JavaScript API provides a complete Wrapper for it's API, hiding underline difficulties occurred when dealing with web-browsers and JavaScript. So Developers can focus on what they need to do rather than figuring out technical difficulties.
And this is a complete OpenSource implementation just like StatusNet itself. Initiated from the Google Summer of Code (GSoC) 2010 by Arunoda Susiripala.
Contents |
A Demo App - Stata
In order show you the capabilities of the StatusNet JavaScript API, we have developed a demo application which is another sleek User Interface for the Identi.ca.
You can try it from here http://stata.arunoda.com
It's completely written using the StatusNet JavaScript API and written using JavaScript,CSS and HTML. And completely runs on the Web Browser.
Audience
We've focus on both ,
- General EndUsers (like Bloggers, Web Admins, etc..)
- Skilled JavaScript Developers
right from the start of the designing.
So,
We provide General End Users a way of displaying StatusNet widgets on their personal Web sites, Blogs and Social Networking sites. And this requires no knowledge of any kind of JavaScript or similar technical skills. They just need to copy and paste some scripts to their web page. That's all. (You need to wait few days for this :) )
For Developers we provide a complete Wrapper of the StatusNet API on JavaScript. And they can use this wrapper API to build their business logic without thinking about any technical challenges to interact with a StatusNet instance. If the developer needs to do much deeper interaction, we have also exposed a low-level API of the StatusNet to the developer.
API includes
- Complete Wrapper for StatusNet API on JavaScript
- Connect with the API easily hiding underline details (such as OAuth)
- Event Handling System - Which used by the core and available for developers too.
- Easy to use Widgets (Not Implemented Yet)
How API works
- JavaScript API Heavily Depend on JQuery inorder to be used we've load jquery into our web page
- Then we've load the configured JavaScript API for your particular StatusNet instance.
- After the you've to configure with oauth credentials with the API
(for identi.ca you'can grab them here - http://identi.ca/settings/oauthapps
- That's all you've do and after that you can use the API