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 Category interface methods to get sorted sets of FAQ questions by various parameters getQuestionSet(), getQuestionSet(Date), getQuestionSetBySubject(String). Included some private methods in the FaqCategory implementation to get and compare Calendar instances: getCalendar(Date) and isSameDay(Calendar, Calendar).
Added a hasPremiumAnswer() method to the Question interface and FaqQuestion implementation. Also added getIssuedDate() and setIssuedDate(Date) methods to the Section interface and FaqSection implementation. Updated the FaqEditor application to load the issued date data, even though it is not editable through the Swing interface.
Created a working draft FAQRenderer class to work towards heirarchical rendering of FAQ navigation. Initial implementation only outputs FAQ sections.
Added JavaDoc comments to the working draft of DocumentMetadata.
Added draft styles to CSStdLiveryCommon.css and icon images to create an expandable menu format for the Help & FAQ section menu.
ul.FAQ {
list-style-type: none;
padding-left: 0em;
margin-left: 0em;
}
ul.FAQ li.Collapsed {
background-image: url(/images/icon-Plus.png);
background-repeat: no-repeat;
background-position: 1px 0.3em;
padding-left: 15px;
margin-left: -6px;
}
ul.FAQ li.Childless,
ul.FAQ li.Expanded {
background-image: url(/images/icon-Minus.png);
background-repeat: no-repeat;
background-position: 1px 0.3em;
margin-left: -6px;
padding-left: 15px;
}
Also checked in working draft Term interface and Swing SubjectTerm implementation for modular management of FAQ subject classifications.
Actions: Ask a question about this post, seek clarification or offer a correction.
IPMap output correction, 29th June 2007
Corrected IP node processing in the IPMap class to prevent redundant output of full IP addresses when their second level node is already represented. Also optimised the Iterator loop in the getMapIndex(int) method so that it breaks when the int threshold is met.
Created an AbstractAdSelector from the core of the original TextAdSelector servlet and added a set of template methods to support custom subclasses: getHeaderText(), getSelectorSummary(), getSelectorCaption(), getAnnualItemName(), getMonthlyItemName(). Extended TextAdSelector and created a new .
CycledAdSelector servlet from AbstractAdSelector and implemented all abstract methods
Actions: Ask a question about this post, seek clarification or offer a correction.
Added a number of answers to the standard FAQ pages and created a new FAQ archive page to link to announcement pages for all previous FAQs.
Moved the SQL transaction statements, BEGIN WORK; and COMMIT WORK;, in the applet font survey submission template to enclose each new font so that Unicode character encoding errors for individual fonts do not affect other valid font name submissions.
Downloaded and processed the latest font survey submissions and results, but did not update the site. Created a new SQL script to count the FAQ questions answered per year and number of premium content answers too.
Actions: Ask a question about this post, seek clarification or offer a correction.
Refactored AbstractTemplateServlet class to introduce separate getTemplateConfig(ServletConfig) and doServletInit(ServletConfig) template methods for standard initialization tasks. Added empty versions of the doServletInit() method to FontSampler, ViewSequence and EchoRequest servlets.
Created a new TextAdSelector servlet extended from AbstractTemplateServlet to select text ad service area selections. Multiple selections are abbreviated and passed through PayPal via a hidden custom field.
Actions: Ask a question about this post, seek clarification or offer a correction.
Updated the font survey results and corrected the sort order for servlet and servlet containers in the Help & FAQs navigation bar. Applied updates to various other question's asked count figures. Reduced the size of the backup file threshold for font survey notification requests.
Actions: Ask a question about this post, seek clarification or offer a correction.
SpellingChecker class, 6th June 2007
Created a working draft SpellingChecker class to answer a new FAQ question on the subject. The class uses a StreamTokenizer to parse dictionary word lists into a LinkedList and the same technique to identify words from the input. A short list of checked words is used to short-circuit the look-up process and un-matched words are listed with their line number on the console output. Also answered a number of other FAQs.
executeUpdate(String) call!
Downloaded SCOWL dictionary word lists from Kevin's Word List Page (part of the GNU Aspell project) and created a custom.10 word list for Code Style to test the new SpellingChecker class.
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 annotated site log contents.