Archive for May, 2009

Tables Vs CSS Layouts

Sunday, May 31st, 2009
No Gravatar

I’m in the midst of customizing the themes for my blogs. Now, if I had oodles of time, I would build my own theme from the ground up. I don’t have a nano-oodle, let alone multiple oodles, so I’m just hacking up the default theme.

No matter how well designed a web application is, it is always hard to step into someone else’s work and make changes that perfectly dovetail the original source. Not impossible, just hard. So, to keep a long story from getting way too long (it is impossible to make a long story short, because it is always too late by the time the thought occurs), I found myself using tables to modify the layouts (gasp!).

Using tables for something other than tabular data is something I avoid, but I do it anyways sometimes. In the case of the theme on this blog, it was a matter of the fastest way to modify an existing layout that I did not design. If I had more time, I’m sure I could have gotten past the bugs that cropped up when I tried modifying the CSS instead. If I had built it myself from the ground up, I could definitly have avoided the table approach because I am careful to avoid redundant classes and I document the things that aren’t glaringly obvious because I know I will forget later if I don’t. But, since neither of these were the case, I used the table. The momentary twinge of guilt passed as soon as I moved on to something else that caught my over-burdened attention. Until I ran across a job posting that stated something to the effect of “If you use tables for layout, do not apply”. Which got the question stuck in my mind “what is the truth about using tables or CSS for layout”?

I’ve been reading about the topic for six or seven years now, so it didn’t surprise me that a search on “tables vs divs” in Google returned  “about 15,400,000” results in 0.41 seconds. What did surprise me was that the first six results were 100% relevant, and that the general consensus of the first ten results agreed with my thoughts on the topic, which are:

  • The approach that is the least complicated is preferred over the one that is the most complicated
  • The semantic web is yet to come, hopefully will come, and it is better to use CSS for layout than tables when it does get here
  • If the layout is overly complex, the semantics will be lost regardless which approach is used
  • There is no value in re-writing your code simply to eliminate tables in layouts, while it is valuable to update to CSS if you need to re-write anyway
  • The best choice depends on the goal of the page

If this sparks folks to register and comment, I will be happy to elaborate further.

  • Share/Bookmark

GIS

Friday, May 29th, 2009
No Gravatar

For those smarter or more up on acronyms than I, ignore this post.

As posted at my parent blog, I was reading this SF story last night in Analog. There was a reference to GIS, which I’ve seen around alot lately on the job boards but haven’t bothered to look up.  For the curious, it stands for Geographic information system.

  • Share/Bookmark

Consider This When Planning Web Services

Friday, May 29th, 2009
No Gravatar

As soon as Web Services started getting buzz I was both excited and concerned. Interoperability and reuse are great things. Shorter time to market is a huge benefit. Bandwidth is limited. That last was never brought up by the sales people taking clients to $1000 dinners while pitching $30,000 web service platforms with $1,000,000 support contracts.

Web services are still a great way to expose legacy systems to myriad clients across the enterprise. Where they become expensive is when they are built with only one or two expected clients to support a (myopic) SOA vision. Especially when many of the new services being built are only aggregations of other services that will generally be a specialized interface to business logic required by a limited number of clients.

If an architecture includes web services, a list of clients must be part of support case or the design is simply buzz word bingo.

This technical rant was prompted by a developer.com article that has way to much code to share with the folks who will often make the final decision, but may get their advisers excited enough to explain it to them.

  • Share/Bookmark

Good Article on WebLogic Deployment Plans

Tuesday, May 26th, 2009
No Gravatar

In WLS, deployment plans let you change the values in deployment descriptors at deployment time. This is really handy when you want to move your deployment archives from one environment to the next (i.e., from Staging to Production) and need different settings based on the environment. Maxence Button blogged an excellent how-to at http://m-button.blogspot.com/2008/08/how-to-use-deployment-plan.html

  • Share/Bookmark

Favicon Generator

Monday, May 25th, 2009
No Gravatar

I rememeber what a pain this was the first time, and the next to last time, where I hadn’t done it in years. Today I found an site that will generate one for free and tells you how to use it. Must have bookmark: DeGraeve.com Favicon Generator.

  • Share/Bookmark

Google Maps Gets Even Cooler

Monday, May 25th, 2009
No Gravatar

Apparently they are just starting this new bit where they show the actual buildings on the street maps and camera shots. It doesn’t show up everywhere, but it does in Boston. See for yourself here: http://www.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=boston&sll=35.229548,-80.834937&sspn=0.001597,0.002865&ie=UTF8&ll=42.358845,-71.05559&spn=0.005779,0.011458&z=17

  • Share/Bookmark

Cross Domain AJAX on FireFox…Sort Of

Monday, May 25th, 2009
No Gravatar

At least, how to run it locally. Explained well at http://blog.dirolf.com/2007/06/enabling-cross-domain-ajax-in-firefox.html

  • Share/Bookmark

Keep Your Ego in Check

Friday, May 22nd, 2009
No Gravatar

I have to point to this just for the title: Never Eat Anything Bigger Than Your Head. Just wish I could remember where I first heard that phrase…

Anyway, it is a good post about sizing stories in Agile.

  • Share/Bookmark

Couple of Twitter Notes

Thursday, May 21st, 2009
No Gravatar

Yesterday an acquaintance began following me on Twitter, and I found that they were using Twitter Job Search. It’s in beta, and I wish I had time to contribute as it looks promising.

It appears that some companies are following people as a marketing approach, which is the only reason I can think of for an eBusiness-in-a-box company to start following me that had no job postings. Their Twitter page did remind me that I wanted to customize my Twitter page as I have noticed some folks have done, and I found this handy blog post on how to.

  • Share/Bookmark

The Dawn of Tech Support

Wednesday, May 20th, 2009
No Gravatar

Someone emailed this to me today. Still laughing.

The First IT Professional

  • Share/Bookmark