I am upgrading a current project to Laravel 3.2 and had a bit of confusion with the (newly implemented) Auth drivers. I’m sure a lot of developers are able to use the Auth class as-is, but because I need some custom stuff returned when logging in/retrieving a user, I needed to figure out how to [...]
All posts by Jen
Quick Tip: Laravel 3.2.0 Auth Driver
Posted by Jen on May 27, 2012
http://nerdmom.wordpress.com/2012/05/27/quick-tip-laravel-3-2-0-auth-driver/
Holy Smokes!
I just realized that I haven’t posted anything in just over a year! Color me embarrassed O.O Been extremely busy with other projects. I could use some ideas, so, what all would you guys like to read about here? Let me know in the comments, and Thanks to those who are still reading!
Posted by Jen on February 2, 2012
http://nerdmom.wordpress.com/2012/02/02/holy-smokes/
Extending CodeIgniter’s Database Forge Class
UPDATED 2/13: Added License (MIT) Info to code UPDATED 1/13: Changed ‘required’ ‘required_once’ to avoid errors of redeclaring CI_DBforge I am working on a project in CodeIgniter that requires use of the database forge class to create/modify/delete database tables. Because the project makes use of database transactions, creating tables with the MYISAM engine was not [...]
Posted by Jen on January 12, 2011
http://nerdmom.wordpress.com/2011/01/12/extending-codeigniters-database-forge-class/
Bespin Theme for Geany IDE
I love the Bespin theme that can be found for Textmate, Notepad++, and Gedit. Recently I started using the Geany IDE (http://www.geany.org/) as it’s a lot lighter than Eclipse/Netbeans/etc. I spent the better part of an afternoon using the Online Theme Editor found at (http://geany.pdarko.co.cc/filetypes/) to recreate (to the best of my abilities) this theme [...]
Posted by Jen on September 11, 2010
http://nerdmom.wordpress.com/2010/09/11/bespin-theme-for-geany-ide/
A Follow-Up on Kohana 3 & CodeIgniter 2 – The Flip Side
The other day I wrote about my experiences/opinions with Kohana 3 and CodeIgniter 2. I’ve received feedback from both sides of the debate, and want to share some follow up thoughts and some of (IMO) CI2′s downsides. Shadowhand commented: …This is typical of pretty much all programming tools. For example, look at Python right now… [...]
Posted by Jen on August 31, 2010
http://nerdmom.wordpress.com/2010/08/31/a-follow-up-on-kohana-3-codeigniter-2-the-flip-side/
Kohana 3 & CodeIgniter 2
For the last month or so I’ve been developing an app side-by-side with Kohana 3 and CodeIgniter 2 to see which framework fits my programming style better. Nothing terribly fancy; just a simple CMS. I’ve been using frameworks to develop since 2006, back around CI 1.5.x. The differences between CI 1.7.x (the latest version as [...]
Posted by Jen on August 27, 2010
http://nerdmom.wordpress.com/2010/08/27/kohana-3-codeigniter-2/
CakePHP 1.3, Smarty 3, and Theming. Woohoo!
There are various solutions out there for integrating Smarty with CakePHP. I’m here to introduce another one, that I feel is a little leaner than the other solutions I’ve found. Jump to the code: https://gist.github.com/672398 Requirements: Cake 1.3.2 (No idea if it will work on < 1.3.2) Smarty 3 Just place this in your /app/views [...]
Posted by Jen on July 2, 2010
http://nerdmom.wordpress.com/2010/07/02/cakephp-1-3-smarty-3-and-theming-woohoo/
CakePHP, Using Edit For Add/Edit Functions, & Plugins (Oh My!)
When I work on a project I usually combine my add/edit functions into just edit. This saves some space in my controllers and makes maintenance a lot easier as I have only one function to edit instead of 2. To accomplish this in Cake, you’d just do something like this: Router::connect(‘/:prefix/:controller/add’, array(‘action’ => ‘edit’, “admin” [...]
Posted by Jen on June 17, 2010
http://nerdmom.wordpress.com/2010/06/17/cakephp-using-edit-for-addedit-functions-plugins-oh-my/
Quick Little Tip Regarding Cakephp forms
Occasionally when I am coding something in Cake that requires a form, I run into a problem if I use something like If there is another method that posts to the URL that the above code rests on (an Auth class trying to preserve the page the person was trying to reach, for example), then [...]
Posted by Jen on January 28, 2010
http://nerdmom.wordpress.com/2010/01/28/quick-little-tip-regarding-cakephp-forms/
New Source for Code Snippets
I’ve signed up at Github, and will from now on be posting code snippets and such there. CodeIgniter + Smarty w/Layout Capabilities – http://gist.github.com/264823
Posted by Jen on December 28, 2009
http://nerdmom.wordpress.com/2009/12/28/new-source-for-code-snippets/