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

Archive for the 'Geekery' Category

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 »

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 »

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 »

www is for queers.

Monday, November 26th, 2007

You may have noticed that if you go to www.null-logic.net, the www is stripped off and it takes you to null-logic.net. That’s because the www is for queers. It’s a waste of time, it takes too long to say, and its no fun to type. The www isn’t required, and I can’t think of why [...]

Read the rest of this entry »