. Updated Daily. Editions SDA India   SDA Indonesia
JAX Asia 2008 - Conference for Enterprise Java, SOA, Spring, Web Services, Ajax, Agile and more
BUSINESS ENTERPRISE SOLUTIONS ARCHITECTURE INFORMATION SECURITY WIRELESS & MOBILITY DATA & STORAGE DEVELOPMENT HARDWARE













News

Thursday, 25 January 2007

Article: Checking for Duplicate Records in CakePHP

 

 

Marie Zachovalova in a new post over the Bakery blog talks about how to check for duplicate records in your CakePHP model. At the beginning she gives two brief steps to carry out the procedure. They are:

  • validate a form field (such as a user name field), both in add and edit form and make sure that the selected user name does not already exist in the database
  • function repeated only once in app/app_model.php


Then she provides examples of download codes for Model Class and Controller Class in the app_model.php to facilitate better understanding of the concepts.

 

Read the Post

 
 
print save email comment

print

save

email

comment

 
 

Search SDA Asia

Free eNewsletter

SDA Asia Magazine Free Download
 
 
 
Copyright @ 2008 SDA Asia Magazine - All Right Reserved Privacy Policy | Terms of Use