Abstraction, or Just Reinventing the Wheel?

We wrap up our chapter on drag-and-drop behaviors with some refactoring. I wanted to simplify the HtmlElement constructor to take a DOM element rather than leaking its use of jQuery. This turns out to be easier than expected, but it raises tough questions about the fine line between abstraction (good!) and reinventing the wheel (bad).

  1. E121Toward a Minimum Viable Product

    Mon, 5 Aug ’13
  2. E122jake run

    Wed, 7 Aug ’13
  3. E123A Question of Design

    Mon, 12 Aug ’13
  4. E124Return of the HtmlElement Abstraction

    Wed, 14 Aug ’13
  5. E125Radical Simplification

    Mon, 19 Aug ’13
  6. E126relativeOffset()

    Wed, 21 Aug ’13
  7. E127Dumbfounded

    Mon, 26 Aug ’13
  8. E128If Not for Those Meddling Kids

    Wed, 28 Aug ’13
  9. E129Too Many Events

    Mon, 2 Sep ’13
  10. E130Broken Windows

    Wed, 4 Sep ’13
  11. E131Special Cases

    Mon, 9 Sep ’13
  12. E132Abstraction, or Just Reinventing the Wheel?

    Wed, 11 Sep ’13