Hey Amit,

I'm affraid you are somewhat on the wrong path here, OpenSocial works quite
differently from that.

An gadget contains only HTML, JS and CSS code, and no php or any other
programming language type stuff... However you can of course call your own
server from JavaScript using gadgets.io.makeRequest, and what language you
use on your server is completely up to you.

The best way to get started with this is to walk through the tutorial at:
http://code.google.com/apis/opensocial/articles/tutorial/tutorial-0.8.html

at the end of that all will be clear :)

Hope that helps!

   -- Chris



On Tue, Dec 23, 2008 at 10:06 PM, Amit Gupta <amitkgupt...@gmail.com> wrote:

>
> OpenSoical is launched in PHP also. But I am confused about how to
> write Orkut Application in PHP.
>
> Do we include php tags <? ?> in the xml file that we use for
> opensocial applications.
>
> or is there any other way out?
>
> Regards,
> Amit
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" group.
To post to this group, send email to opensocial-api@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to