Is there a convenient way to prototype future structure of View layer of MVC framework (Rails or like) on pure HTML? -


my "rails friends" have situation when ui designer beginning work on prototyping ui screens on own - rails programmer busy , going join work later, later.

i know, easy ask ui designer learn rails rendering mechanism, begin prototyping on rails, interested,

is possible setup views structure using partials (reusable pieces of html views) using pure html, without ruby code inside?

the approach see use ssi. there other options?

what needed possibility 1 html-file have string like

<whatever include other.html ...> 

which include contents of other.html inside body.

this way, future project can divided logically on changeable/nonchangeable parts without ruby/php code partials.

update 1

the quoted wiki page ssi has client side includes section suggests using object tag seems work

<object type="text/html" data="test.html"></object> 

one suggestion use sinatra, simple , quick web framework static sites.

it's easy start using sinatra beginner. however, if ui man doesn't know , don't want study coding, can still utilize planning partial names , ask developer setup him. need later fill each blank templates , add js css image assets.

benefit of sinatra:

  • friendly static sites
  • simple use
  • lots of templating language use, same rails
  • the partials/templates can ported rails later 0 efforts!!!

Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -