WestNIC provides reliable web hosting services
Fastwebhost offers cheap web hosting & reseller hosting services
This page is part of a searchable archive of the Code Style site log. Technical implementation notes that shed light on when, why and how the site has evolved since 2000.
Follow the latest entries to the site log.
Added a Hashtable to the new draft XSL ResultCache to store the cache, and added Serializable declarations to Parameters and ResultKey to enable the Hashtable to be saved and loaded. Added addResult, getResult, deleteResult, and hasResult methods to manage ResultKeys, an emptyCache method, a public save method and private load method to deserialize the cache when the class is loaded.
Created a first skeleton draft of ResultValue and updated ResultCacheTest to test all new methods.
Actions: Ask a question about this post, seek clarification or offer a correction.
Added special handling of HTTP POST versus GET requests to the SourceBrokerFactory class for content submitted via HTML forms. Changed the FileContentRequest class to override IORequest and removed the redundant getBufferedReader and getInputStreamReader methods it now inherits.
Created a new StringContentRequest convenience class that also overrides IORequest, and a StringBroker to handle its interface with JAXP stylesheet transformations.
Actions: Ask a question about this post, seek clarification or offer a correction.
Separated out a new protected handleRequest method for the abstract ParseServlet superclass for more flexible implementation of stylesheet transformations through doGet and doPost methods. Also added further stylesheet parameters to display specific answers and category listings.
Actions: Ask a question about this post, seek clarification or offer a correction.
Corrected the content type of the new draft ParseFAQ servlet to text/html and revoked the final status of the setParameters template method.
Actions: Ask a question about this post, seek clarification or offer a correction.
Assigned version number 1.0 to various XSL import stylesheets for release:
AbsolutePath for obtaining an absolute path from a relative URL.
DomainExtractor for obtaining a host domain URL from a full URL.
MakeURI for obtaining a URI from a relative or absolute URL and a base directory.
ParentDirectory for obtaining the parent directory for a given URL or file path.
Added notes on imported stylesheet dependencies in XHTML to RSS stylesheet.
Actions: Ask a question about this post, seek clarification or offer a correction.
Extracted server questions from the FAQ: Java servlets page to create a new Java servlet containers FAQ page, with a new question about loading supporting classes in Tomcat. Updated all local navigation menus accordingly.
Added glossary and FAQ links to each of the generic font family samplers: sans serif, serif, monospace, fantasy and cursive.
Added new FAQ answers on custom document types in XHTML.
catalina.bat?
tomcat-apache.conf, how come?
Actions: Ask a question about this post, seek clarification or offer a correction.
Changed the static getQueryResults methods in the DatabaseUtilities class to throw SQLException and ClassNotFoundException to report problems, rather than return null. Added new executeInsert, executeDelete, getQueryDatum and getKeyDatum convenience methods with basic error checking. Also added boolean isSingleRow, isSingleColumn, isSingleDatum methods to the DBResults class.
Set a common JDBC driver for PostgreSQL across all Ant build profiles. Set the project distribution output directory to ./tomcat/lib for rapid deployment to a forthcoming project.
Actions: Ask a question about this post, seek clarification or offer a correction.
Added stylesheet parameters to the new draft ParseFAQ servlet to develop more advanced navigation features, and glossary or FAQ output options. Added pre element handling to the XHTML element copy template.
Actions: Ask a question about this post, seek clarification or offer a correction.
Added the target servlet class name to the constructor for MockServletConfig to implement the getServletName method required under the Servlet 2.3 API. Then had to upgrade the 14 unit tests that use the class.
Added a distribution target to the Ant build file to release mock object classes only.
Actions: Ask a question about this post, seek clarification or offer a correction.
Assigned version number 1.0 to the DCElements XSL that generates Dublin Core namespace elements from XHTML meta elements to package for re-use in a forthcoming project.
Added seealso and link elements to the faq.dtd.
Actions: Ask a question about this post, seek clarification or offer a correction.
Added Opera 7.50, Firefox 0.8.0+, Firefox 0.8 and Galeon versions 1.3.7 and 1.3.11a to the validation script for the Code Style font survey. There were an exceptional number of submissions this week thanks to referrals from Dive Into Mark, Mezzo Blue and Zeldman, so a special update to the results pages was compiled and issued.
Adjusted the minimum results limit on the draft FontStats servlet to zero, to build the full combined font survey results table directly. The zero value equates to no SQL LIMIT statement.
Added an SQL ORDER statement to the font survey submissions per month query, and modified the surveyline table to include the Bitstream Vera font images in the Unix family font survey results.
Actions: Ask a question about this post, seek clarification or offer a correction.
Introduced a new set of font sampler pages that classify the most common fonts according to their generic font family: serif, sans serif, monospace, fantasy and cursive fonts by platform. Created new menu include files and updated other menus and contents page.
Updated FAQ: Java servlets with a question on the run() method. Changed many section contents pages to use the new footer include file with RSS links, apparently omitted from changes on 25 January.
Made a minor change to all email feedback templates to improve formatting on reply.
Actions: Ask a question about this post, seek clarification or offer a correction.
Deployed a first draft FAQ.xml file to the development environment and created an initial XSLT to generate basic XHTML markup with metadata, anchors and formatted answers. Extracted two separate templates for modular inclusion to copy XHTML elements and attributes respectively.
Actions: Ask a question about this post, seek clarification or offer a correction.
Adapted the ParseRSS class to implement a new ParseFAQ transformation servlet. Necessary to revoke the final modifier on the init method of the abstract superclass ParseServlet to introduce a new parameter for the source XML file. Also had to update the SourceBrokerFactory to acquire a FileBroker for the source. Deployed the first draft faq.dtd and added it to the local ResourceResolver Hashtable.
Updated the remote Ant filter files for the Code Style build to include the new ParseFAQ stylesheet file name in the servlet configuration.
Actions: Ask a question about this post, seek clarification or offer a correction.
Find technical implementation notes on all aspects of the Code Style site.
For a summary overview, see the final site log contents.