Re: creating a virtual file

2011-01-25 Thread Phil Pirozhkov
Take a look how you can hook File calls. https://github.com/pirj/distributed-shelf If you figure out the file is read orr written, you can fetch/update your DB, or redis as suggested. On Jan 24, 11:37 pm, bluewave shai.sayfanalt...@googlemail.com wrote: I have an application I want to use

creating a virtual file

2011-01-24 Thread bluewave
I have an application I want to use (http://www.flashxml.net/galleries/ ) this application needs to update an xml file with all the images information in it. if I would be working on disk based system I would just update this file so the web browser can read it. because I am using Heroku I

Re: creating a virtual file

2011-01-24 Thread Keenan Brock
Hi Shai, It sounds like the app is using XML as their data store. And right now, rails (and Heroku) make it easier to use a relational db to store data. While you could hack together a solution that stores the data file in memcache, redis, or something, I wonder how hard it would be to just