title: Put the knife down and take a green herb, dude. |
descrip: One feller's views on the state of everyday computer science & its application (and now, OTHER STUFF) who isn't rich enough to shell out for www.myfreakinfirst-andlast-name.com Using 89% of the same design the blog had in 2001. |
FOR ENTERTAINMENT PURPOSES ONLY!!!
Back-up your data and, when you bike, always wear white. As an Amazon Associate, I earn from qualifying purchases. Affiliate links in green. |
|
Tuesday, December 11, 2012 | |
Dragging, dropping, and sorting with observableArrays - Knock Me Out: Allowing items to be dropped between arrays Purely a note to self. I'm not the biggest knockoutjs fan. It seems to encourage "foreach-ly verbose" mental modeling and TONS of behind the scenes overhead when used carelessly. And handling jQuery/UI<>knockoutjs interactions essentially have you write enough of a translation layer that it feels like you're rewriting jQuery/UI. You're kludging the two instead of doing it the right way with one. Very VB6 Wizardy, where it'd bind to a datasource and make a really crappily bound form with |<, <, >, & >| buttons on it, allowing folks who couldn't spell VB to write 70% of what you needed in 10 minutes, making nontechnical pointy heads believe your task was almost done when all you really had was a programmer who had no idea what was going on. Though admittedly that turned into a rant rather than a fair description of knockoutjs. ;^) But they're similar past a certain point. Knockout is more like playing Guitar Hero, where if you get good enough at the game, you would've been better off spending that time learning to play at least the bass guitar and had a real skill. If you get to be great at knockoutjs, you're great at knockoutjs. Doesn't make you a great js coder if Guitar Hero isn't in front of you. Learn to play the bass instead. But maybe I'm still missing something here. Labels: coding, javascript, knockout, noteToSelf posted by ruffin at 12/11/2012 09:19:00 AM |
|
| |
MarkUpDown is the best Markdown editor for professionals on Windows 10. It includes two-pane live preview, in-app uploads to imgur for image hosting, and MultiMarkdown table support. Features you won't find anywhere else include...
You've wasted more than $15 of your time looking for a great Markdown editor. Stop looking. MarkUpDown is the app you're looking for. Learn more or head over to the 'Store now! |
![]() |
|
|