I am the javascript coder of Webdeki.net (A Turkish social site) and i
began to implement the opensocial.

I like to share with you the steps i have done and i will do, for your
comments, critics and exchanging ideas.

I am using:
- Prototype 1.5.1.1 for ajax calls.
- Json as the data carrier.
- A simple C# page for gateway to retrieve data from db.
- XmlToJson class (#1) to let our c# developers comfortly use xml for
populating data.

A quick tutorial what i have done:
I have downloaded OpenSocial Container Sample 0.6 (#2), and done the
following things in the first step.
- Deleted all cookie-setters/getters and jquery stuff. Coz i won't
need them in production environment.
- StateFileParser.js: Implemented protoype and json support instead of
xml. Coz prototype is the best/fas and json is the best for using oop
like data. For example here is the latest status of person loader.

StateFileParser.loadPerson = function(person, container, isViewer,
isOwner) {
  var fields = {
    'id' : person.id,
    'name' : person.name,
    'thumbnailUrl' : person.thumbnail,
    'profileUrl' : person.profilUrl};

  var personTMP = container.newPerson(fields, isViewer, isOwner);
  return personTMP;
};

And then i cleaned up the samplecontainer html page to fit our site.
Now demo opensocial pages work good as expected.

More is coming soon... In the next steps, i will try to implement the
most needed functions. i will share with you sure :)

Any asp.net containers out there? Lets discuss what we have done so
far in here and share ideas.

Sorry for my pure english ;)

#1: http://www.phdcc.com/xml2json.htm
#2: http://kisaurl.com/?48M

Regards,
Mehmet Ecevit
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Implementing OpenSocial Containers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-container?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to