tag:blogger.com,1999:blog-4110180.post4336028112158349861..comments2025-07-21T06:33:41.604-07:00Comments on Tapestry Central: Announcing Tapestry 5.2Howard Lewis Shiphttp://www.blogger.com/profile/04486596490758986709noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-4110180.post-55258676104568113892011-01-04T07:47:04.819-08:002011-01-04T07:47:04.819-08:00I am currently finishing to read the Alexander Kol...I am currently finishing to read the Alexander Kolesnikov&#39;s book &quot;Tapestry 5&quot;. I have yet to read the final chapter 8 (about creating custom components) to finish it.<br />It leads me to caracterize Tapestry according the following idea:<br />(1) DDD: Tapestry does not separate Form and Action into different classes like Struts<br />(2) page-centric<br />(3) convention over configuration: for binding purposes<br />(4) code what you need: one needs to code, for example, an onActive() method in a POJO if and only if one needs to catch the &#39;activate&#39; event.<br />Well, Tapestry looks like definitely more high-level than Struts.<br /><br />Point (4) is about Tapestry easy-to-use testimonial, and puts me to think Tapestry much more as a DSL than a framework (good point).<br /> <br />But I have been disappointed to learn an event handler could not return an instance of a POJO to go to the next page. As a consequence (!), it looks like unfortunately that data are transmitted between different POJOs through a persistence mechanism on top of the http session (as far as I have read correctly the book). <br />(a) after having reading this book, I just remember the http session looks like the main way to pass data between POJO: it looks like there is no use of the lightweight setAttribute() method on HttpServletRequest object. So, it looks like Tapestry has much more impact on the http session, and challenge more the use of this session, than, let&#39;s say, Struts.<br /><br />And, while the above book has been the single (?) english book for Tapestry during a long time, and while you have been a reviewer, I just want to point some facts that have impacts about Tapestry&#39;s evaluation:<br />(b) there is a single (!) mention of generated JavaScript (for the client-side), page 168<br />It appears somewhat some (?) controls are generated in JavaScript, no more.<br />While JavaScript generation has impact on client/server roundtrips and then, on the number of requests sent to servers, it&#39;s unfortunate such a book does not dig into this subject.<br />(c) all examples are about (up to chapter 7, I don&#39;t know about the final chapter 8) total page refreshs.<br />There is no example of partial page refresh.<br />(d) I would have appreciate a master/detail example, with details displayed into a layer.<br />Indeed, while Tapestry appears as page-centric, I expected to see an example involving layers to see how well it fits (while I have little doubts Tapestry could handle layers).<br /><br />Why have I written few points above ?<br />In fact, I just want to tell you I see Tapestry as a more high-level web framework than Struts, and then, I see it helps to be more productive.<br />However, as I build web sites targeting a high-level workload, I still have to give answers to the points above (to have a more detailled opinion on Tapestry, and to be able to tell my managers I could rely on it) ; the points are less high-level, but still important for high-performance point of view (Devil is into details), and I have the feeling that, while Struts is too low-level and Tapestry much more high-level, there is a gap between them, and I have not a clear view on how Tapestry fill this gap.<br /><br />So, I see unfortunate the main book available these last years (250 page) does not give these infos, while this book is quite *very* well-written on the other subjects!<br />And then, while I think Tapestry could give an (for me, yet-to-know) appropriate answer to these points, I still think more documentation would be appropriate to let me more appreciate your baby and to let it walk much more better for other people&#39;s projects. It desserves more complete books (docs?). I hope &quot;Tapestry 5 in Action&quot; would be help here.<br /><br />My 2 cents.<br />With regards.Dominique De Vitohttps://www.blogger.com/profile/03790530434856406116noreply@blogger.comtag:blogger.com,1999:blog-4110180.post-64588633377353660132010-12-27T07:01:11.227-08:002010-12-27T07:01:11.227-08:00that all sounds very well, especial the documentat...that all sounds very well, especial the documentation! In the past it was some time very expensive to find how some thinks can be implement :)Markhttps://www.blogger.com/profile/16800156765474127773noreply@blogger.comtag:blogger.com,1999:blog-4110180.post-40427150147259186862010-12-23T10:48:46.447-08:002010-12-23T10:48:46.447-08:00Would you add @PageReset User Guide &gt; Page Life...Would you add @PageReset <a href="http://tapestry.apache.org/page-life-cycle.html" rel="nofollow">User Guide &gt; Page Life Cycle</a> ? <br />Some colleagues had hard times finding this annotation.Alejandro Zalazarhttps://www.blogger.com/profile/07149167903385067674noreply@blogger.comtag:blogger.com,1999:blog-4110180.post-53442018503435213812010-12-22T05:35:17.394-08:002010-12-22T05:35:17.394-08:00Note that I was talking about something like putti...Note that I was talking about something like putting web site&#39;s docs into a global PDF, not looking for &quot;outside&quot; doc ;-)<br />This being said, I am not against buying computer science books, I have already bought few of them this year...<br /><br />While &quot;Tapestry 5 in action&quot; is going to be released, is Alexander Kolesnikov&#39;s &quot;Tapestry 5&quot; going to be outdated ?<br />ThanksDominique De Vitohttps://www.blogger.com/profile/03790530434856406116noreply@blogger.comtag:blogger.com,1999:blog-4110180.post-19041537189094464072010-12-21T09:39:14.757-08:002010-12-21T09:39:14.757-08:00This will be available fairly soon as &quot;Tapest...This will be available fairly soon as &quot;Tapestry 5 in Action&quot;.Howard Lewis Shiphttps://www.blogger.com/profile/04486596490758986709noreply@blogger.comtag:blogger.com,1999:blog-4110180.post-19531697781327791522010-12-21T09:23:45.362-08:002010-12-21T09:23:45.362-08:00Is it possible to gather all (existing) Tapestry d...Is it possible to gather all (existing) Tapestry documentation pages (if they make sense as related) into a big single PDF (with, if possible, a smooth learning curve) ?<br />Thanks. <br /><br />Well, I like web pages, but when learning a new technology, hypertexts could bring trouble while trying to follow a logical learning line. Let&#39;s give you another example: when I read a big PDF doc, if some info is missing, producing a &quot;gap&quot; into the learning curve, then I know there was a pb during writing, and I am then able to submit on a ML my opinion about it. On the other way, when I read web pages, if something is missing, I first wonder I have missed some info/hypertext into the web site, and I start digging into the web site, looking for it: first, I may loose time, and secondly, I may get frustated because I may not be able to know if I missed something myself, or if the info is really missing into the web site. <br /><br />Well, the other point is that I find too more convenient to download once a big PDF, and reading it printed, for example, during transportation, than printing different web pages and putting them together...Dominique De Vitohttps://www.blogger.com/profile/03790530434856406116noreply@blogger.com