RSS ? Recent Blog Posts

Blogs » Archive for October, 2006

News Wire: Reinventing HTML

by Kevin Yank

  • Reinventing HTML
    W3C Director Tim Berners-Lee addresses the state of HTML, and how the wholesale switch to XHTML with no further work on non-XML HTML has failed, and how the W3C’s approach will change. It’s a relief to finally hear from the W3C leadership on this.
    (tags: )
  • Reinventing HTML: discuss
    Comments on Berners-Lee’s “Reinventing HTML” have been solicited here. Some of the more thoughtful reactions are definitely worth reading.
    (tags: )
  • How not to fix HTML
    Accessibility guru Joe Clark criticizes Berners-Lee’s “Reinventing HTML” as not addressing the fundamental problem with the W3C’s work on markup: that it is dominated by computer-science and math applications. Also, he asks again: what about WCAG 2?
    (tags: )
  • Friday Fun: I Hate Cookies
    From the technical minutiae file, Mark Nottingham looks at some of the vagaries of the HTTP headers associated with cookies, and discovers that, of the current batch of modern browsers, only Opera fully supports the applicable standards. (thanks harryf)
    (tags: )
  • HOWTO Make Yahoo! Web Service REST calls with Ruby
    The Yahoo! team has …
 

The Case for Registering Multiple Domains

by Harry Fuecks

Via /.Optimizing Page Load Time has some very interesting insight, in particular this point;

By default, IE allows only two outstanding connections per hostname when talking to HTTP/1.1 servers or eight-ish outstanding connections total. Firefox has similar limits. Using up to four hostnames instead of one will give you more connections. (IP addresses don’t matter; the hostnames can all point to the same IP.)

That’s actually an HTTP 1.1 recommendation (section 8.1.4);

Clients that use persistent connections SHOULD limit the number of
simultaneous connections that they maintain to a given server. A
single-user client SHOULD NOT maintain more than 2 connections with
any server or proxy. A proxy SHOULD use up to 2*N connections to
another server or proxy, where N is the number of simultaneously
active users. These guidelines are intended to improve HTTP response
times and avoid congestion.

More snippets of insight here and here. This is also something you should think about related to AJAX.

A minor nit: the approach recommended in “Optimizing Page Load Time” is;

Rather than loading all of your objects from http://static.example.com/, create four hostnames (e.g. static0.example.com, …

 

The Joy of Regular Expressions [4]

by Harry Fuecks

Having found some more joy, time to interrupt your Friday evening viewing, picking up the saga from where we left off last time.

Contents


Is that a date?

You’ve already had your first taste of sub patterns here, where they where used to capture a word and wrap it in an HTML span tag via preg_replace_callback(). It’s time to explore sub patterns a little further…

You’ve got a string containing a date / time stamp like ‘20061028134534′ – that’s year (4 digits), month (2 digits), day of the month (2 digits), hour (2 digits, 24 hour clock), minutes and seconds (both 2 digits). You need to break it up into it’s constituent parts so you can use them for calculations.

Now you could use multiple calls to substr() but an alternative solution is a regular expression, for example;

<php
$date = ‘20061028134534′; # The input date string

preg_match(
‘/^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})$/’,

 

Browsershots.org: Test nine browsers for free

by Alex Walker

Ever lay awake at night wondering what your latest web masterpiece looked like in Konqueror 3.5.5 on Ubuntu Edgy? I think we all have. Lie awake no more.

Browsershot.org optionsAlthough Web-based Browser testing services are nothing new — Browsercam has provided a paid service for years and sites like Dan Vine’s iCapture Safari testbed have done a wonderful job filling the gaps — Browsershots.org may just be the most comprehensive free service I’ve seen.

Still in alpha release and termed a “technology preview”, Browsershots.org currently provides full-length (i.e. not just the viewport) renderings of nine browsers across three OSs, including such family favorites as Safari 2.0 on Mac, MSIE 7.0 on Windows and Opera on Ubuntu Linux.

Browsershot.org optionsAlthough it’s not clear whether this service will become a paid subscription service, it’s certainly free, robust and very useful at the moment.

Apparently Digg ground it to a halt a little while ago, so feel free to test it out but perhaps don’t tick
all the browser boxes unless you really need to.

 

Oct 26, 2006 News Wire

