Since there are so many efforts at the moment to port restful_authentication
I figured I'd put a repo up so that it can be a collaborative effort.

You can pick up a copy of the repo at

git clone http://snatcht.com/git/merbful_authentication.git

at the moment the app is in a branch.  Not in the master.

get the branch by

git checkout -b remote/initial origin/inital_repo


At the moment I'm aiming for a straight port of restful_authentication with
datamapper in the intial app.  This will get it available to the community
at least.

Then it can be pulled out and gemified as a datamapper generator, and the
activerecord stuff ported out and included as a generator there too.

The ultimate aim is to extract as much of the functionality into mixins as
possible so that any updates are avilable with an update of the gem.  If you
wanted to customise the methods, just define them in your model/controller
to overwrite the mixed in ones.

The generator should only make the inital stubs with relevant includes, and
a mixin to map used functions of the ORM to what's being used in the plugin.

That way I hope specs can also be maintained as a single set of specs rather
than one set per ORM.

I'm aiming for minimal generator usage, with active_record, datamapper and
sequel ports to become available.

I'm not set in stone about the best way to reorganise it yet, and I'm more
than happy to discuss where people think it should go.

Let me know what you guys/girls think

Cheers
Daniel
_______________________________________________
Merb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/merb-devel

Reply via email to