Good examples of using autoform for user profile?


#1

I have been learning Meteor last few days – started with going through Discover Meteor.

Building a first app and want a form/UI to allow user to manage their personal settings on the network.

Autoform docs are helpful but would love to see some more detailed walkthrough if anyone knows examples. Have run into newbie problems understanding how to extend the Meteor.user w simpleschema/autoform/collections2 and tie it all together.


#2

Apart from autoform’s demo page http://autoform.meteor.com/quickform, I’d suggest just searching and then asking specific questions here or on stackoverflow. I had to get my head around how autoform, client/server validation, minimongo and server mongo, methods etc… all fit together. It’s very powerful for your typical crud page but it’s not one size fits all and diff ppl will have diff ways of solving the same problem. Welcome to meteor!


#3

Telescope uses Autoform to manage pretty much everything (including user profile).

Check out most of the files in this folder for the user accounts stuff: https://github.com/TelescopeJS/Telescope/tree/master/packages/telescope-users/lib/client/templates

And the Users schema here: https://github.com/TelescopeJS/Telescope/blob/master/packages/telescope-users/lib/users.js

I recommend cloning the repo and playing around with that stuff to get familiar with how it all works. You can check out the Telescope docs for more info. http://telescope.readme.io/docs/

Also, see the section of the docs that explains how Telescope uses Autoform/Simple-Schema to add/remove fields from default collection schemas.


#5

Thanks for the info @mordrax and @jeremy.

I was poking around in Telescope too - it seems like that will help a lot. Appreciate you culling the info!