Does CS Need to Write to the File System?

0 views
Skip to first unread message

Monica

unread,
Feb 25, 2009, 8:23:32 PM2/25/09
to ColdSpring-Users
I am just starting to use Mach-II and everything's going well. I'm
not sure if I need to use ColdSpring or not, but I'd like to include
it as an option. However, it is absolutely impossible for me to use
ColdFusion to write to the server's file system. There is no way
around this. Does CS require this ability? Thanks!

Peter J. Farrell

unread,
Feb 25, 2009, 9:02:58 PM2/25/09
to coldspri...@googlegroups.com
Monica said the following on 2/25/2009 7:23 PM:
You should be ok for the basic IoC functionality (which is probably the
feature you'll use the most). AOP should be ok as well, however
auto-generating remote proxies won't work because it writes CFCs to disk.

Best,
Peter
ColdSpring Contributor

Barney Boisvert

unread,
Feb 25, 2009, 9:03:18 PM2/25/09
to coldspri...@googlegroups.com
ColdSpring uses the file system to build AOP/Remote proxies, but not
for simple dependency injection. So if you just need that, you
shouldn't have any filesystem writes going on. If you want proxying,
you might look at Railo, which lets you map ramdisks. I've not tried
it, but if you have read access to the filesystem, I think you'd be
able to copy ColdSpring on to a ramdisk that it can write to, and let
it run that way.

cheers,
barneyb
--
Barney Boisvert
bboi...@gmail.com
http://www.barneyb.com/

Barney Boisvert

unread,
Feb 25, 2009, 9:06:17 PM2/25/09
to coldspri...@googlegroups.com
> AOP should be ok as well, however
> auto-generating remote proxies won't work because it writes CFCs to disk.

AOP proxies are written to disk as well, they're just deleted
immediately after instantiation. So you still need write access to
disk, even though it's not creating general purpose CFCs like
RemoteProxy does.

cheers,
barneyb

Peter J. Farrell

unread,
Feb 25, 2009, 9:13:41 PM2/25/09
to coldspri...@googlegroups.com
Barney Boisvert said the following on 2/25/2009 8:06 PM:
AOP should be ok as well, however
auto-generating remote proxies won't work because it writes CFCs to disk.
    
AOP proxies are written to disk as well, they're just deleted
immediately after instantiation.  So you still need write access to
disk, even though it's not creating general purpose CFCs like
RemoteProxy does.

cheers,
barneyb
Thanks for the correction Barney.  I forgot about the exact machinery behind it.  The same goes for the auto-wire by depends feature that is available in the ColdSpringProperty in Mach-II.

.pjf

Monica

unread,
Feb 25, 2009, 10:50:47 PM2/25/09
to ColdSpring-Users
Thanks for everyone's quick replies! Hopefully I can use CS in
another environment someday, it looks pretty impressive.

Peter J. Farrell

unread,
Feb 25, 2009, 10:53:59 PM2/25/09
to coldspri...@googlegroups.com
Umm, you can use it -- the main and IMO the most attractive feature the IoC.  AOP and remote proxy generation is more advanced stuff.  But the IoC (wiring of beans together) is the major feature.  So you can use it.

.pjf

Monica said the following on 2/25/2009 9:50 PM:
Thanks for everyone's quick replies!  Hopefully I can use CS in
another environment someday, it looks pretty impressive.
  

No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.237 / Virus Database: 270.11.3/1968 - Release Date: 02/23/09 18:22:00

Monica

unread,
Feb 25, 2009, 10:59:16 PM2/25/09
to ColdSpring-Users
Oh I completely misread the acronyms, sorry. Thanks for the
clarification! I really have no idea what CS does, but that research
is for another day.

Brian Kotek

unread,
Feb 26, 2009, 11:02:39 AM2/26/09
to coldspri...@googlegroups.com
I wrote the quick start guide with a section on what ColdSpring's IoC features can do, you might read through that and see if it helps explain things:

http://www.coldspringframework.org/coldspring/examples/quickstart/index.cfm?page=intro

regards,

Brian

Monica

unread,
Feb 26, 2009, 11:31:15 AM2/26/09
to ColdSpring-Users
Thanks! It's nicely written and that really helps.
Reply all
Reply to author
Forward
0 new messages