CBL and Validation

Should validation be part of ColdBox LITE?

signature0.jpg

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

In a word, no. It’s CBLite because it’s lightweight and doesn’t try to solve every problem for every person. That’s the entire beauty of CBLite. :slight_smile:

signature0.jpg

I am with Matt on this one. Keep it LITE

image001.jpg

I am on other side. Whatever we would need for any basic operation should be part of any framework.

Form validation process is a very common for almost every project regardless of being small or big. I believe it should be part of any level of framework. Or there would be a simple way for plug&play usage as a validation plugin.

JM2C.

/OD
@demirkapi

image001.jpg

In Luis’ announcement he stated: “ColdBox LITE is basically ColdBox MVC only.”

Validation is not any part of MVC, and therefore should absolutely not be part of ColdBox LITE.

There are a number of validation frameworks that can be plugged right in, including ColdBox validation. Let the developer decide which validation framework is right for their application.

Again, validation is not a concern of MVC. Let the MVC framework be the best at its job, and leave it to the developer to determine which validation framework is best for that job.

image001.jpg

image001.jpg

Luis,

In my opinion, I don’t think so. Some folks may want to have their own validation framework/libraries or method in place causing redundancy if CB Lite already contains it.

Have you considered perhaps a method for folks to pick their libraries from (core, extras, plugins, even maybe options from forgebox) like an “a la carte” interface and building it on the fly? (not that you are not busy already! :wink: )

Phill,

Yes, that is the way we will go on this. We are arleady in discussions of how to use this new mvc as our base for extension for the platform which will include all pieces. However, as of now cbl will easily be able to add the following to the mix:

  • LogBox
  • CacheBox
  • Testing classes
  • MockBox
  • Validation
  • ORM

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

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano

No. It shouldn’t.

But why not use some validation.txt, xxx.txt to let the user know he can add additional stuff in here.

I will forever use the whole framework in any project, except it has to be embedded in the read camera of a friends car or so…:wink:

Cheers
Markus

2012/10/27 Luis Majano <lmajano@gmail.com>

signature0.jpg