My blog

Code folding with VIM – the manual way

January 29, 2010

2

Now that I’ve been using VIM (GVIM, to be exact) for the last few months exclusively as my code editor, I’m finally becoming comfortable with the some of the more common keyboard commands.  For example, I was editing an unordered list yesterday and wanted to fill it will a bunch of items.  Without thinking, I [...]

Doctrine ORM with CodeIgniter: Introduction

January 19, 2010

1

I’m currently developing a website for scheduling a volunteer group. (I’ll announce that in a separate entry). For this particular project, I chose the following: CodeIgniter PHP Framework Blueprint CSS Doctrine ORM jQuery/jQuery UI jQuery Calendar Plugin I’m going to focus on the Doctrine integration for this entry. I got the idea to try Doctrine from Burak’s blog [...]

Using jQuery’s .data() feature

January 14, 2010

0

jQuery has a feature that allows you to assign arbitrary data to DOM elements by way of the data storage methods.  I ran into a scenario today where this feature came in very handy.  Here is how the process works: The user clicks a checkbox in a list The checkbox’s parent <li> element is hidden using the [...]

Choosing WP Blog Theme

January 6, 2010

0

I’m trying to find a better theme for my blog – I’m too lazy to design my own, I suppose. Update – I’ve *chosen* a theme. I like this one

Project 52

January 5, 2010

0

For me, “deciding” to start/stop doing something as a resolution for the New Year is far different than actually following through.  The good news is that I’ve found a way to better motivate myself.  How do I do it? I publish my commitment For whatever reason, telling my Facebook friends and/or blog readers (I think there’s 2 [...]

Happy Holidays

December 23, 2009

0

It’s the holiday season. Regardless of which holiday (if any) you celebrate, I hope everyone the best

Local development server setup – PHP/MySQL

December 16, 2009

0

One of the things that annoys me about website development is the need to prefix webpages running on my local server with localhost like: http://localhost/site_name1, http://localhost/site_name2, etc I don’t usually have the luxury of an external development server, but having an environment that closely mimics my site’s final destination is critical.  It was actually pretty easy to [...]

Inserting a custom file path in vim

December 13, 2009

0

OK – so I use CodeIgniter as my PHP framework and one of the things that (I kind of like) is the addition of a special PHP comment that they add to the end of their files: /* End of file welcome.php */ /* Location: ./system/application/controllers/welcome.php */ I keep all of my projects in folders like this: /home/jon/public_html/<project name>/<project [...]

Full CMS in 12 steps – is this the best CMS…ever?

December 7, 2009

0

To some, their own flavor of CMS would be considered the “best” – but I’ve used a *couple* of CMS’s in the past.  Here’s a list of systems I’ve been using from just the past couple of years (in no particular order) Joomla Expression Engine Ektron CMS Made Simple Drupal I had considered trying Plone, Silverstripe, and possibly MODx for a [...]

Handy VIM keyboard shortcut

December 2, 2009

0

One of the things I missed about using UEStudio (in Windows) when I switched to Linux is a simple little keyboard shortcut it has for C programming.  The shortcut allows you to type .. (two periods) that will be automagically replaced with the arrow -> operator for calling class methods (PHP uses the arrow operator). Try [...]

Get Adobe Flash playerPlugin by wpburn.com wordpress themes