Hey John, Here<https://cwiki.apache.org/confluence/display/SHINDIG/How+use+shindig+out+of+the+box>is the wiki link.
That it's just a start, I'll try to write a simple container as a example, and create a maven archetype to generate the project structure. Maxwell On Wed, Dec 15, 2010 at 6:01 PM, John Hjelmstad <[email protected]> wrote: > You could write a larger one than that ;) > > On Wed, Dec 15, 2010 at 11:59 AM, Maxwell <[email protected]> wrote: > > > Could I write a tiny how-to in the shindig official wiki? > > > > Sent from my iPhone > > > > On 15/12/2010, at 17:46, John Hjelmstad <[email protected]> wrote: > > > > > Thanks Maxwell - that's my take as well. I don't want to introduce too > > much > > > crosstalk, but in my experience defining the desired end product is > most > > of > > > the challenge. I'm looking forward to reading about your experience. > > > > > > On Wed, Dec 15, 2010 at 11:43 AM, Maxwell <[email protected]> wrote: > > > > > >> I think he wants to create a web app and use shindig as dependence, > and > > >> include container features in app. > > >> > > >> I am doing this right now, it's not so easy, I write about that, when > I > > >> have all problems fixed. > > >> > > >> Sent from my iPhone > > >> > > >> On 15/12/2010, at 17:35, John Hjelmstad <[email protected]> wrote: > > >> > > >>> I guess the question then is, how are you defining "application"? :) > > Same > > >>> backend/server, same domain, same web app, all or combination of the > > >> above? > > >>> > > >>> On Thu, Dec 9, 2010 at 12:35 PM, Alvaro Garcia <[email protected]> > > >> wrote: > > >>> > > >>>> My main need is that shindig runs in the same application. The way > to > > >>>> implement this (get the code directly or use iframes) no matter. > > >>>> > > >>>> 2010/12/9 John Hjelmstad <[email protected]> > > >>>> > > >>>>> So are you looking to inline the resultant HTML or to instead be a > > >>>> typical > > >>>>> container, painting IFRAMEs that are rendered by Shindig? > > >>>>> > > >>>>> --j > > >>>>> > > >>>>> On Wed, Dec 8, 2010 at 4:46 PM, Alvaro Garcia <[email protected]> > > >>>> wrote: > > >>>>> > > >>>>>> Hi John! > > >>>>>> Thanks for your answer. > > >>>>>> > > >>>>>> I am using google web toolkit. I want to have user interface and > the > > >>>>> logic > > >>>>>> in the same application (using mpv). If I'm not mistaken, now I > > would > > >>>>> need > > >>>>>> to divide the application in two pieces: my application (the web > > page) > > >>>>> and > > >>>>>> shindig. My intention is to fusion them. > > >>>>>> > > >>>>>> The base application (done with gwt) is not very complex. The > tasks > > it > > >>>>> does > > >>>>>> are for example forms to create and login users. Now I want to > > extend > > >>>> the > > >>>>>> user iterface by using gadgets, and because of that I need a > gadget > > >>>>>> container. > > >>>>>> > > >>>>>> I don't know if I have explained well or if I have answered what > you > > >>>>> asked > > >>>>>> me. > > >>>>>> > > >>>>>> Thank you > > >>>>>> > > >>>>>> 2010/12/8 John Hjelmstad <[email protected]> > > >>>>>> > > >>>>>>> Hi Alvaro: > > >>>>>>> > > >>>>>>> What servlet container are you using? > > >>>>>>> > > >>>>>>> FWIW at Google we have a hard-coded servlet engine that's not > > Tomcat > > >>>> at > > >>>>>>> all. > > >>>>>>> We install servlets independently (engine is similar to > > >>>>>>> > > http://google-opensource.blogspot.com/2009/01/opengse-released.html > > >>>> ). > > >>>>>>> > > >>>>>>> In what environment are you planning to use this? While I suspect > > we > > >>>>>> could > > >>>>>>> get you running on another container (or even using hard-coded > > >>>> logic), > > >>>>>>> security issues may be present. > > >>>>>>> > > >>>>>>> --j > > >>>>>>> > > >>>>>>> On Wed, Dec 8, 2010 at 11:55 AM, Alvaro Garcia < > [email protected] > > > > > >>>>>> wrote: > > >>>>>>> > > >>>>>>>> Hello! > > >>>>>>>> The problem is that my application is not running on tomcat and > I > > >>>>> can't > > >>>>>>> to > > >>>>>>>> deploy it on my server (then I can't use > > shindig-server-2.0.0.war). > > >>>> I > > >>>>>> was > > >>>>>>>> looking for the way to render the gadgets through my web app > using > > >>>>>>> shindig > > >>>>>>>> (jars contained in shindig-2.0.0-java.tar.bz2). > > >>>>>>>> > > >>>>>>>> In the documentation pages (such as > > >>>>>>>> http://shindig.apache.org/developers/java/samples.html or > > >>>>>>>> http://shindig.apache.org/developers/java/index.html) I can't > be > > >>>>> able > > >>>>>> to > > >>>>>>>> find a solution to my problem. The project Socialsite ( > > >>>>>>>> http://java.net/projects/socialsite/sources) seems to be what I > > >>>> want > > >>>>>> but > > >>>>>>> I > > >>>>>>>> have the same problem as with the shindig-server.war: I can't > > found > > >>>>> any > > >>>>>>>> reference to shindig libraries in the source code. > > >>>>>>>> > > >>>>>>>> I do not know if it is very complex but I would like somthing > > like: > > >>>>>>>> > > >>>>>>>> textfile: gadget.xml ---> String ---> (shindig) ---> rendered > > >>>> gadget > > >>>>>>> (html > > >>>>>>>> code) > > >>>>>>>> > > >>>>>>>> String content = textFile.getContent(); > > >>>>>>>> String output = ShindigRenderer.render(content); > > >>>>>>>> //Print the output > > >>>>>>>> > > >>>>>>>> Maybe it's crazy and I did not understand anything about how > > >>>> shindig > > >>>>>>> works > > >>>>>>>> and > > >>>>>>>> so I wonder if shindig is what I need or I should look for > another > > >>>>>> tool. > > >>>>>>>> > > >>>>>>>> Thank you! > > >>>>>>>> > > >>>>>>> > > >>>>>> > > >>>>> > > >>>> > > >> > > >
