Cut your losses short, runs your wins long.
That means knowing when to regroup, change direction or even pull the plug when somethings not working. If you're coding something and you strike out don't tell yourself its ok "you tried". It's not ok, and you know it. Learn to shake off failure without self-criticism and get on with determining what will make the…
Setting Secure Passwords
Sorry folks, been a while since I last posted... I'll do my best to post more as time permits. Anyway here's a small function you can use in your controller or model to prep a password before sending it to the db.
First things first is to set your encryption_key in the applications/config/config.php. You can…
Difference between failing and quitting!
It's not how many times you fall down that determines whether you will reach the top of the
mountain. It's how many times you get up and get moving again!
Sweet little function to check or uncheck checkboxes
I was looking for function to check/uncheck checkboxes in a form and I found this little gem... Sorry if I don't remember the source. Often when you're looking for a solution that you end up pasting into your code you pay little to no attension to the URL or form you found it on. If…
XAJAX + CodeIgniter - see what you're missing
I've provided a brief summary of how to get CodeIgniter and XAJAX to play nicely together. Here a link to the CI forums post. http://codeigniter.com/forums/viewthread/182897/ -
You're definitely gonna want to check it out, especially so if you don't know jQueries ajax features well enough. I like XAJAX because I can use standard…
CI + DataMapper ORM = Awesomeness
I can't say how or when I stumbled on datamapper ORM or even why I decided to take it out for a spin.
I don't even remember how far back its been...Now don't hold that against me. How many of you guys actually remember the exact date you started using a class/object or function in…
PHP Storm the almost perfect IDE
I've tried every PHP editor/IDE out there of them all PHP Storm Rules... You gotta check it out. I don't get any kind of referal fee or anything like that I just dig sharing new and cool tools with other developers. Go take a look here http://www.jetbrains.com/phpstorm/
Enjoy,
Brendan

