Hijax

Posted Thursday 8th September, 2005

Ryan Campbell, over at particletree.com has recently published an article entitled: The Hows and Whys of Degradable Ajax.

It makes for an interesting read.

At my day job we’ve been adopting degradable javascript DOM scripting for some time, so degradable AJAX seems obvious to me. It is also the case, however, that many sites don’t bother with degradable code resulting in unusable pages for the 10% of people out there that have JavaScript turned off. Which is nasty.

Make sure when you read the article you read the comments - Jeremy Keith as ever is a wealth of information and catchy new designations!

Thylacine

Posted Tuesday 6th September, 2005

On this day, in 1936, the last surviving member of the Thylacine species, Benjamin, died alone in his cage at the Hobart Zoo, Tasmania.

Yet another victim of mankind…

Why did I make this a blog entry? I don’t know - these things just matter to me…

PHP and the Amazing Invisible Session

Posted Monday 29th August, 2005

Yow. Just discovered the solution to a bug I’ve experienced many times in the past! To be honest, I’m not sure why I haven’t looked for a solution before.

Often, having created a $_SESSION variable in PHP and then redirecting using the header command, you’ll discover your session has somehow disappeared! This is because you’ve technically done a redirect before PHP has worked out you’ve finished with the session. Solution? Tell PHP you’re done with the session using the session_write_close() function like so:


// Set up your session
session_start();
// Write something to it
$_SESSION['myvar'] = 'dave';
// Tell PHP you're done writing to it
session_write_close();
// Redirect
header('Location: mypage.php');

What a doddle!

Typography

Posted Saturday 27th August, 2005

Typefaces (or Fonts). The intermaweb is full of them; some nice, some not so nice. Faruk Ates has recently posted a blog entry about the differences between serif and sans-serif typefaces and their use on the web. However, the article has brought me to an interesting question:

ClearType or no ClearType?

Windows XP allows you to select a better form of on-screen font rendering called ClearType within it’s display properties. This basically makes on-screen fonts a lot prettier. However, this feature is only available in Windows XP and is therefore limited to a select audience. For this reason, should we, as designers, have it turned on? Surely this could result in illegible fonts on our work for some systems that we’re just not aware of!

Personally, I keep ClearType turned off - but only because I spent many years working on a horribly archaic Windows 2000 system and couldn’t get used to ClearType when I upgraded. However this means that, whilst I’m working, my fonts are rendered in a more common format - allowing me to better design for a wider audience.

So, what’s general consensus on this?

The Truth Is Out There

Posted Monday 15th August, 2005

According to New Scientist, China are on track to send a satellite to the Moon. Apparently they’re going to map it in 3D and do general science-type surveyanceseses.

I wonder what will happen when their survey finds no trace of an American landing mission…

Categories:

  1. Accessibility
  2. Agile
  3. Ajax
  4. Apache
  5. API
  6. Architecture
  7. Books
  8. Browsers
  9. CMS
  10. CouchDB
  11. CSS
  12. Design
  13. Development
  14. Django
  15. Email
  16. Events
  17. Gaming
  18. Grammar
  19. Hardware
  20. HTML
  21. HTTP
  22. Humour
  23. Idea
  24. Information Architecture
  25. JavaScript
  26. jQuery
  27. Lean
  28. Life
  29. Linux
  30. Literature
  31. Mac OS X
  32. Management
  33. Meme
  34. Microformats
  35. Monday
  36. MySQL
  37. Networking
  38. News
  39. Personal
  40. Photoshop
  41. PHP
  42. Process
  43. Python
  44. Reference
  45. REST
  46. Science
  47. SEO
  48. Server
  49. Site
  50. Sitepimp
  51. Social
  52. Spelling
  53. Syndication
  54. Testing
  55. The Future
  56. Thoughts
  57. Tools
  58. Tutorial
  59. Tutorials
  60. Typography
  61. UI
  62. UNIX
  63. Virtualisation
  64. Web
  65. Web Standards
  66. Widgets
  67. Wii
  68. Writing
  69. Xbox
  70. XHTML