Category Archives: Javascript

Javascript Element Creator

Some time ago I was working on optimizing the client side code of my website, plnnr.com, an online trip planner. This website does automatic trip planning, and the problem was that recalculating trips was slow. After profiling, I found out … Continue reading

Posted in Javascript, Optimization, Programming, Projects, startup, web-design | Tagged , , , | 2 Comments

Javascript Optimization Tricks

Profiling, Profiling, Profiling This seems obvious, but still merits a mention. Don’t optimize your code before profiling it. If you need a profiler, just use firebug’s. Having tests to make sure that your post-profiling code is equivalent to the original … Continue reading

Posted in Javascript, Optimization | Tagged , , , , | 2 Comments

Debugging in IE.

I did something I shouldn’t have done: from JavaScript, I appendChildNodes()-ed some text and an img to an existing img. I apologize. Firefox told me it was OK. To put it more accurately, Firefox didn’t tell me anything, and just … Continue reading

Posted in Javascript, Programming, rants | Tagged , , , , | 1 Comment

Mochikit Drag&Drop Corner Case

I found myself working again on the UI for my startup. As my Javascript library, I use Mochikit. One of the reasons for that is that it’s the Turbogears builtin, and I came to like it. The other is that … Continue reading

Posted in Javascript, Programming, startup, web-design | Tagged , , , , | Leave a comment

Website development and not supporting Internet Explorer 6

My partner and I started to work on a website a few months ago. We have a working prototype, and we are always improving it. My work is mostly concentrated on a smart Python backend, and on a Javascript front-end, … Continue reading

Posted in CSS, Javascript, startup, web-design | Tagged , , , , | 1 Comment