Re: In which direction is Tapestry heading?

"Thiago H. de Paula Figueiredo" <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <CAE_88GYHpyH6_ovSHGbvwzaGaBq-WdAYGCya8JZhxOB020SozA@mail.gmail.com>
On Mon, Mar 26, 2018 at 6:45 PM, Juan Manuel Garrido de Paz <
[email protected]> wrote:

> Hi Thiago, does it make sense to use tapestry just as a middleware between
> a javascript client-side framework and the server? Just for implementing a
> REST API that gathers the requests from the client and calls the server
> methods that implement the use cases?
>

Hello!

If you're not using Tapestry components at all, then yes, it may not make
sense to use tapestry-core (i.e. the Web framework), but Tapestry-IoC would
still be very useful for organizing your server-side code.

On the other hand, even without Tapestry components, you could still use
tapestry-core for its pipelines, specially HttpServletRequestFilter (for
security, monitoring, etc) and Dispatcher. Also, using Tapestry pages for
delivering non-HTML and non-JSON files (for example, delivering files
stored in a database or a filesystem) and anything else which doesn't fit a
typical REST endpoint.

--
Thiago
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.