python - Generate stateless client-side forms from server-side Models? -


client-side (example)

javascript framework: ember.js, angularjs or knockoutjs

server-side (example)

python-based: flask, web2py, django; or ruby-based: rails, ramaze, sinatra


are there open-source server-side libraries can take database schemas (models); , generate—mvvm or mvc—client-side forms?

specifically looking code generation of:

  • json http restful api endpoints
  • form validation callbacks in stateless javascript

yes, there are. https://github.com/frenesim/schema_to_scaffold example.


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -