jellybob / activo-rails

Activo is a theme for Web-app-theme, Formtastic and Attrtastic. This is a Rails plugin to make it painfully easy to use.
http://dmfrancisco.github.com/activo/
MIT License
42 stars 8 forks source link

Generators #19

Open standardtoaster opened 13 years ago

standardtoaster commented 13 years ago

I think it would be pretty handy to write some generators for using activo and form/attrtastic. Should those go into web-app-theme, or do you think we should add them to activo-rails?

I ask because it appears that activo has diverged from web-app-theme. Including web-app-theme just to use the "themed" generators seems confusing.

Opinions?

jellybob commented 13 years ago

I have to admit I've never used the web-app-theme generators - what do they do?

I'm very happy to have some sort of form generator in activo-rails, but I very rarely use generators, so I'm probably not the person to be designing them.

standardtoaster commented 13 years ago

They basically set up all of the cruft, same as the standard scaffold, but the markup fornusing the themes that activo is built on.

I mostly use them for reference implementations, to get the hang of the markup expected of me - which I find is fairly difficult with activo.

I'm more than happy to contribute a generator, which I think would greatly help out new users. Do you happen to have a test or sanitized app that utilizes all of the fun stuff like attr/formtastic? It would help me check my implementation, which I could then use to write said generator, plus a reference app would be nice for testing.

jellybob commented 13 years ago

That sounds good to me - the only reference application I know of is Vowessly, the application that this was extracted from - it can be found at http://github.com/jellybob/Vowessly/. I'm not using attrtastic, but Formtastic gets a fairly decent workout.