Hello I'm facing a new project from scratch where i have the desired look and feel of the clint pages, done with html 5, js, bootstrap and jquery. They work as a simple page webapp.
Which is the best option... integration at the front end or at the backend? I began doing a web app as i always did, using tapestry as the web framework, and spring as the model framework, which offers the model services that i inject in tapestry pages. But i'm realizing that creating the html code from tapestry templates and making it work is not easy. How is the approach of use tapestry just to offer web services to the frontend? In this case tapestry just serves json objects? Then you dont need tapestry components and other features for anything , do you? I dont see the point of using tapestry in this case. And using tapestry pages instead of web services? Pages here are for nothing but to hold the event listener method that do the job by calling the model service, arent they? I dont see why to use tapestry as the web framework in this cases, as you just use it as a middleware to call model services. You dont use pages, components, zones, etc. Anyway what do you think is better, using tapestry generating the required front end code? Or using tapestry just to offer the services to the front end ? (either by web services or by page listeners). Which approach do you prefer? El 2/8/2016 18:39, "Thiago H de Paula Figueiredo" <thiag...@gmail.com> escribió: > On Tue, 02 Aug 2016 12:23:39 -0300, Qbyte Consulting > <[hidden email] <http:///user/SendEmail.jtp?type=node&node=5732808&i=0>> > wrote: > > > It would be cool if Tapestry components could be bound directly to > > RESTful resources in the client side instead of directly to page classes > > > for their data input and output. > > Why not just using pages as REST endpoints? I don't see why using > components for that would be better. > > > I have had problems migrating apps from T5.3.6 to T5.4 so not entirely > > happy. > > Which ones? > > -- > Thiago H. de Paula Figueiredo > Tapestry, Java and Hibernate consultant and developer > http://machina.com.br > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > <http:///user/SendEmail.jtp?type=node&node=5732808&i=1> > For additional commands, e-mail: [hidden email] > <http:///user/SendEmail.jtp?type=node&node=5732808&i=2> > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/Tapestry-vs-Spring-MVC-REST-Angular-tp5732799p5732808.html > To unsubscribe from Apache Tapestry Mailing List Archives, click here > <http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2375124&code=anVhbm0uZ2Fycmlkby5wYXpAZ21haWwuY29tfDIzNzUxMjR8LTU2NTA3OTQwOQ==> > . > NAML > <http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >