Workstyle: Add vendor tests before using new library code

Hello again. Here is a snag-resolving article about a maintenance problem. There should be a thick volume called “Web Maintenance Pearls”, which everyone should be forced to read. Here’s the situation: You want to throw out a dependency. It’s an older JavaScript library, and you have a replacement lined up. Some plugin for a popular …

Upcoming meetup poster: active redesigning and customizing

Indulge me. I allowed myself to make a little poster. Öresund JavaScript Meetup #10 on June 14, in Malmö, at Hypergene’s offices. I guess there are a couple of things wrong with it. The date and time are lacking. Monday June 14. At 19.00. The URL says those things. (But people looking at a poster …

Change ID of a Component in ExtJS

ExtJS: The Component manager instance’s all collection does not let you change an ID of a component. Let’s say… you wanted to, anyway. Add this: Ext.ComponentMgr.all.changeKey = function(oldkey, newkey) { var comp = this.map[oldkey]; var index = this.indexOfKey(oldkey); this.keys[index] = newkey; this.map[newkey] = comp; delete this.map[oldkey]; }; Is there anything really wrong with this approach?

7th Öresund JavaScript Meetup (and the next)

So that was the 7th meetup about JavaScript. We learnt stuff about extending Chrome, that WebKit browser. Mark Wubben taught us. Thanks, Mark! You provided much more than a glorified walkthrough of the extant documentation, you gave us insight into how the workflow feels, and how a finished product can look. That went well. When …

4th Øresund JavaScript Meetup report

The 4th Øresund JavaScript Meetup was just held at Hypergene‘s Malmö offices, yesterday night. Eight brave souls made the journey to Malmö C and came to Hypergene’s quite fancy offices. After a little pizza snack and introductory conversation, we repaired to a meeting room. Networking was in full swing, in at least three languages, when …

Oresund JavaScript Meetup tonight

Quoth the Öresund JS meetup locally here: 18.00 – 18.15 Arrive, have some free pizza and soda 18.15 – 18.30 Introduction of members and talk about the future of the group 18.30 – 18.40 Mats Bryntse – How “global” are the modern Ajax frameworks 18.50 – 19.10 Olle Jonsson – Building a Dojo application using …

Hackmeetup on Javascript mini-report: RFID on Rhino

This past Tuesday, we ran another Hackmeetup. Same great location, same great time. Mark ran a talk about Typography on the Web for an audience of three. For the hardware experimentation session, Carl had left, so it was Mark, me, and David, and we all worked on the same project. Mark had brought a USB-connected …

Crosscheck wheel spin

At the last meeting with Copenhagen.rb, I said I’d test out Crosscheck – a JavaScript testing framework, suited for continuous integration or command-line testing. I had just tried getting it to run, following the slightly outdated Add Event tutorial. At last I got it to work, but I had to actually read the text, not …