I will start creating modules to organize a web application, and start
adding more flexibility to it.
I have been using ColdSpring as my Injector, Is it ok, to keep using
within my modules?
If you don’t give a care at all about sprinkling MVC framework-specific annotations throughout your model, then WireBox will undoubtedly provide you with the best integration with ColdBox.
If, on the other hand, you believe that an MVC framework should be damn good at its job and only its job, and you want your model to be quickly and easily moved from one MVC framework to another (or to no MVC framework at all), then ColdSpring is unequivocally the only logical choice for a CFML application.
That’s the long and short of it.
I’ll let you decide which camp I am firmly entrenched in.
Thank you Matt, I love Coldbox, and Coldbox either a small or a large
web, is what I'll be using to develop or try to develop good
functionality web apps. Thank you all, and thank you Luis!
hahaha, I will try to take advantage of the good humor from all of
you!
Question, Can I use getPlugin() inside ModuleConfig.cfc? right know im
getting: "No matching Method/Function for GETPLUGIN(string)"
One comment though on Matt’s observation, which needs a little clarification.
If, on the other hand, you believe that an MVC framework should be damn good at its job and only its job, and you want your model to be quickly and easily moved from one MVC framework to another (or to no MVC framework at all), then ColdSpring is unequivocally the only logical choice for a CFML application.
WireBox is built to be in use with ColdBox, or ANY MVC framework or no framework at all. Thus, it can be used for any CFML application whether you like annotations or you like configuration, which it supports both. So that statement is not valid.
All valuable information, thak you for your time, in my root app will
continue to use coldspring, inside modules wirebox, Im still learning
from the two of them.
But if you want to try your ColdSpring configuration with WireBox we can convert it for you: http://vimeo.com/20302117
Just right click on the coldspring configuration file and say convert to wirebox. It will create a WireBox compatible binder according to your bean specs. You can then change your IOC configuration to switch adapters so you can test it out.
ioc = {
framework = “wirebox”, definitionFile=“config.WireBox”
};