by Heather | Nov 11, 2013 | CodeIgniter, Object-Oriented Programming, PHP
Today I found a major shortcoming of CodeIgniter. Basically, in a project I’m working on, there were a bunch of different things that a User could add to their account that would need to be approved by an AdminUser before they would appear. For fairness and ease of...
by Heather | Oct 21, 2013 | Object-Oriented Programming, PHP, PHPStorm
I noticed an oddity (possibly a bug?) in PHPStorm today when working with the DOMPDF library. All the PHP classes are named as classname.cls.php – and PHPStorm, which is normally excellent at finding classes, just does not like this, so I was working with an...
by Heather | Oct 18, 2013 | CodeIgniter, MVC, Object-Oriented Programming, PHP
If you work with PHP regularly, chances are you’ve come across an MVC structure at one point or another. They are widely used in many popular frameworks and open source software like OpenCart. Using an MVC structure for your projects is a great way to separate...
by Heather | Oct 18, 2013 | JavaScript, JQuery
For a recent project, I needed an image gallery in JQuery. No sweat, there are hundreds of suitable plugins. My favourite is Cycle 2. It’s flexible, HTML5-friendly, and allows you to write the markup pretty much any way you like, so you don’t have to compromise on...
Recent Comments