rails-engine / form_core

A Rails engine providing ability to generate dynamic form.
MIT License
189 stars 29 forks source link

Doc for use dynamic form and save data #5

Open fercreek opened 5 years ago

fercreek commented 5 years ago

I want to use this gem, but there is an app example using it? If you have one I can help you with the documentation.

jasl commented 5 years ago

You can try the dummy app (in test/dummy), it's nearly full featured.

This gem, as I known, has been used in many projects, but sadly they are all closed source

jasl commented 5 years ago

You can ask any question, I'll help you as I can

fercreek commented 4 years ago

Thanks! I have been busy, but in a few days I'll use this gem :)

fercreek commented 4 years ago

Okay I have a question:

jasl commented 4 years ago

If the Dummy app suitable for you, you can copy these codes to your app, then you can do modify (e.g. add reference Form to User or Group, add persistence)

For styles, I use Bulma, it simple and easy to use, but may not suitable for business product, you can choose other, you need to refactor views under https://github.com/rails-engine/form_core/tree/master/test/dummy/app/views/_form_core

BTW, We actually have a stupid but super super powerful Form persistence solution, that allows you treat dynamic forms as plain native PostgreSQL tables, and we also implemented a Ransack-like query builder and aggregation with UI.

but I sold to my customers, so I can't open source, but my partner wrote a demo to show the technique, https://github.com/hooopo/schemaless-pg (although it's in Chinese, but the code really simple)