symfony: change and reset password

by prettyscripts on 2009-08-20 12:36:51 • Leave a comment »

phpsymfony

sfDoctrineGuard only provides the basic login and logout functions. other basic functions such as change and reset passwords are not included / not yet implemented. thankfully there's another plugin sfDoctrineApply, which does all the works for you. it… more »

Tags: sfdoctrineapply, sfdoctrineguard, symfony

vi: insert shell output

by prettyscripts on 2009-08-10 11:41:23 • Leave a comment »

unix

to run shell command while in vi: :!command to insert output from shell command after the cursor: :r!command more »

Tags: insert, shell, unix, vi

symfony: created_by and updated_by columns

by prettyscripts on 2009-08-07 10:50:10 • Leave a comment »

symfony

these columns are required for most tables to sign the data. however the save codes are repeated through out the model classes. code repetition is bad programming practice. this is where sfDoctrineActAsSignablePlugin comes to rescue! once plugin is ins… more »

Tags: created, signable, symfony, updated, user