Carlos, it'll be great to see that SPA example on your dev-util site. Looking forward to it!
On Mon, Jun 4, 2018, 5:05 AM Carlos Montero Canabal < carlosmonterocana...@gmail.com> wrote: > Some years ago I develop mi personal website (http://dev.carlosmontero.es > <http://dev.carlosmontero.es/>) as a SPA with tapestry using the zones > system (you can try navigate and check on Network dev tools the requests > and responses). I have to say that for a small project, It´s not so > difficult to implement, but for medium-big projects, I think that tapestry > isn´t the best approach for it. If I have some free time this week I hope > to upload a simple example to http://tapestry5.dev-util.com/ < > http://tapestry5.dev-util.com/> > > Regards > > Carlos Montero > > > > El 3/6/2018, a las 9:07, peter.sk...@ooom.at escribió: > > > > Hi Juan, > > > > unfortunatelly I do not have a self-contained example of this approach > that I could > > provide you now. Here: > > > > > http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/In-which-direction-is-Tapestry-heading-td5733862.html#a5733882 > > > > I posted some JS code which demonstrates, how you can use > tapestry-generated html zone > > content directly, without the dependency on html forms. > > At the same time, values, put in the JSON response object on the server > side, are > > available in the client response object, which you can use further to > customize the > > behavior. As Thiago remarked, you can use as many zones, as you need. Yo > can use them > > as a kind of templating, most of them leaving invisible in the beginning > and switching > > them on, depending on the site context. > > > > The advantage is the power of the component composition of tapestry an > its transparence. > > Otherwise you would need much more complex ecosystem to reach such a > expressiveness. > > > > If you decide to try to use the approach and remain stuck with some > problem, just let > > me know, I shall support you, as far as possible. > > > > With regards, Peter > > > >> Hi Peter, > >> > >> do you have any open source example? or maybe if you cannot show any > code, > >> a link to an explanation, or guidelines, or descrption of how you do it? > >> > >> Thank you. > >> > >> El mié., 30 may. 2018 18:58, <peter.sk...@ooom.at> escribió: > >> > >>> Hi, > >>> > >>> I have been experimenting with the combination tapestry + angular (1.x) > >>> few years ago, > >>> then used angular in two commercial projects. > >>> After this experience I believe, that it is, at least from my point of > >>> view, more > >>> efficient to use AMD (requireJS) and tapestry components in a way that > I > >>> have shortly > >>> described in February this year in an reaction to a question in this > >>> mailink list. > >>> Nicely structured apps can be built in this way, which are very dynamic > >>> and responsive > >>> as well. > >>> > >>> regards, Peter > >>> > >>>> Hi Jay, > >>>> > >>>> Which easier ways are you envisioning? > >>>> > >>>> Thanks, > >>>> > >>>> mrg > >>>> > >>>> > >>>> On Tue, May 29, 2018 at 8:56 PM Jay Ginete <killer.tila...@gmail.com> > >>> wrote: > >>>> > >>>>> I blogged about tapestry SPA back in 2013 to see how it works. I was > >>> using > >>>>> AngularJS (aka Angular1). I haven't updated it since I came to the > >>>>> conclusion there are easier ways to do SPAs. > >>>>> > >>>>> > >>>>> > >>> > https://killertilapia.blogspot.com/2013/06/resteasy-tapestry-with-angularjs.html > >>>>> > >>>>> On Wed, May 30, 2018 at 1:31 AM, Michael Gentry <blackn...@gmail.com > > > >>>>> wrote: > >>>>> > >>>>>> Tapestry RESTEasy is also quite nice: > >>>>>> > >>>>>> http://www.tynamo.org/tapestry-resteasy+guide/ > >>>>>> > >>>>>> > >>>>>> > >>>>>> On Fri, May 18, 2018 at 5:40 PM Thiago H. de Paula Figueiredo < > >>>>>> thiag...@gmail.com> wrote: > >>>>>> > >>>>>>> On Fri, May 18, 2018 at 6:36 PM, Juan <juanm.garrido....@gmail.com > > > >>>>>> wrote: > >>>>>>> > >>>>>>>> Hello, are there any good example of doing a single page > >>> application > >>>>>>> using > >>>>>>>> Tapestry ? > >>>>>>>> > >>>>>>> > >>>>>>> Hello! > >>>>>>> > >>>>>>> Although Tapestry isn't really built for single page applications, > >>> it > >>>>> can > >>>>>>> be used to build the server side of them. This section of the > >>>>>> documentation > >>>>>>> will tell you the easiest way of calling Java code (i.e. event > >>> handler > >>>>>>> methods) from JavaScript: > >>>>>>> > >>>>>>> https://tapestry.apache.org/ajax-and-zones.html# > >>>>>> AjaxandZones-Invokingserver-sideeventhandlermethodsfromJavaScript > >>>>>>> . > >>>>>>> > >>>>>>> Any further questions, ask away! :) > >>>>>>> > >>>>>>> -- > >>>>>>> Thiago > >>>>>>> > >>>>>> > >>>>> > >>>> > >>> > >>> > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > >>> For additional commands, e-mail: users-h...@tapestry.apache.org > >>> > >>> > >> > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > >