A LIST Apart: For People Who Make Websites

No. 275

Topics: Code: Server Side

Back-end in motion. Shaping dynamic user interactivity with scripting languages like Perl, PHP, ASP, ColdFusion, Rebol, and Ruby on Rails. Database-driven projects and processes. Web services and .Net. Can’t we all just get along? (25 articles)

A More Useful 404

Issue 272November 18, 2008

For a custom 404 page to be truly useful, it should not only provide relevant information to the user, but should also provide immediate feedback to the developer so that, when possible, the problem can be fixed.

Getting Started with Ruby on Rails

Issue 257April 22, 2008

Web designers have time-tested CSS tricks to use as a starting point, web standards to adhere to, and Photoshop workflows they can rely on. Like these tools, Rails provides standards, conventions, tools, and a foundation upon which developers can construct applications by writing customized code using pre-built Rails libraries.

Creating More Using Less Effort with Ruby on Rails

Issue 257April 22, 2008

One of the main reasons Ruby on Rails increases productivity is that it makes building new applications, adding features, and making tweaks much easier. The combination of the language (Ruby) and the framework (Rails) means you can do more with less code.

Graceful E-Mail Obfuscation

Issue 248November 06, 2007

Most e-mail obfuscation techniques I’ve tried tend to be bothersome and time-consuming to implement because they have to be applied to each and every e-mail address that you want to protect. Most require you to use lengthy inline script elements and inline event handlers. They may also invalidate your markup.

Sliced and Diced Sandbags

Issue 222August 22, 2006

Automate text flow along an irregular outline with PHP.

Automatic Magazine Layout

Issue 219July 11, 2006

“Finding an attractive way of displaying any two, three, or four images together (regardless of shape and size) has always been difficult without manual resizing or cropping.”

Getting Started with Ajax

Issue 213March 07, 2006

“In a nutshell, it is the use of the nonstandard XMLHttpRequest() object to communicate with server-side scripts. It can send as well as receive information in a variety of formats, including XML, HTML, and even text files. Ajax’s most appealing characteristic, however, is its ‘asynchronous’ nature, which means it can do all of this without having to refresh the page.”

A Better Image Rotator

Issue 186August 10, 2004

The first image rotator made it easy to generate a random image on a web page, even if you had never worked with PHP before. The new, more powerful (but still dead easy) version uses a simple configuration file to create custom links, alt tags, titles, and even CSS styles for each image. Plus it handles differently sized images without a hiccup. Enjoy!

Smarter Image Hotlinking Prevention

Issue 185July 13, 2004

Most web professionals are all too aware of the problems caused by hotlinkers. Leechers. Bandwidth thieves. People who use images hosted on your web server on their own pages. With PHP and mod_rewrite, you can disallow embedding and allow linking while automatically creating gallery pages for those direct linkers.

Dynamic Text Replacement

Issue 183June 15, 2004

Let your server do the walking! Whether you’re replacing one headline or a thousand, Stewart Rosenberger’s Dynamic Text Replacement automatically swaps XHTML text with an image of that text, consistently displayed in any font you own. The markup is clean, semantic, and accessible. No CSS hacks are required, and you needn’t open Photoshop or any other image editor. Read about it today; use it on personal and commercial web projects tomorrow.

The Perfect 404

Issue 168January 16, 2004

No matter how carefully you design and structure your site, visitors will sometimes request missing, moved, or non-existent pages. A well tempered 404 error page will plunge these visitors back into the flow of your site. Ian Lloyd shares strategies for crafting the perfect 404.

Keeping Navigation Current With PHP

Issue 162November 07, 2003

Turning unordered lists into elegant navigational menus has become a new favorite pastime for many web designers. A dash of PHP can add intelligence to your CSS-styled menu.

Random Image Rotation

Issue 160October 20, 2003

Readers return to sites that appear fresh and new on each visit. On a news site, magazine, or blog, stories or headlines will be updated frequently. But how can static sites keep that fresh feeling? Dan Benjamin’s free image randomizer may do the trick, and you needn’t be a programmer to install it.

Inline XML

Issue 153November 01, 2002

What’s in a namespace? For one thing, the power to use multiple XML languages in a single document. Lachlan Cannon explains how inline XML can extend the capability of your sites.

Build a PHP Switcher

Issue 152October 13, 2002

ALA’s open source style sheet switchers are swell as long as your visitors use compliant browsers and have JavaScript turned on. But what if they don’t? Perhaps, this: Chris Clark tells how to build a cross-browser, backward-compatible, forward-compatible, standards-compliant style sheet switcher in just five lines of code.

Manage Your Content With PHP

Issue 148August 09, 2002

XHTML for structured markup. CSS for presentation. What more could you ask? How about an easy way to manage your site, using free, open-source tools? Christopher Robbins shows how to use PHP to build an intro-level, template-driven system that handles site maintenance chores and remembers your visitors’ preferences.

Simple Content Management

Issue 145May 24, 2002

Build a simple, expandable, client-side content management system in REBOL.

Win the SPAM Arms Race

Issue 145May 24, 2002

SPAM is evil, moronic, and pervasive, but help is on the way. All it takes is a bit of JavaScript, a smidgen of PHP, and the ten minutes it takes to read this short, sweet tutorial. Reduce dreck mail with Dan Benjamin’s easy-to-implement address encoder.

Build a Search Engine in PERL

Issue 136February 08, 2002

Everything you wanted to know about using PERL to build a simple search engine for your site (but were afraid to ask).

Understanding Web Services

Issue 135January 31, 2002

By promoting standards-based communication,web services might change the way we build sites.

How to Succeed With URLs

Issue 123October 12, 2001

Dynamic websites rock. Dynamically generated URLs suck. Till Quack shows how to use PHP to convert those machine-friendly nightmares into dreamy, human-friendly web addresses.

Build a “Send to Friend” Page

Issue 120August 31, 2001

In this quick ’n easy tutorial, Short shows how to increase your site’s popularity by building a simple “send to friend” service in HTML and ASP.

Kick ASP Design: ASP for Non-Programmers

Issue 117July 20, 2001

Web programming is not rocket science. Get comfortable with the basics, and learn some nifty Style Sheet switching tricks, in this gentle introduction to ASP programming for non-programmers.

URLS! URLS! URLS!

Issue 70June 30, 2000

Database-driven content management systems are everywhere. And with them come URLs only a robot could love. Bill Humphries shows how to transform CGI-generated URLs into meaningful user interfaces through the power of URL mapping.

Bridging the Gap

Issue 66June 02, 2000

How can we work together if we don’t understand each other? Systems administrator Robert Miller describes the view from his side of the cubicle, and attempts to break down the barriers between “creative” and systems professionals.

*Can’t find what you’re looking for? View all topics and subtopics »