How to Get mod_rewrite to Work With Forms

apache

I’ve been developing a new Web site that uses Apache‘s mod_rewrite to make “pretty” URLs instead of exposing both the script name and parameters to the end user.  For example, instead of seeing a URL like http://blahblahblah.com/somepage.php?page_id=details, the end user sees http://blahblahblah.com/details.

(more…)

Quick and Easy Image Zoom Using JQuery

Jquery

I maintain/manage some Websites that are developed by outsiders. Some of them are stuck (for one reason or another) using older tools and software packages … namely Microsoft FrontPage. In one of the websites, in particular, the previous method of showing a larger/zoomed-in version of an image was to open a new tab or browser window using the image’s URL.

After some discussions with the site’s creator and it’s owner, we decided to bring the design up to current practices, and use a modal dialog to display the images. So, I turned to the handy-dandy search engines and, after some searching, settled on ThickBox as the JQuery plugin to use.

(more…)

How to Make WordPress Run Faster

speeding-300x225

If you’re running a site that aims to be more than just a small journal or hub for your close friends to go to, you run into the problem of making sure that the site loads quickly and correctly for any visitor.

By “correctly”, I mean that it looks the same in all browsers.  This is the easier of the two problems, since if you a platform such as WordPress, most of the available themes solve that problem for you.

Now, serving pages quickly can be tricky.

(more…)

Multi-Threaded Twisted / Stackless Integration

Another way to integrate Twisted with Stackless python, is to use multiple threads. One thread handles Twisted’s reactor while Stackless tasklets run in at least one other thread. This lowers the deterministic nature of Stackless, but for certain conditions may be more effective than trying to integrate Twisted and Stackless into a single thread. Communication between the threads is handled through a channel, which according to the documentation for Stackless python is thread-safe.

(more…)

« Previous PageNext Page »