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

Author Archive

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.
All this [...]

Read the rest of this entry »

Multiple Views with CodeIgniter 1.6

Thursday, February 7th, 2008

EllisLab released the latest version of CodeIgniter on January 30th. They’ve made plenty of improvements and bug fixes, and you can check out the changelog on their site. I’ve been using CodeIgniter for projects at work for about six months and I love it. It’s made my code much more organized and easy to modify. [...]

Read the rest of this entry »