from Hacker News

RoughDraft.js – quickly create HTML mockups

by ndreckshage on 1/27/13, 3:21 PM with 10 comments

  • by 51Cards on 1/27/13, 5:19 PM

    IMO the client side looping and content creation becomes much more interesting when you consider throwing in an Ajax call and true content retrieval. Might be a case where it's beneficial to just output the base element to the client, have it decide on number of times to replicate and poll the server for content for each. This is a pretty common technique these days but it could be turned into a nifty little multi-purpose library.
  • by lifeisstillgood on 1/27/13, 6:00 PM

    I am crying out for something - this looks like the something - kind of.

    I am interested in adding two parts - probably jasmine-ajax style stubbing of AJAX calls, and marionette style regions - basically I would like to roughdraft a SPA.

    hmm - thinking about it really I just want to roughdraft a region then assign that region to be brought up by a button click - no need for ajax at all.

    This seems to assume bootstrap exists too - is that correct?

  • by rexreed on 1/27/13, 7:35 PM

    I don't get it -- couldn't you use something like Angular / etc. to do this? How could I use this to create something more rich than repeated div elements and placeholder text / images? Can you provide more examples?
  • by KshitizSethia on 1/27/13, 5:16 PM

    I couldn't find the documentation. Can you share the link to it?
  • by ahoyhere on 1/27/13, 5:14 PM

    Is it just me, or is this just a library that outputs placeholder divs and placeholder text? That doesn't fulfill the promise of "interactive HTML mock-ups" or "Quickly create and prototype a full interactive HTML mock-up."