is used to enumerate the variables used in your code, ensuring that they exist, optionally setting default values if they do not, and possibly also validating data types. Placing a series of tags at the start of a page makes it easier to ensure that required variables exist, and that they are of the right type.
But what if you need to check for types not supported by ? What if you wanted to check for specific values or value ranges or value patterns?
In Blackstone we plan to enhance in several important ways:
1) Additional data types (including e-mail, url, ssn, usdate and eurodate).
2) Value ranges using specified minimum and maximum values.
3) Regular expression pattern matching for ultimate control.
Yet another example of one of the many infrequently discussed goodies in the works.

9 thoughts

  1. There’s a bug in your rss feed — you need to xmlformat() the results because in this case the <CFPARAM> tag is hidden — the brackets aren’t escaped.

  2. hmmm awesome news (although beta users will go "dah.." hehe)
    Any news on future plans with CFPROPERTY btw?

  3. IP address validation would be a simple RegEx, you’ll even find one that you can use in this blog. 🙂

  4. Is this a subtle hint that we might have the option of making CF strongly typed like the underlying Java by explicitly declaring types in CFPARAM, CFPROPERTY and CFARGUMENT? If so, that would be fabulous!

  5. Ian, nope, that is not planned for Blackstone (and in all honesty, I am not sure I even like that suggestion, but that is a separate thread).

Leave a Reply