t6d / action_widget Goto Github PK
View Code? Open in Web Editor NEWA widget system for Ruby on Rails and Middleman.
License: MIT License
A widget system for Ruby on Rails and Middleman.
License: MIT License
There really should be some tests!
When calling rails destroy action_widget:create
, all widgets get removed because the directories spec/widgets
and app/widgets
get removed entirely.
Widgets delegate a lot of method calls to the view context using method_missing. To complement this feature, #respond_to_missing
should be implemented in order to allow querying objects for support for certain methods.
The folder should be configurable as well.
Hi.
I really liked this approach for organize my UI elements.
I'm wondering if this repository is still active.
Implement the class lookup in a way that it is actually working. Currently, the view helper drops the cache on each lookup.
The generator should use the given name as actual name and not the singular version.
Example:
rails generate action_widget:create Cities
exist app/widgets
create app/widgets/cities_widget.rb
exist spec/widgets
create spec/widgets/cities_widget_spec.rb
At the moment, however, the generator does the following:
rails generate action_widget:create Cities
exist app/widgets
create app/widgets/city_widget.rb
exist spec/widgets
create spec/widgets/city_widget_spec.rb
Rename action_widget:create
to action_widget:widget
.
Explain the usage and more important the design decisions and ideas behind action_widget
.
Add a command to the middleman CLI that allows for faster creation of new widgets.
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.