Rob Gonda's Blog

DOM Vs. innerHTML

There is quite a debate when using Ajax/DHTML on whether to use DOM nodes or innerHTML. I've been a follower of innerHTML, not only because it's easier, not only because you reuse the same view layer, but now also because it's indisputably faster.

When using an MVC architecture, it's easier to reuse partial UI's by rendering them as usual and injecting them into the page using innerHTML. That has been the philosophy of Rails, and mine when coding any Model-Glue / MachII project using Ajax.

Check out this benchmark and see for yourself...

Dojo 0.4 to be released Tuesday

Dion from Ajaxian says Dojo 0.4 will be released next Tuesday at the Ajax Experience... nice, Firefox 2.0 and Dojo 0.4. The final release candidate is already available here.

Among other features, 0.4 includes:

  • GFX Library
  • Internationalization infrastructure
  • dojo.debug.console: console logger, improved debugging with Firebug
  • dojo.html.metrics - scrollbar width measurement, current font size measurements, the ability to get how much of an HTML fragment will fit on a single line in a container, and to populate a container node with as much of an HTML fragment as will fit into it. Also included is a way of measuring the dimensions of a node if one was to populate it with a specific HTML fragment.
  • Widget Infrastructure: namespace support, subwidgets, refactoring of dir structure
  • Widgets: New widgets have been added and updated including: VML support, FilteringTable widget, Slider, Toaster, DropDownTimePicker, RadioGroup, Clock, ProgressBar, Datepicker, Editor, AccordionContainer, and many more.

Server Mechanic Flash Game

Server MechanicIf you're a sysadmin or have every been one, you've got to play this game! Server Mechanic is a flash game about a man and a stubborn server that just won't start. You can play a 1-Player version against time and competing to win free hosting packages, x-box 360's, and a 42' plasma TV, or a 2-Player version to compete in real time against other visitors.

Behind the scenes, the server mechanic is using a ColdFusion MX7 Server and Flash Communication Server 1.5 for the 2-Player game.

IE7 Official Extensions Site

If you downloaded IE7, you would notice similarities with Firefox... Tabbed browsing, anti-phishing security, and you can even install extensions. I don't expect them to be as successful as FF's, mainly because FF is open source. Nevertheless, there are many useful addons which could make IE a much nicer browser to use.

Firefox 2.0 coming your way on Tuesday

The world's second most used Web browser is set to unleash the final build of its new version on Tuesday. Firefox 2.0, from the not for profit open source Mozilla Foundation, will be available for download from the Firefox website at getfirefox.com.

The user interface has not changes much from Firefox 1.5. There have been some improvements with the tabs feature, such as enabling users to close and reopen individual tabs more easily and a history list of previous tabs that have been opened, all of which we already had with the Tab Mix Plus extension. Mozilla also improved the anti-phishing security feature of Firefox 2.0, which warns users in advance when they look like they might be visiting a malicious web page. IE7, released last week, also has a similar feature.

This blog is running version 5.9.003. Contact Blog Owner