You will /have/ to write to the file system *somewhere* if you wish to
use ColdSpring, or Reactor, or Model-Glue Scaffolding. Or MG, I
guess. ;)
ColdSpring is the only one that's required for MG, as far as I know.
For ColdSpring, if you cannot create a mapping (what about
per-application mappings? Are you on CF8? These are swell, if so),
I've got a hacked up version that lets you specify where you want the
temporary files to be written.
Generally it's fine even pointing at a temp directory, and CF *must*
have some type of filesystem write capabilities, as far as I know,
somewhere (what happens if you try to write a file using
getTempDirectory()?), so you could use the same place, probably.
I've even have a hacked up version of Reactor that lets you specify
the "temp" project directory path, although it's much cleaner to use a
mapping (I haven't put the code anywhere where others could hurt
themselves with it, but if you need it, I have it, and it *seems* to
be working =]).
Basically you *really* want to be able to do some mappings, and
per-application are a *awesome* way of doing mappings, so if you're
not on CF8, maybe you could convince your IT folks to move to it, or
to Railo (Railo is a speed demon!).
I've got most of our MG (tho they are MG3 now) applications deployed
on a cluster that has read-only access to the application code, so
I've been down that road, at least, if you need more help there.
Good Luck, and may the Force Be With You!
:Denny
--
Where there is a will, there is a way
-someone said one day
So really it's just ColdSpring, at least until some of these nifty "in
memory" features make it.
As far as I'm aware, at least, which might not be saying much. =]
:DeN
--
For the things of this world cannot be made known without a knowledge
of mathematics.
Roger Bacon
On Tue, Feb 24, 2009 at 4:16 PM, denstar wrote:
...
In that case, the only solution is a "search and replace" (perhaps
using an ANT task, as that would be a one-click deal), renaming
modelglue to yourapp.modelglue, and same goes for coldspring and
whatever else.
FWIW, although it sounds like a pain in the ass, and it is, it's
probably less of a pain in the ass in the long run, if you put a
process in place for upgrading code (or even if you just run with what
you get).
These "frameworks" are really swell, whatever and whichever you choose.
--
Reasoning draws a conclusion, but does not make the conclusion
certain, unless the mind discovers it by the path of experience.
Roger Bacon
Never heard of it, but that would be *awesome*!
They could always just set up symbolic links using the OS, I guess, or
put the frameworks in the main CF context root, but it sounds like
"freedom" is limited, which always makes things hard.
Guess that's one good thing about being the end-all, be-all -- Yes,
silver lining-- that's the ticket!
:D
--
The strongest arguments prove nothing so long as the conclusions are
not verified by experience. Experimental science is the queen of
sciences and the goal of all speculation.
Roger Bacon
Although I will hopefully never need that again, it has been filed
away, as it just tickles me.
Ditto-Cool, Thanks!
--
A Truth is the subjective development of that which is at once both
new and universal. New: that which is unforeseen by the order of
creation. Universal: that which can interest, rightly, every human
individual, according to his pure humanity.
Alain Badiou
Wow, this is really great stuff! I'm looking forward to trying this
out. Very cool!
Hot dang!
> On a side note, it looks like ColdSpring does need to write to the
> file system. It looks like a good addition but it won't work for me
> in this instance. Maybe I'll get a chance to try it out for some
> other project. Thanks to everyone for your help!
Good to know, it must be related to advice / proxy creation and whatnot.
Thanks for the update, it's somehow heartening. =]
--
Evil is the moment when I lack the strength to be true to the Good
that compels me.
Alain Badiou
On a side note, it looks like ColdSpring does need to write to the
file system. It looks like a good addition but it won't work for me
in this instance. Maybe I'll get a chance to try it out for some
other project. Thanks to everyone for your help!
To my admittedly addled brain, I'm thinking that so long as you stick
to IoC, CS probably wouldn't actually need to write anything anywhere.
Aspects are one of the coolest aspects of CS, but IoC isn't a bad
pattern in itself.
:Den
--
Three, it's the magic number
- School House Rock
Clarification: I can use the IoC but it sounds like everything else
probably requires writing to the file system. Good to know!