I'm Dan Previte, a web developer and a geek in general living in Chicago and working for Caxy Inc.

Author Archive

Holy Crap, I Have A Blog?

Wednesday, March 31st, 2010

Remember a few years back before we knew what Twitter was? People had things called “Blogs” where they wrote “articles” about their field, their friends, and more importantly, their cats. Well. It turns out that I have one of these things. I should use it more. I have some fun stuff coming up that I’ll [...]

Read the rest of this entry »

Important Step When Backing Up Tables

Wednesday, April 16th, 2008

See that lil’ radio button that says “Structure and data”? Well. If you’re backing up a database table using SQLyog, make sure you check that if you plan on dropping the original table. Oops. Sorry JC

Read the rest of this entry »

My Cat Likes Digg and is Stupid

Saturday, March 8th, 2008

He insists on standing in my way whenever I’m using the computer. Jerk.

Read the rest of this entry »

Using Subversion for Web Development

Thursday, February 14th, 2008

Hopefully by now you know what Subversion, aka SVN is. It’s a version control system that keeps track of changes made to files like source code and documentation. It’s similar to CVS, but with some major advantages. We’ve been using it at work for awhile, and I really like it. Changes don’t get lost, we [...]

Read the rest of this entry »

Sample CodeIgniter Blog Controller

Wednesday, February 13th, 2008

I never get comments, or requests, so this is for Peter. Here’s a sample controller for CodeIgniter. This is pretty much the structure and it doesn’t do much. When you go to yoursite.com/blog, anything in the index function will run. If you added a function called edit, and went to yoursite.com/blog/edit, then that would run. [...]

Read the rest of this entry »