Sunday, May 29, 2005

Useful APIs; to div or not to div; DHTML public secrets

I guess everybody here knows about Google API. Well, in a few words this is a thingy that allows programers to use Google search engine capabilities in their software. API comes in diffirent languages, PHP and Java are amongst them of course and it makes me to like Google even more. Today we have discovered that MEDLINE (PUBMED to be more specifically) has an API to access to their services too. (Type "define: medline" in google search to see what the hell is that.) No PHP version though; is PYTHON still that popular? I wonder if there is some kind of an online resource for publicly available APIs like those mentioned above. Some tresure for search spamers.
Can I ask you a question about HTML? I wonder how many people prefer DIV over TABLE and if there is any other descent way to format HTML page. I'd say that vast (if no the most) amount of web sites use tables purely for formating. We found out that HTML specification doesn't recommend it but says nothing about an alternative way. I'm begining to think that Google crawler might like pages that follow some HTML ethiqette (85% chance there is no such word) more then "dirty" ones. Simply since all Google pages including this blogger site are made of DIVs.
One of the guys I'm working with is doing a web site design and instead of a traditional "reload all page on every user action" scheme he used interactive DHTML The trick is to load a new portion of javascript after user makes a choice. Looks really nice and loading time is significantly lower. I'll put a working link somewhere HERE when the web site is ready. Won't give detailed explanation though unless someone asks.