You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Charlouze <me...@charlouze.com> on 2014/07/31 20:56:14 UTC
Tapestry & image
Hey everyone !
I'm currently working on a project that displays news. Each news has an
associated image and images are stored on the file system in a specific
folder. In my database, only the name of the image is stored.
I'm wondering what is the best practice:
- Providing a new assets binding ?
- Creating a specific event in my news display page that return the
image binary content ?
- Having a CDN for those kind of static content ? (this might be a bit
overkill for my project for now)
- Anything else that I did not think of ?
I'm a bit lost about how I have to handle those images...
Thanks,
Charles
Re: Tapestry & image
Posted by Charlouze <me...@charlouze.com>.
Thanks a lot for your advice !
I will follow it.
2014-07-31 21:27 GMT+02:00 Thiago H de Paula Figueiredo <th...@gmail.com>
:
> On Thu, 31 Jul 2014 15:56:14 -0300, Charlouze <me...@charlouze.com> wrote:
>
> Hey everyone !
>>
>
> Hi!
>
> I'm currently working on a project that displays news. Each news has an
>> associated image and images are stored on the file system in a specific
>> folder. In my database, only the name of the image is stored.
>>
>> I'm wondering what is the best practice:
>>
>> - Providing a new assets binding ?
>>
>
> I'm not sure you need that.
>
> - Creating a specific event in my news display page that return the
>> image binary content ?
>>
>
> That's a valid solution, but my preferred one is to have a separate page
> for returning images.
>
> --
> Thiago H. de Paula Figueiredo
> Tapestry, Java and Hibernate consultant and developer
> http://machina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
Re: Tapestry & image
Posted by Thiago H de Paula Figueiredo <th...@gmail.com>.
On Thu, 31 Jul 2014 15:56:14 -0300, Charlouze <me...@charlouze.com> wrote:
> Hey everyone !
Hi!
> I'm currently working on a project that displays news. Each news has an
> associated image and images are stored on the file system in a specific
> folder. In my database, only the name of the image is stored.
>
> I'm wondering what is the best practice:
>
> - Providing a new assets binding ?
I'm not sure you need that.
> - Creating a specific event in my news display page that return the
> image binary content ?
That's a valid solution, but my preferred one is to have a separate page
for returning images.
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org