[Pharo-project] Seaside Book: Chapter 17, Serving Files
tulipe.moutarde at gmail.com
Mon Mar 26 02:45:17 EDT 2012
Yep it works well and if it fits your needs then go for it ;)
I serve static assets with Seaside when the files are only accessible
for a logged in user or when it depends of the state of the sessions.
In other cases, I simply put all my files in a directory next to the
image and serve them with Zinc/Kom when I develop
On 25/03/12 20:55, Schwab,Wilhelm K wrote:
> I am probably missing something too<g>, but dynamically serving the documents is EASY, and that message should get out. The app in question originally ran on a server. At first, that was a way to get around my lack (at the time) of good file synchronizing on Linux - I have long since ported to Pharo a tool that I have use for years so that it runs on Linux. That makes it easy to move files from one machine to another (basically between desktop and laptop).
> Having the system on a server offered the option for others to see the data, but they never used it. IT policies became problematic (or at least scary), and it is simply easier for to run it locally, so I took that plunge. The system has security features that make little sense now; I might remove them some day.
> When it ran on a server, I simply generated urls for the full text articles. At present, serving the files dynamically "just works" and does it w/o the need to think about servers and URLs. It is a nice solution that I think deserves mention along with FileLibrary and other methods.
> From: pharo-project-bounces at lists.gforge.inria.fr [pharo-project-bounces at lists.gforge.inria.fr] on behalf of Francois Stephany [tulipe.moutarde at gmail.com]
> Sent: Sunday, March 25, 2012 11:23 PM
> To: pharo-project at lists.gforge.inria.fr
> Subject: Re: [Pharo-project] Seaside Book: Chapter 17, Serving Files
> Hi Bill,
> I probably miss something in the use case but why don't you simply serve
> that static content with Kom or Zinc ?
> On 25/03/12 18:29, Schwab,Wilhelm K wrote:
>> Clearly, I can't put hundreds of megabytes in a FileLibrary, and I have
>> no interest in configuring a static web server for something that (sadly
>> or not) runs locally on multiple machines, with data synchronized via
>> what amounts to an rsynch clone and ever-growing flash sticks.
CA: +1 778 558 3225
BE: +32 65 709 131
More information about the Pharo-dev