I just created this "form key" library, need suggestions |
[eluser]Dam1an[/eluser]
I actually had this bookmarked to go over at some point lol I just quickly glossed over the code, and 2 things jumped out 1) CamelCase class name for the library, tut tut, should use underscores as per the style guide 2) You could rewrite the validate function in one line Code: // From this Edit: I'll probably give some more in depth comments when I actually read the article |
Messages In This Thread |
I just created this "form key" library, need suggestions - by El Forum - 06-18-2009, 02:08 PM
I just created this "form key" library, need suggestions - by El Forum - 06-18-2009, 02:20 PM
I just created this "form key" library, need suggestions - by El Forum - 06-18-2009, 03:02 PM
I just created this "form key" library, need suggestions - by El Forum - 06-18-2009, 03:04 PM
I just created this "form key" library, need suggestions - by El Forum - 06-18-2009, 03:09 PM
I just created this "form key" library, need suggestions - by El Forum - 06-18-2009, 03:18 PM
I just created this "form key" library, need suggestions - by El Forum - 06-18-2009, 03:22 PM
I just created this "form key" library, need suggestions - by El Forum - 06-18-2009, 03:26 PM
|