Disappearing text in IE6

I have just found a work-around for a strange bug in IE6, when rendering empty paragraph elements. It seems to be related to this ‘Peekaboo’ bug, involving SPAN elements within styled containers, but only the pathology is similar, not any obvious causes.

Basically, an empty <p></p> would cause IE6 to mis-render entire sections of the page, making them flicker in and out of visibility when the chrome was resized, or when the text was highlighted. Firefox rendered the original text without problem.

Simple CMS Frameworks

I have some experience with using DotNetNuke as a CMS. It’s free, open-source, and has pretty good engineering. There are plenty of add-on modules available from sites like Snowcovered. Some of the UI elements are irritating: like a lot of early ASP.NET sites, there are too many postbacks, but it works well in general, and is easy to manage.

Community Server is targetted at a different market, and is ready-made for a typical portal site, with blogs, file downloads, forums etc.; whereas DNN is more like a toolbox, Community Server is one of those 5-in-1 screwdriver/drill combos. The asp.net site now runs Community Server, not surprising, since both are Microsoft-driven.

CMSs like PHP-Nuke are hopelessly out of date and riddled with bugs. In 2006 there is no excuse for having any SQL Injection vulns in web applications. Just do not execute raw SQL from the code: use Stored Procedures and parameters!

Joomla! is a fresh effort built on the base of Mambo, and is so far free of major bugs. It supports a flexible templating system, and has a bunch of nice features out of the can. It is, however, written in PHP, which is not very secure; PHP is seen by many as the scourge of the internet.

Decent Coding Fonts

Via Matt Reynold’s blog, we have ProggyFonts – a collection of small, clean fonts for use in big fat IDEs like VS 2005.

It makes a big difference to have small, readable fonts that don;t take up the whole screen, or degrade nastily at 7pt.

Oracle on AJAX

AJAX has received a lot of hyperbole over the last year or so, with some people renaming the web to “Web 2.0” [groan] in its honour. It allows websites to present a richer, more interactive interface, breaking the “click Next” sequential, disconnected web paradigm.

Personally, I believe that – in moderation – a bit of AJAX can be a good thing (think: Goole Maps) but that there is a danger of really breaking the normal web programming model. Google has thought about this, and have some useful guidelines for AJAX applications, along with a nice AJAX toolkit, which allows you to build applications in Java which are then compiled down to JavaScript. Anything which auto-generates compliant and working JavaScript, and therefore saves me from writing the stuff by hand, has to be A Good Thing. Writing JavaScript makes me feel unclean 😉

AJAX is here to stay, though, at least for the next couple of years. Oracle have put together a series of articles on AJAX from a JSF perspective, which explain the basics of AJAX rather nicely.

Grey Matter Workout

I spent part of today scratching my head and dredging up long-forgotten details of the .Net Framework and C# over at BrainBench.com – to my relief, I didn’t disgrace myself: a test score average of 4.25 puts me in good stead for my forthcoming MCP exam later in June.

Some of the tricky areas: