Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
vijay raghuvanshi
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am new to social pogramming so I want to know the basic of this concept.
Thankyou!!!
 
Mark Hawker
Author
Ranch Hand
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
vijay raghuvanshi
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic