aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes What is Social Programming and how it is related to Html and JavaScript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "What is Social Programming and how it is related to Html and JavaScript" Watch "What is Social Programming and how it is related to Html and JavaScript" New topic
Author

What is Social Programming and how it is related to Html and JavaScript

vijay raghuvanshi
Greenhorn

Joined: Nov 05, 2008
Posts: 5
Hi all,
I am new to social pogramming so I want to know the basic of this concept.
Thankyou!!!
Mark Hawker
Author
Ranch Hand

Joined: Apr 07, 2010
Posts: 31
Thanks for the question, Vijay.

To me, social programming is about bringing together profiles, streams and relationships from multiple social networking sites such as Twitter and Facebook, and making them more portable across the Web. Instead of creating your own login and authentication mechanisms on your web sites you can utilise Facebook Connect to authenticate users, for example, or to post status updates dynamically to their Twitter stream. Social programming prevents users from having to create "yet another profile" on every new site that they join.

Taking Facebook as an example, they have a strong development platform which enables developers to create applications within the Facebook environment. This has evolved into a relatively new service called Facebook Connect with allows users to sign in to a web site using their Facebook account details to post comments, share links and many other Facebook features such as updating their status.

Facebook Connect utilises a JavaScript client library which handles user authentication and many other Facebook functions. The same is true with Google Friend Connect which lets you add "widgets" to a site with only a few lines of JavaScript. An example would be the book's microblog.

This JavaScript functionality is only the start, and is extended through server-side libraries which are discussed in the book.


Mark Hawker

Author of the upcoming book entitled "The Developer's Guide to Social Programming" available to pre-order on Amazon.
vijay raghuvanshi
Greenhorn

Joined: Nov 05, 2008
Posts: 5
Thanks Mark..
I am satisfy with your answer. I think book going to be very interesting and I am looking forward it.
I have another query..

As you gave the facebook example for user authentication which use a javascript library.
My question is do it require any server side support or javascript can handle i alone.

Thankyou!!
Mark Hawker
Author
Ranch Hand

Joined: Apr 07, 2010
Posts: 31
No problem, Vijay.

vijay raghuvanshi wrote:My question is do it require any server side support or javascript can handle i alone.

For Facebook Connect and Google Friend Connect you do not have to use any server-side technology at all. This will allow you to create simple application and web sites which use core functionalities such as signing in/out and utilising elements of the Facebook API.

For more complex applications I'd recommend combining the JavaScript libraries with server-side code which then allows you to focus on Twitter, too.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is Social Programming and how it is related to Html and JavaScript