by Kevin Yank

  • Getting Real, the book, now comes in three flavors
    37signals re-releases its popular ebook, Getting Real, in print-on-demand paperback and as a free HTML version for online viewing.
    (tags: )
  • XSS Fragmentation Attacks + MySpace 0day
    A new vulnerability in MySpace arises when posting two fragments of code, neither of which is harmful on its own, but when they appear next to each other on the page combine to produce harmful code. The researcher labels this an XSS Framentation Attack.
    (tags: )
  • Adobe Soundbooth
    Adobe has launched a free beta of SoundBooth, a new sound editor for Windows and Mac. The software is ideal for designers that need to clean up, apply effects and add music to individual clips, but to combine multiple tracks you’ll need another editor.
    (tags: )
  • Serve friendlier RSS and Atom feeds
    An interesting technique for dislaying RSS/Atom feeds in browsers that don’t recognize them (such as IE 6). Using an XSLT style sheet to convert the feed to HTML, you can present a usable view of the feed’s contents, or redirect to a subscription service.
    (tags: )
  • How To Look Like A UNIX Guru
    A cheat sheet of sorts for rapidly …
 

The State of ColdFusion

by Kevin Yank

The following is republished from the Tech Times #151.

In issue 145 of the Tech Times, I offered some advice on which web technologies beginners should invest time in learning. Ben Forta, the Senior Technical Evangelist at Adobe, felt I misrepresented ColdFusion when I described it as “relatively stagnant.” Having done some homework, I’ve now changed my thinking a little.

First, here’s Forta’s objection:

You are correct about the gentle learning curve, but can you clarify “relatively stagnant”? Just to be clear, the Webster definition of stagnant is “not advancing or developing”. ColdFusion was first released in 1995, ColdFusion MX 7 was released in 2005, 7.0.1 later that same year, and 7.0.2 in June of 2006. In addition, the ColdFusion team is hard at work on the 8th major version of ColdFusion (currently codenamed “Scorpio”), to be released in 2007. Obviously, we are both advancing and developing ColdFusion, and so the term “stagnant” is utterly inappropriate. As such, I must request that you update and correct your statement.

Forta goes on to point out that ColdFusion sits atop a Java foundation, and as such benefits from the full power and flexibility of that platform. My thinking here is that …

 

The Browser Wars: Not Taking Sides

by Kevin Yank

The following is republished from the Tech Times #151.

Internet Explorer 7 and Firefox 2 logosThe past week has seen the releases of both Internet Explorer 7 and Firefox 2. The browser wars are back on, and for the first time in a while, it’s our duty as responsible developers not to take sides.

In response to the IE 7 release announcement on SitePoint, I was surprised at the proportion of comments vowing to “stick with Firefox”, some even suggesting they wouldn’t bother installing the IE 7 update at all!

Thanks to its versatile extension system, Firefox is likely to remain the primary browser on most web developers’ systems, I’ll certainly grant you that. But these latest releases are in no way justification for us to treat Internet Explorer as a second-class citizen in the work that we do! If anything, we should be looking to embrace any browser that prioritizes support for web standards by basing our work on those standards.

And in that respect, Internet Explorer 7 is most certainly a very respectable stride in the right direction. I just don’t understand how people can claim that IE 7 has “horrible CSS support.” Microsoft has done an excellent …

 

Oct 25, 2006 News Wire

by Kevin Yank

 

Oct 24, 2006 News Wire

by Kevin Yank

 

IE 7 Incompatibility Sightings

by Kevin Yank

My girlfriend is about to graduate from a teaching degree, and is looking for a job in the area. Upon visiting the official government site where these jobs are posted today, she noticed this message:

Microsoft Internet Explorer 7

Microsoft now has available for download version 7 of Internet Explorer (IE7). Recruitment Online is based on a PeopleSoft platform which is yet to be certified for use with the new version of Internet Explorer. Recruitment Online users who have downloaded IE7 are unable to successfully log in to Recruitment Online. Currently there is no setting that can be altered to overcome this issue. Instructions for un-installing IE7 are available from the Microsoft web site (http://msdn.microsoft.com/ie/releasenotes)

Nice, eh? And if this looks like an attempt to pass the buck to PeopleSoft, you’d be right. According to related discussion groups and other sources, PeopleSoft, recently acquired by Oracle, has no significant issues with IE 7, and Oracle expects to certify current versions of PeopleSoft for use with IE 7 shortly.

Has anyone else seen any cases of IE 7 unpreparedness in the wild?

 

Sponsored Links

SitePoint Marketplace

Buy and sell Websites, templates, domain names, hosting, graphics and more.

Follow SitePoint on...