ColdSpring or WireBox

Hi there guys,

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?

This is how I would inject it using ColdSpring:

I'll let some comment before giving my biased pitch :slight_smile:

Luis

I’ll let some comment before giving my biased pitch :slight_smile:

Mark

*grabs popcorn*

Can I delete this post? :expressionless:

Mark, you are first since Luis has home field advantage.

Go!

OK, I’ll take the bait.

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. :slight_smile:

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!

Felipe Serrano

BOF topic for cf.Objective() ? :slight_smile:

Mark

LOL!

I say WireBox is better because I am waaaay cooler than Mark Mandel! I have latino flava!!

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

I saw ColdSpring is cooler, because I know the future.

Everyone wants to live in the future, don’t they? :slight_smile:

Mark

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)"

Thanks guys

Felipe Serrano

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.

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

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. :slight_smile:

Felipe Serrano

I know Mark hates me for this :slight_smile:

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”
};

HA, take that Mark!!

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano