Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Channels ▼
RSS

From Complaints to Awards


Content Management

One of the biggest challenges for 415 was to create a flexible and extensible CMS. They did this by putting much of the functionality in generic JScript modules, which weren't specific to the task at hand. This had the added advantage of making the code reusable in other projects. In addition, they separated the display engine cleanly from the CMS.

The underlying database structure also had to be extensible. Even though it was based on previous work, the database design was a lengthy process, taking about a month. The team attributes much of the project's success in their care in perfecting the crucial database infrastructure.

Doing that required a lot of communication between 415 and BART. Because so many people were involved on both sides, there was a tremendous potential for confusion and crosstalk. The companies addressed this problem by limiting cross-team communication to 415 producer Leslie Bamburg and Moore, a rule that Moore says made the whole process move much more smoothly.

Accessibility

BART paid a lot of attention to accessibility considerations when developing the site. For instance, it included a text-only site for people whose computers couldn't handle graphics. The CMS publishes the graphical and text versions of the site simultaneously.

The text-based site conforms to the highest accessibility level (Triple-A) of version 1.0 Web content accessibility guidelines published by the W3C (www.w3.org/TR/WAI-WEBCONTENT/wai-pageauth.html). Even the graphics-based side conforms to the lowest W3C accessibility level (A).

Another aspect of accessibility was cultural accessibility, namely, making at least a limited amount of information available in several languages other than English—including French, German, Spanish, Italian, Japanese, and both traditional and simplified Chinese.

Palm App

BART also wanted to enhance accessibility by providing access to scheduling information via various types of devices. BART commissioned Oakland, CA Web and mobile developer Bear River Associates (www.bearriver.com) to create a scheduling application that users can download to a Palm PDA.

The biggest challenge in creating the Palm application was compressing the data to run on the low-powered Palm device. In the server application, the scheduling database is about 2MB. Bear River managed to reduce that to about 16KB.

"There was a lot of regularity to the data," explains Bear River Senior Consulting Engineer Jim Morris. For instance, trains typically run at regular intervals, perhaps with one interval for peak and one for off-peak hours. Just as with ordinary file compression, more repetition means more potential for compression. The special rules for bicycles created a modest challenge. In addition, BART's grand meet policy—which says that you should be able to take the last train out of any station and arrive anywhere in the system—proved "interesting" from an algorithmic perspective, says Morris.

Reducing the database to 16KB meant Bear River could implement the entire application, including the executable, the database, and a bitmap of the BART system, in under 160KB. Zipped, even including 20K of user manual and license agreement, it's just a 75KB download. The development was done in C++, using Bear River's open source framework for the Palm, "paf" (www.bearriver.com/developer/palm).

Bear River also created some utilities for people who manage scheduling at BART, to make it easy for them to update schedules.

The whole development process lasted about twelve weeks with two people working on it, Morris and Senior Consulting Engineer Alan Clute.

Hardware

All of these new features meant a system overhaul as well. Today, the site is hosted on two Dell PowerEdge 2450 Web servers running Microsoft Windows NT 4.0 and IIS, and two Dell PowerEdge 2450 database servers running Microsoft Windows NT 4.0 and SQL Server. Each server has two 866MHz Pentium III processors, two 10GB hard drives in a RAID 5 configuration, and 1GB of RAM. A fifth server is dedicated to log storage and analysis.


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.