-

Chiron Codex: helping software engineers become centaurs. -

-
Blog
-
Podcast
-
Consulting
Tag Archives: javascript
A little challenge
A little challenge today: create a JS function that turns its arguments into a list of pairs. Actually, the brief was “using Ramda” but I ended up not doing that: function basePairwise(xs) { if (xs.length == 0) return []; if … Continue reading
Eating the bubble
How far back do you want to go to find people telling you that JavaScript is eating the world? Last year? Two years ago? Three? Five? It’s a slow digestion process, if that’s what is happening. Five years ago, there … Continue reading
Prototypical object-oriented programming
Some people think that the notion of classes is intrinsic to object-oriented programming. Bertrand Meyer even wrote a textbook about OOP called A Touch of Class. But back in the 1980s, Alan Borning and others were trying to teach object-oriented … Continue reading
The package management paradox
There was no need to build a package management system since CPAN, and yet npm is the best. Wait, what? Every time a new programming language or framework is released, people seem to decide that: It needs its own package … Continue reading
Derek Jones, from the PL advent calendar ‘J’ entry: Javascript would not have existed without the Internet and its ‘design’ must be a contender for the most costly software mistake [ever] made. Me, 14 months ago: Fundamentally I fear a … Continue reading
AJAX via jQuery in an Objective-C WebObjects app
As with using jQuery for DHTML, this was surprisingly easy. To make it simple to follow along I’ve published the source code to SignUp, a sample app. SignUp’s default page is comprised of two WebObjects components: Main is the top-level … Continue reading
Posted in Code & Craft
Tagged javascript, webobjects
Comments Off on AJAX via jQuery in an Objective-C WebObjects app
At the old/new interface: jQuery in WebObjects
It turns out to be really easy to incorporate jQuery into an Objective-C WebObjects app (targeting GNUstep Web). In fact, it doesn’t really touch the Objective-C source at all. I defined a WOJavascript object that loads jQuery itself from the … Continue reading
Posted in Design & Architecture
Tagged javascript, webobjects
Comments Off on At the old/new interface: jQuery in WebObjects