My first cfwheels plugin - ioc interface

I decided to play around with cfwheels cause I was amazed by some examples I saw around and I have to admit is good fun.

After 1 hr testing I realized that no ioc support is build into cfwheels and ..... I really cannot live with no Ioc container available at any time so I decided to add a plugin for managing a beanFactory into cfwheels.

Probably is not the best cfwheel plugin ever written but was very easy and painless. While I tend to be very OO guy I am amazed by conventions in last period ( I am also playing with Sean Corfield FW1 ). While I am also an happy user of Coldbox and ModelGlue I find that sometimes frameworks added complexity also to easy tasks. From here my desire to look into frameworks that make of conventions their core basement.

In my mind conventions means less code in default situations and about this cfwheels and fw1 at the moment are the best. Btw I also think that for a more complex task Coldbox really has something more to help development of more advanced applications.

You can find the plugin here to play with it and have a look to cfwheels.

| View count: 504
  1. sameer

    #1 by sameer - December 9, 2009 at 9:50 PM

    I have a very basic question. I have no clue why and where beanFactory is used. I use cfwheels and honestly its the only framework I understand. Probably because its convention over config. I have always wanted to learn coldbox and I think your plugin could be of help. Can you please provide a real world usage of beanFactory?
  2. Andrea Campolonghi

    #2 by Andrea Campolonghi - December 12, 2009 at 12:10 PM

    @Sameer Coldspring and ColdBox are not dependant. I mean that Coldbox can use coldsprign if you like but can do the job also with no IOC resource. What I suggest you is to look here : http://www.coldspringframework.org/ Check out the docs. I think is the best way to start with the concept of inversion of control and why using a beanFactory can help you in your programming paradigm. Let me know.
(will not be published)
Leave this field empty: