digitpaint / html_mockup Goto Github PK
View Code? Open in Web Editor NEWHTML Mockup is a set of tools to create self-containing HTML mockups.
Home Page: http://github.com/flurin/html_mockup
License: MIT License
HTML Mockup is a set of tools to create self-containing HTML mockups.
Home Page: http://github.com/flurin/html_mockup
License: MIT License
Currently the Mockupfile is loaded only when mockup release
or mockup serve
is called. I would like to load the generators, we could add them to Mockupfile.
Now thinking of it, perhaps loading them from a specific folder might work, however that folder should still configurable, and well, that should happen from Mockupfile I presume.
When running the bundler new gem commando, it generates bootstrap code for a gem. This result in the following namespace structure:
module HtmlMockup
module Awesome
# Your code goes here...
end
end
Plugins like https://github.com/DigitPaint/html_mockup-yuicompressor/ use
module HtmlMockupAwesome
end
I tend to like the first one better, while the second one is somewhat more unique resulting in less conflicts. It would be nice if we could leverage current structures like the bundler gem command to help us out, also in the end it wouldn't clutter the "global" namespace with all the required modules. In case, at a certain point, our code has to be used.
How about you, @flurin?
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
{
"id": "b0332a19-2d59-431a-90c3-9828f36b2824",
"name": "Weather last year, the story",
"objects": {
<%= partial "ajax/list", {:locals => {:name => "1"}} %>
}
}
Works by replacing .json.erb => html.erb -- however not a real nice sollution.
Emtpy files should be cleaned aswell in for example the sass processor for releases.
The new implementation in Template is much more robust than the mechanism used in the Rack middleware.
The one in Rack middleware should be removed as it should just use what the Template says it is.
Make mockup generators to generate basic project files
Just a little note, we have to update the mockup readme to document the new coolish features.
test
It would be usefull to get partials (and perhaps layouts) from other dirs then just ./partials
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.