Scaling PHP in the Cloud

HasGeek’s seventh event, focusing on the challenges of scaling from single to multi-server deployments for PHP-based websites.

LastUser for user management

Submitted by Kiran Jonnalagadda (@jace) on Thursday, 2 June 2011

videocam_off

Technical level

Advanced

Section

Development

Session type

Workshop

Status

Submitted

Vote on this proposal

Login to vote

Total votes:  +16

Objective

Show participants an alternative approach to managing user accounts.

Description

Managing user accounts is a pain. Standard methods like validating email addresses and resetting forgotten passwords are required for every app. Most large frameworks come with user management code, but if you run multiple websites and want to share users between them, you are on your own.

LastUser is a HasGeek project for federated user management. It runs as a standalone app and supports authentication via OAuth2 using a protocol inspired by Twitter and Facebook. It can be plugged into your apps with minimal effort, using either HasGeek's deployment at login.hasgeek.in or with your own installation. LastUser is open source and available under the BSD license.

LastUser supports Twitter and Google authentication and will seamlessly integrate with your app. We've built a client library for Python and Flask. There isn't one for PHP yet, but we hope to have one in time for the event.

Speaker bio

Kiran founded HasGeek and built LastUser to meet HasGeek's requirements

Links

Slides

http://www.slideshare.net/jace/user-management-with-lastuser

Comments

  • 2
    Kiran Jonnalagadda (@jace) Proposer Reviewer 7 years ago

    Support for comments was just added. It's really primitive right now — the display is primitive and you can’t even delete comments — but it’s a start and we’ll keep improving.

    • 1
      Kiran Jonnalagadda (@jace) Proposer Reviewer 7 years ago

      Now now Funnel supports threaded commenting, Reddit-style.

      • 1
        rithish (@rithish) 7 years ago

        I wouldn't suggest comment-editing functionalities. For example, take the following case -

        1. I post a comment "I am the devil".
        2. Thousands reply to the comment saying "I agree".
        3. I edit my original comment to "I am God".
        4. I brag.. :)
        • 1
          Kiran Jonnalagadda (@jace) Proposer Reviewer 7 years ago

          Valid point, Rithish, but (a) it clearly says you've edited the comment, and (b) I'd say the use case scenario suggests a lot more legit uses than trolling. I'd rather leave the functionality available for a while and see how it goes.

Login with Twitter or Google to leave a comment