Re: decoupling business logic and frontend

2015-07-25 Thread Ilya Obshadko
On Sat, Jul 25, 2015 at 3:55 PM, Dmitry Gusev wrote: You may be mixing "business logic" with tapestry's page/component classes. > No, that's not the case actually. > You shouldn't put any business logic to the presentation layer > (which is TMLs and page/component java classes). > Even if bus

Re: decoupling business logic and frontend

2015-07-25 Thread Ilya Obshadko
Thanks Chung, That seems very close to the solution I was looking for. On Sat, Jul 25, 2015 at 3:54 PM, Chung Khanh Duy < chungkhanhduy1...@gmail.com> wrote: > Hi, > > I suggest Tapestry+RestEasy+AngularJS. AngularJS is powerful MVC font-end > framework. Moreover you should research to try integ

Form recorded error disappearing

2015-07-25 Thread Stephen Nutbrown
Hi, I have a simple form with one field which takes in a code. This code is to identify guests at our wedding, the security of it isn't really paramount. We would like to be able to have users enter the code into the form, OR scan a QR code. The QR code points to an address, e.g www.foo.com/1234

Re: decoupling business logic and frontend

2015-07-25 Thread Dmitry Gusev
Hi, You may be mixing "business logic" with tapestry's page/component classes. You shouldn't put any business logic to the presentation layer (which is TMLs and page/component java classes). All logic should be extracted to tapestry services, or even EJB as in the JumpStart examples: http://jump

Re: decoupling business logic and frontend

2015-07-25 Thread Chung Khanh Duy
Hi, I suggest Tapestry+RestEasy+AngularJS. AngularJS is powerful MVC font-end framework. Moreover you should research to try integrate bower grunt in your project. Bower is used to pull necessary third party js go with angular and grunt is used for building css based on sass. So the final project

decoupling business logic and frontend

2015-07-25 Thread Ilya Obshadko
At this moment, my own project has grown big enough, so I've started to consider delegating various parts of the workload to others. However, there is one particular issue: when the whole thing is built on Tapestry, any person involved should understand the framework, and it's not possible to isol