TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

RoughDraft.js – quickly create HTML mockups

57 pointsby ndreckshageover 12 years ago

5 comments

51Cardsover 12 years ago
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.
评论 #5124926 未加载
lifeisstillgoodover 12 years ago
I am crying out for <i>something</i> - this looks like the something - kind of.<p>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.<p>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.<p>This seems to assume bootstrap exists too - is that correct?
rexreedover 12 years ago
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?
评论 #5125331 未加载
KshitizSethiaover 12 years ago
I couldn't find the documentation. Can you share the link to it?
评论 #5124870 未加载
ahoyhereover 12 years ago
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."
评论 #5124943 未加载