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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20071212/50a566ee/attachment.html
This is now available via a git server. git://snatcht.com/git/merbful_authentication.git Cheers Daniel On Dec 12, 2007 11:30 PM, Daniel N <has.sox at gmail.com> wrote:> 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 > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20071213/d017f6d4/attachment.html
On Dec 13, 2007 5:42 AM, Daniel N <has.sox at gmail.com> wrote:> This is now available via a git server. > > git://snatcht.com/git/merbful_authentication.git >Daniel, could you mirror / push it also to a svn server? Without starting a long git/non-git discussion, lot of users will benefit from that. Thanks in advance, -- Luis Lavena Multimedia systems - A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. Douglas Adams
Indeed. On 12/13/07, Luis Lavena <luislavena at gmail.com> wrote:> On Dec 13, 2007 5:42 AM, Daniel N <has.sox at gmail.com> wrote: > > This is now available via a git server. > > > > git://snatcht.com/git/merbful_authentication.git > > > > Daniel, could you mirror / push it also to a svn server? > > Without starting a long git/non-git discussion, lot of users will > benefit from that. > > Thanks in advance, > > -- > Luis Lavena > Multimedia systems > - > A common mistake that people make when trying to design > something completely foolproof is to underestimate > the ingenuity of complete fools. > Douglas Adams > _______________________________________________ > Merb-devel mailing list > Merb-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/merb-devel >-- Damien Tanner New Bamboo Web Development Ltd. Creating fresh, flexible and fast-growing web applications is our passion. +44 (0)78 6312 7999 +44 (0)20 7099 7486 http://www.new-bamboo.co.uk