Re: new to cake, and mvc in general

2006-10-24 Thread Walker Hamilton
[EMAIL PROTECTED] wrote: Yeah, set DEBUG to 0 in /app/config/core.php (production mode). -- John So turning off debug also stops these calls to the database? Or does it just not log that it's doing them anymore? DESC is what cake is running to figure out your DB. Once you go into

new to cake, and mvc in general

2006-10-23 Thread [EMAIL PROTECTED]
Greetings, After putting work in for the past few months on a system I was going to build on phpBB3 (when it was released) I've decided to move over to a framework. Most of the work I've done is portable, as I was building around phpBB3, instead of modding it, with it being in development still.

RE: new to cake, and mvc in general

2006-10-23 Thread Grant Davies
I would be very interested in responses to this, especially the validation areas so please keep the discussion on-list if possible. Thanks Grant -Original Message- From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, October 23, 2006

Re: new to cake, and mvc in general

2006-10-23 Thread John David Anderson (_psychic_)
On Oct 23, 2006, at 10:28 AM, [EMAIL PROTECTED] wrote: Data Validation - It's way too simple for what I want. I'm looking for ways to say, validate a date field is a real date, and then also validate that it's in an acceptable range (ie: over 14 years old). I'd also like to be able to set

Re: new to cake, and mvc in general

2006-10-23 Thread [EMAIL PROTECTED]
John David Anderson (_psychic_) wrote: I did try some of the snippets out there for overriding invalidate in app_model.php. I mainly just encountered preg-match errors all over the place and they didn't work. You shouldn't need to override it.. just perform your non-regex validation

Re: new to cake, and mvc in general

2006-10-23 Thread John David Anderson (_psychic_)
On Oct 23, 2006, at 12:04 PM, [EMAIL PROTECTED] wrote: John David Anderson (_psychic_) wrote: I did try some of the snippets out there for overriding invalidate in app_model.php. I mainly just encountered preg-match errors all over the place and they didn't work. You shouldn't need