Hi David,

I agree with both, the second one has actually already been planned here http://uwyn.com/issues/browse/RIFE-188, but for 1.7. Can you add an issue for the first one?

Thanks!

Geert

On 12 Jan 2007, at 19:58, David HM Spector wrote:

Hi All,

There are two things that would be really helpful in 1.6 that occur to me today:

1) a new constraint, a compliment to ".inList()" namely ".notInList ()", for example

.addConstraint(new ConstrainedProperty("username")..notEmpty (true).notNull(true).notInList("root", "bin", "system", "mysql", "sybase", ...) // to say nothing of lists of swears and other "bad" words...

...a regex capability for both inList() and my proposed compliment to it would be great.. .and could make it easier to keep potentially insecure crud (like SQL injections) from being pushed through forms.

2) addition checking or warnings in the metadata merging to about use of SQL keywords in your member variable names. I wasn't thinking in one of my beans and used the variable "where" once. I spent considerable time puzzling why I was getting really bizarre error SQL messages messages.


_DHMS
---------------------------------------------------------------------- ---------------------
                                          David HM Spector
spector (at) zeitgeist.com http://www.zeitgeist.com/
                                                    ~ ~ ~
"New and stirring things are belittled because if they are not belittled, the humiliating question arises, 'Why then are you not taking part in them?'" --H. G. Wells

_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to