Please reply

On Jun 24, 1:35 pm, amit <[EMAIL PROTECTED]> wrote:
> Hi Rohit,
>
> Thanks for your prompt responses. It really helps & encourages me.
>
> I have some more doubts.
>
> 1. By distributing the code in different js and including it in
> Content Portion of XML file solves the problem of Core Code.
>     But what about the User Interface part?
>     As per your answers & opensocial tutorials what i understand is
> that "we have to manage all the UI related
>     things(different pages in this case) in a single XML file." right?
>     If i am right and if you know any better technique to resolve this
> UI issue then please share it with me.
> 2. Where to store the different javascript files? At my server?
>     Is it required to store my main gadget (.xml file) and all the .js
> files at same location?
> 3. I have followed the steps given in 
> thehttp://chrisschalk.com/shindig_docs/io/shindig-io.html
> What i did was:
>         -> Installed JDK
>         -> We are using TortoiseSVN so i have created one directory for open
> social project and did a fresh checkout
>            successfully.
>         -> Executed mvn and mvn-P run commands...it shows that server is
> running.
>         -> And finally 
> visitedhttp://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html
> and it also run
>            successfully.
>
> Now the problem is..i dont understand the way all these things are
> working...and frankly speaking i dont want to...what i want is just to
> test my app locally.
> There are various directories in the checked out project
> like...config,etc,features,java,javascript,php,site...
> Now what should i do next to start developing sample app. and run in
> local?
> Where to keep my app related files like gadget (.xml file), .js
> files . so that i can access it usinghttp://localhost:8080/....
>
> Thanks
> Amit
>
> On Jun 13, 4:46 pm, "Rohit Ghatol" <[EMAIL PROTECTED]> wrote:
>
> > Hi Amit,
> > These are good questions :).
> > First of when I say develop an OpenSocial App as an XML. Its like saying the
> > XML is the file which you would upload on a Container (say Orkut for
> > example).
> > Yes, for a big application, it makes sense to distribute the code in
> > different logical files, for better readability and design. You need to do
> > this, along with this, you will include the references of all these files in
> > your XML file.
>
> > Remember the gadget XML file has a Content Portion, which is much like an
> > HTML page with JavaScript. If you have distributed your code in different js
> > files, you need to include them in the Content Portion of the XML file.
>
> > Second, testing in your own environment, this is always required. You can
> > use Apache Shindig to test your code.
> > 1. Checkout, build and deploy Apache Shindig
> > 2. Create a State XML file. In a state xml file, you declare your people
> > network for that local shindig deployment (who is friend of who), Activity
> > stream, Persistence Store
> > 3. Run your app on the samplecontainer page
>
> > Here is a good documentation on how to setup shindig and a video also (just
> > jump to where chris schalk talks).
> > 1.http://chrisschalk.com/shindig_docs/io/shindig-io.html-Only read lab1
> > 2.http://youtube.com/watch?v=Ila8j1cvnWk-Go to time 36 mins
>
> > Thanks,
> > Rohit
>
> > Google Developer Programs
>
> > Meet OpenSocial developers
> > irc://irc.freenode.net/opensocial
>
> > On Fri, Jun 13, 2008 at 4:21 PM, amit <[EMAIL PROTECTED]> wrote:
>
> > > Hi Rohit,
>
> > > Thank you very much for your quick and very much valuable reply.
> > > Sorry for the delay from my side.
>
> > > Your reply cleared so many things but still i have some more doubts.
>
> > > > 2. Also, you can develop the entire application in your environment and
> > > > upload the final Gadget XML file to Orkut Sandbox for development and
> > > Orkut
> > > > Application directory for production.
>
> > > My question is, normally developing any application requires to write
> > > code in many different files and to create different pages. But here
> > > it looks like there is only one XML file in which we have to write
> > > code, so i am wondering how i will develop & maintain a big
> > > application in just a single file.(actually i am trying to do
> > > feasibility study of the app i am gng to develop)
> > > And as you said "you can develop the entire application in your
> > > environment", so how OpenSocial API will work in my local envirement &
> > > how i will test my code in local environment because the code we are
> > > writing is in XML file so where to run that XML file.
>
> > > Thanks
> > > Amit
>
> > > On May 26, 10:17 pm, "Rohit Ghatol" <[EMAIL PROTECTED]>
> > > wrote:
> > > > Hi Amit,
> > > > I will try my best to answer your question in your context.
>
> > > > 1. Yes it is possible that when a  user adds your opensocial 
> > > > application,
> > > > the user also becomes a member of your website. You can use the Orkut's
> > > UID
> > > > as the user id and use Signed requests (gadgets.io.makeRequest) to trust
> > > > Orkut. This way without any need of user registration, you can have user
> > > > registered at your server.
>
> > > > 2. Also, you can develop the entire application in your environment and
> > > > upload the final Gadget XML file to Orkut Sandbox for development and
> > > Orkut
> > > > Application directory for production.
>
> > > > Here is the general steps to do this
> > > > 1. Write OpenSocial App using OpenSocial APIs. The OpenSocial APIs help
> > > you
> > > >     a. Get Viewer (one who is viewing the application), Owner ( the one
> > > who
> > > > has installed the application) and their friends
> > > >     b. Store Information in PersonApp Store in the container. Orkut
> > > > currently supports 10kb of information to be  stored per user per
> > > > application
> > > >     c. Post Activities (Orkut Updates), so other users can know what
> > > > activities a user is doing through their application.
> > > >    d. Send Message to other users and Send Application Install Requests
> > > to
> > > > other users for viral spread of the application. (There is ofcourse a
> > > limit
> > > > on this to avoid spamming. Currently Orkut supports Send Message).
>
> > > > 2.  Communicate with your server (asp.net) using gadgets.io.makeRequest.
> > > You
> > > > can communicate using JSON (if you like).
>
> > > > Here are the links to the documentation
> > > > 1. API Reference -
> > >http://code.google.com/apis/opensocial/docs/0.7/reference/
> > > > 2. Info about all major OpenSocial Containers -
> > >http://code.google.com/apis/opensocial/gettingstarted.html
> > > > 3. Developer Guide -
> > >http://code.google.com/apis/opensocial/docs/0.7/devguide.html
> > > > 4. Tutorial -
> > >http://code.google.com/apis/opensocial/articles/tutorial/tutorial-0.7...
> > > > 5. All Major articles -
> > >http://code.google.com/apis/opensocial/articles/tutorial/tutorial-0.7...
> > > > 6. OpenSocial Wiki -
> > >http://code.google.com/p/opensocial-resources/wiki/CodeSnippets
>
> > > > Hope this helps you.
> > > > Thanks,
> > > > Rohit
>
> > > > Google Developer Programs
>
> > > > Join us at Google's biggest developer event of the year
> > > > May 28-29, San Franciscohttp://code.google.com/events/io
>
> > > > On Sat, May 24, 2008 at 3:55 AM, amit <[EMAIL PROTECTED]> wrote:
>
> > > > > Hello everybody,
>
> > > > > After reading opensocial apis and gadgets apis i have some doubts.
>
> > > > > 1.First of all, for me, the main purpose behind the opensocial apps
> > > > > development is to increase the user base of my product(desktop
> > > > > application). I have one website through which users can purchase and
> > > > > download the product.
>
> > > > > And i want to develop opensocial app so that whenever user adds my
> > > > > application, that user automatically will be added into my database
> > > > > and become the user of my site.
>
> > > > > Is it possible to do such kind of thing?
> > > > > If yes, then please guide me how to implement it.
>
> > > > > 2. Can i develop the whole application at my local environment and
> > > > > upload it to orkut? if yes then how the API's will work at my local
> > > > > environment?
>
> > > > > 3.Google Gadgets Editor (GGE) (http://code.google.com/apis/gadgets/
> > > > > docs/gs.html#Scratchpad<
> > >http://code.google.com/apis/gadgets/docs/gs.html#Scratchpad>)
> > > > >  is the only place where i can write the
> > > > > code?
> > > > >  Because to develop big application it is very difficult to develop
> > > > > in such a small area.
> > > > > 4.Is it possible to store some information to my server? How to do
> > > > > that? What type of development needed at my server side(my website is
> > > > > developed in asp.net)?
>
> > > > > Any help will be appriciated
> > > > > Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" 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-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to