OpenSocial gives you several approaches for developing apps, depending on your project requirements. However, most social application designs have the same structure: application data, social data, and a template are combined to provide a rendered view to the end user.
In the OpenSocial ecosystem, these components can come from several places. Client-Side apps can use JavaScript to render data into a template. Social Networks can store both social and application data, and Server-Side applications can take advantage of databases and server-side frameworks to produce rendered output.Social Design Patterns
The documentation in this wiki has been arranged in a series of tracks, grouped by the style of development they describe. Depending on what type of application you want to write, one of the following patterns should fit your needs.
A social mashup is a lightweight OpenSocial application which runs inside of a social network. Because such applications do not rely on a server, they typically scale extremely well but may be limited in terms of data storage and/or processing. A social mashup is typically created using <u>HTML</u>, <u>JavaScript</u>, <u>CSS</u>, <u>OpenSocial Templates</u>, and/or <u>Flash</u>.
<table style="width: 100%">
<tr> |
!Icon-32-tutorial.png_! |
The Social Mashup Tutorial will walk you through creating a simple application from start to finish. |
To write your own mashup from scratch:
!Icon-32-gadget.png_! |
Start by reading the Gadget Developer's Guide to learn the basics about gadgets. |
!Icon-32-gadget.png_! |
Define application views to render in profile or canvas pages. |
!Icon-socialdata-32-fireworks.png_! |
Learn how to request social data from the site hosting your app. |
!Icon-32-restrpc.png_! |
Mash up other APIs in your gadget by requesting data from other sources on the web. |
!Icon-32-tags.png_! |
Reduce the amount of JavaScript you need to write by adding OpenSocial Tags and Templates. |
!Icon-32-restrpc.png_! |
Get global with Localization. |
</td> |
</table>
</div>
<div style="clear:right;">
A social application runs inside of a social network but relies on an external server for processing and rendering data. These applications can provide advanced functionality but may run into scaling problems when they become very popular. Social applications can be created using a variety of technologies, including <u>HTML</u>, <u>JavaScript</u>, <u>CSS</u>, <u>OpenSocial Templates</u>, <u>Flash</u>, <u>PHP</u>, <u>Python</u>, <u>Java</u>, <u>Perl</u>, <u>.NET</u>, or <u>Ruby</u>.
<table style="width: 100%">
<tr> |
!Icon-32-tutorial.png_! |
The Social Application Tutorial will walk you through creating a simple application from start to finish. |
To write your own application from scratch:
!Icon-32-gadget.png_! |
Start by reading the Gadget Developer's Guide to learn the basics about gadgets. |
!Icon-32-gadget.png_! |
Define application views to render in profile or canvas pages. |
!Icon-socialdata-32-fireworks.png_! |
Learn how to request social data from the site hosting your app. |
!Icon-32-restrpc.png_! |
Interact with your own server from the application. |
!Icon-32-restrpc.png_! |
Process data in the background by using an OpenSocial Client Library and 2-legged OAuth. |
!Icon-32-restrpc.png_! |
Optimize caching by using the Invalidation API. |
!Icon-oauth-32.png_! |
Secure your application by using OAuth to validate requests from the social network. |
!Icon-32-tags.png_! |
Add OpenSocial Tags and Templates as shortcuts for rendering social data. |
</td> |
</table>
</div>
<div style="clear: right;">
Social websites and social mobile applications run outside of social networks but consume social data through REST or RPC APIs. Users of these apps can grant access to their data using 3-legged OAuth without needing to add an application on a social network. This design pattern grants the most flexibility - almost all languages and platforms can take advantage of this data.
<table style="width: 100%">
<tr> |
!Icon-32-tutorial.png_! |
The Social Website Tutorial will walk you through creating a simple application from start to finish. |
To write your own website or mobile app from scratch:
!Icon-32-restrpc.png_! |
Read the OpenSocial REST Developer's Guide to learn how to access social features from your server. |
!Icon-32-restrpc.png_! |
Use an OpenSocial Client Library to speed up your development. |
!Icon-oauth-32.png_! |
Understand the difference between 2 and 3-legged OAuth and when to use each one. |
</td> |
</table>
</div>
<div style="clear: both;">
Here is a list of the articles available on this site, grouped by category.
</div>
<table class="wikitable" width="100%" style="text-align: left">
<tr> |
<tr> |
<tr> |
<tr>
<th colspan="2"><h3>Remote Content</h3></th> |
<tr>
<th colspan="2"><h3>Templates and OSML</h3></th> |
<tr>
<th colspan="2"><h3>Server-to-server Protocols</h3></th> |
<tr>
<th colspan="2"><h3>Best Practices</h3></th>
function.</td> |
<tr>
<th colspan="2"><h3>Tools and Utilities</h3></th> |
<tr>
<th colspan="2"><h3>Integrating OpenSocial with other services</h3></th> |
</table>
custom research papers
assignment writing
assignment help
</html>