Hacker News new | ask | show | jobs
by jaddison 5951 days ago
Use a framework that handles user accounts/passwords for you. Twitter, Facebook and other social auth frameworks can be plugged in easily via 3rd party modules.

I use and recommend Django, for example. I would imagine Ruby/Rails would have similar capabilities.

For Django tutorials/docs: http://docs.djangoproject.com/en/1.1/

Django is also about to release a major update in the first half of March (v1.2). Some GREAT improvements.

1 comments

I'm currently heavily entrenched in Sinatra. I'm surprised to learn that Django and Rails do user accounts for you. Crazy.
Sinatra has a few 3rd party libraries that do it for you. I'm using sinatra-authentication, which works great.