Simo Virokannas

Writings and ramblings

Category: JavaScript

  • Dashcode, part II

    After using Dashcode for almost a year now, this is the bottom line: “Don’t make any big projects with it.” – A random Dashcode user After a while, when the project gets bigger, you’ll have some 20+ Javascript files, thousands of lines of code, several data sources (which are great, btw), it gets really slow.…

  • Wonderful null character

    I recently programmed a lengthy piece of online software with PHP and JavaScript, utilizing server-side PHP/MySQL queries. But there was a problem that just popped out of nowhere – all but one data entry worked perfectly. This one row, when observed from the SQL server side (with a great tool called Sequel Pro), looked perfectly…

  • Javascript, Base64, PHP, UTF-8

    Javascript, Base64, PHP, UTF-8

    I’m working on a small application that communicates through JavaScript to a PHP script, and usually the data contains text in UTF-8 format to make everything as compatible as possible. The text in UTF-8 format doesn’t go too well into an AJAX call GET URL. So it has to be further encoded with an encoding…