Quick alpha version of filtering a table

I've found it incredibly useful to be able to just start typing in an input box, and have a long table get pared down to only what I'm looking for. See Drupal's Module Filter for an example. Since I have an app I'm working on that will eventually need similar functionality, I wrote a quick proof of concept. It's rough, and I have no idea how well it will perform on large tables. But it might come in handy. Visit it on GitHub: https://gist.github.com/4028731

Checking a LDAP Password in PHP

One of my current projects requires authenticating against an LDAP directory. I initially assumed that you would get the password from the directory, then compare it with the user supplied password. That's the wrong way.

The correct way is simpler. Just try to bind the user to the LDAP directory. If it works, you have the correct password, if it doesn't, the password or username is wrong. 

How To Migrate Content from a Wordpress Blog to Drupal 7

As you can see, I have migrated my personal blog to this site. It's now here: Personal Blog. I tried a couple methods, I used Feeds and was able to easily import posts, but I couldn't figure out how to get the comments as well. After a bit of searching, I found the Wordpress Migrate module. And it worked quite well.

Short Update

So, this is just a quick note to inform any readers that I am still alive. Unfortunately, or maybe not, I have been quite busy working at Lane Community College. Thus, this site has taken the back burner. 

 

So, we'll see if I find time to do anything here. Until then, thanks for visiting!

Drupal Tip: Drupal slow on WAMP

So, I've been doing a lot of my Drupal development at work on Windows XP. For some reason Drupal was running extremly slow. After searching off and on for a few days, I finally stumbled across the right key words to find this: http://drupal.org/node/348202 Solution: increase realpath_cache_size in php.ini to something larger. I set it to 20M. I might make it bigger, we'll see. But at least Drupal is usable for now. Oh, and I should note that when I am developing on Linux or on my server, Drupal is plenty fast. So this was a problem specific to my WAMP install.