Drupal Webforms (https://drupal.org/project/webform) lets power users create their own forms through a web interface, choosing the types, labels, number, etc. of fields they want. It then can present the form to final end users to fill out, and collects the data in the database. Admins can then view the results tabularized online or download as CSV.
I want to see the same available for a Angular / Django stack.
Already someone has form generation from simple json descriptions – this being a tool to make form code faster to write for developers:
Someone else has started on form creation by users: this app allows users to spec out their forms and then it generates most of the angular code for the form:
By most, I think it does not yet handle saving the form to your server database.
Which makes sense as that would vary by backend.
Perhaps even better, another similar effort but with drag and drop to build bootstrap forms:
Either of these would be excellent open source projects to contribute to if any student devs are looking for cool stuff to do in their free time.
Drupal Webform has one maybe “fault” – it saves results from one form submission all together in the database as one results field – as a long string of concatenated key/value pairs. Probably this is ok, maybe even best approach – you could still make the admin table of results sortable and filterable by just doing that fully on the client side.
So to get to Webforms, above needs to extended – add autogeneration to include code to send json of results to django database via restangular and django rest frameworks api/deserializer and then front end admin interface so that admins can have a tabular view of all submissions and then an option to download those submissions as CSV. So for the admin view you would just throw them into an ng-grid (http://angular-ui.github.io/ng-grid/
) or better yet it would be nice to try ng-table http://bazalt-cms.com/ng-table/
which has download as CSV already built in.
they are sayin we software devs are becoming world rulers. well the economy anyway. works for me. (-:
>>> import this
The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Special cases aren’t special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one– and preferably only one –obvious way to do it.
Although that way may not be obvious at first unless you’re Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it’s a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea — let’s do more of those!
hmm, so treeview situation with Angular vastly improved.
first, not angular, but tempting because it already works well with remote data json src, and has drag and drop even between treeviews – which I was hunting for to see if already done by someone:
hmmm, would prefer angular of course, before there was only this:
but just now I found this:
plug and play angular drag and drop out there also getting better and better:
I’m in the news. (-: With some friends. Now if I could just get the time to revamp that site and make it better…
Web-based interface helps count herps
$ mysqldump -u DBUSER -p DBNAME > DBNAME.sql