Stanford Web Application Toolkit
From Web Services Wiki
The Stanford Web Application Toolkit (SWAT) is a set of tools designed to assist Stanford web developers in creating secure and robust PHP-based web applications. It gives the programmer straightforward methods for connecting to the database, searching the directory, authorization, sending e-mail, handling file uploads, defending against SPAM, and other common-but-often-tedious tasks. SWAT has three primary goals: security, accessibility, and ease of use. The toolkit is broken down into several modules.
This module functions as a light framework for Stanford web applications. Using StanfordApp, you may load a YAML-formatted configuration file with your site's basic information, database configuration, and other settings.
- How to configure and access MySQL
- How to set up MySQL-based PHP sessions
- How to securely store data into MySQL
StanfordDirectory / StanfordPerson
- How to get information about users in the directory
- How to get the currently logged-in WebAuth user
- How to search the directory for specific information