On 9/30/07, lauren49 <[EMAIL PROTECTED]> wrote:
>
>
> Alex Netkachov wrote:
> >
> > I prefer combination of the following methods:
> > 1. Check the uniqueness using a SELECT query.
> > 2. Display error
> > 3. After fixing error, execute data modification statemenet.
> > 4. In case of error I can do either of the following:
> > 4.1. parse error message and display error or if it fails
> > 4.2. just show the general database error message and optionally
> > 4.3. show the general database error message with recording exact
> > message text to log
> >
> > Sincerely,
> > Alex
> >
>
> Thank you, Alex.
>
> Have you implemented these methods within the Zend Framework?

Not yet. Maybe in a couple of weeks I'll complete refactoring of my
system and will have this code.

> --
> View this message in context: 
> http://www.nabble.com/Validation-for-unique-constraints-tf4537684s16154.html#a12960653
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>


-- 
http://www.alexatnet.com/ - consulting, blog, articles and support for
PHP, ZF, JavaScript and web development.

Reply via email to