Category Archives: Programming

jQeury + Perl = sant

Perl-programmeraren i mig blir lycklig när den ser jQuery-kod som jag skapat nedan: $(“#dialog”).dialog( “option”, “buttons”, { “Ok”: function() { $(“#”+id).val($(‘#dialog_selector’).val());$(this).dialog(“close”); } } ); Det är nästan så jag vill lämna den som den är, obegriplig och vacker, till nästa … Continue reading

  • Share/Bookmark
Posted in Funny, Open Source, Programming | Tagged , , | Leave a comment

osCommerce – tableCommerce

Aldrig förr har jag skådat så många tabeller som när jag arbetar med osCommerce. De som skrev basen till osCommerce måste verkligen ha älskat table-taggen. Förvisso var tables nästan oumbärlig för ett antal år sedan när det kom till layout … Continue reading

  • Share/Bookmark
Posted in Open Source, Programming | Tagged , , , | Leave a comment

Säker backup – Datormagazin

I senaste numret av Datormagazin (nummer 8 / 2010) finns en artikel som jag skrivit via mitt företag New Seed. Som vanligt är det en förhållandevis teknisk artikel, denna gång om hur man skapar sitt eget lilla backup-kluster av några … Continue reading

  • Share/Bookmark
Posted in News, Programming | Tagged , , , , , | Leave a comment

WordPress 3.0.1 ute

Så kör jag bloggen på nya WordPress 3.0.1! Den nya version tre känns vid första anblick inte speciellt annorlunda från tidigare versioner, dock känns det dagligen som man hittar någon ny liten finess. En av de mer välkomna nyheterna är … Continue reading

  • Share/Bookmark
Posted in News, Open Source, Programming | Tagged , , , , | Leave a comment

Utveckla till iPhone? Dax och damma av faxen!

Att börja utveckla till iPhone är inte en helt lätt process, i alla fall inte om man vill slutföra den som ett litet företag. Det mest bakåtsträvande steget i hela processen var när själva registreringen skulle slutföras och Apple bad … Continue reading

  • Share/Bookmark
Posted in Odd news, Programming | Tagged , , | Leave a comment

iPhone specific pages

I recently learned some tips and tricks for developing webpages for the iPhone. There is really only one major difference that must be there for it to work properly. The viewport-meta. <meta name=”viewport” content=”width=320; user-scalable=true” /> This meta-tag explains to … Continue reading

  • Share/Bookmark
Posted in Internet, Programming | Tagged , , , | Leave a comment

How to avoid a page being cached

All web programmers have probably had trouble with browsers caching pages it ought not to. So what can we do about it? Well in good old HTTP 1.0 we had a nice header that simply said: Pragma: no-cache Easy huh? … Continue reading

  • Share/Bookmark
Posted in Internet, Programming, Tips | Tagged , , , | 2 Comments

PHP Serialize vs Database normalization

I’ve recently started developing plugins for WordPress in PHP. Being an old school Perl programmer PHP comes very easy and MySQL is still same old MySQL. PHP don’t have many advantages over Perl in general except one very good one: … Continue reading

  • Share/Bookmark
Posted in Programming, Reflections, Tips | Tagged , , , , , , , , | 4 Comments

2009 – the year of the browsers

In 1989 we had zero web browsers as we know them today, allthough just about to be invented around the corner. In 1999 we had two web browsers fighting a death match, Internet Explorer and Netscape Navigator – a fight … Continue reading

  • Share/Bookmark
Posted in Internet, Programming | Tagged , , , , , , , , , | Leave a comment

Having fun with the WordPress Database

Today I’ve improved the starting page of this domain, www.fireflake.com. It looked very booring and I thought I’d have to do something with it but at the same time I knew I was to lazy to acctually maintain some interesting … Continue reading

  • Share/Bookmark
Posted in Programming, Tips | Tagged , , , | 3 Comments