The Code Style site has evolved by gradual refinement and accumulation of features and content. This review is part of a fully backdated site log and archive that sheds light on when, why and how particular features were implemented.
This log is sometimes updated several times per week, sometimes with a long overdue backlog of items. Many log entries refer to the Code Style Java package, which delivers the servlet services and utilities used to manage this site.
Subscribe to the news feed for this log:
Added new answers to various FAQs and created a new Java objects FAQ.
static and final keywords?
Added an application version number field to the email notification for font survey applet submissions. The version number field should verify that the applet classes are being loaded from the JAR file rather than separate class files, as formerly. Corrected a missing quote mark on the Unix font survey submission insert. Also adjusted line formatting for system details in email notification.
Produced the latest font survey statistics and mailing list tables. Created new versions of SQL script to produce text results tables for the generic font family mailing lists. The scripts use the fontfamily.generic field value to select results for cursive, fantasy, monospace, serif and sans serif fonts using the combined font survey table format.
Latest updates to the Code Style font survey results:
Updated the summary site statistics for the past year with addition of a top search queries listing. Removed top book listing. Also updated the FAQ archive with most recent announcement page links. Added a top Firefox browser questions output to the FaqMenuGenerator class for inclusion in the Web browser FAQs.
Added a pop-up comparison features to the AbstractSample class through a set of methods to acquire the necessary configuration and process the output. The private getServletPath() method retrieves a stored copy of the original servlet request's path, getPopUpScript() and getPopUpComparison() get the HTML script element and pop-up link markup respectively. Inserted the new pop-up comparison link in the main TextSample class.
Refactored the SampleFactory class to simplify the logic concerned with issuing the relevant Sample type. Split out separate methods to getProperties(HttpServletRequest), check isComparisonType() and issue a newCompareSample(HttpServletRequest, Map, DocumentTemplate). This made the fundamental logic much clearer and made the primary factory method newSample(HttpServletRequest, DocumentTemplate) much shorter. Updated the SampleFactoryTest class as necessary.
Added a lower navigation bar to the ImageSample class to link to the equivalent CSS text sample page. Updated the FontSurveyTemplate class to generate image sample links with the necessary CSS class parameter.
These backdated pages record detailed changes to the Code Style Web site since July 2000, when development first got underway. Some pages may refer to documents or features that have since changed or are no longer part of the site, but the archive is checked to ensure there are no dead links.
For a summary overview, see the annotated site log contents.