OOP the Easy Way
Object-Oriented Programming the Easy Way: a manifesto for reclaiming OOP from three decades of confusion and needless complexity.APPropriate Behaviour
APPosite Concerns
FSF
Category 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
Posted in FP, javascript
Leave a comment
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
Posted in javascript, OOP
1 Comment
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 javascript, server, 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 architecture of sorts, javascript, software-engineering, tool-support, WebObjects
Comments Off on At the old/new interface: jQuery in WebObjects