SLO: Site Access Objects - A PHP website login system using SimpleDB

Sample Code & Libraries>Amazon SimpleDB>SLO: Site Access Objects A PHP website login system using SimpleDB
Community Contributed Software

  • Amazon Web Services provides links to these packages as a convenience for our customers, but software not authored by an "@AWS" account has not been reviewed or screened by AWS.
  • Please review this software to ensure it meets your needs before using it.

SLO is a set of PHP objects that provide a bare-bones website with user login control. SLO uses SimpleDB to store the user login information.

Details

Submitted By: Bruce Wampler
AWS Products Used: Amazon SimpleDB
Language(s): PHP
License: Apache License 2.0
Created On: June 9, 2008 9:19 PM GMT
Last Updated: September 21, 2008 7:49 PM GMT
Download

SLO: Site Login Objects

This is yet another site/session login system with a big difference - it works with Amazon Web Services SimpleDB. (It uses the pawsSDB library to interface to SimpleDB.) While there are a several other login framework examples available, this one is object-oriented, and based on SimpleDB.

Because it is object-oriented, it is really easy to modify and tweak. If you need to build your own login based web site, and you can't or don't want to use something like Drupal or other CMS package, then this can really get you started -- not to mention that it is SimpleDB based.

This version can use PHP $_SESSION variables, or encrypted cookies to save state from one page to the next. The cookie version should work when used with multiple servers such as EC2.

While this package can be adapted to almost any site, it comes with a bare bones set of CSS definitions that let you build a non-trivial site. The layout is all controlled by CSS definitions, and two themes are supplied to demonstrate the flexibility available by using style sheets.

A functioning demo is available here. You can create a user login account, but the accounts will be purged on a regular basis.

©2014, Amazon Web Services, Inc. or its affiliates. All rights reserved.