The principles of Tonic

Tonic is designed around the idea that "less is more" and that by embracing these principles...

  1. Everything is a resource with a standard HTTP interface.
  2. Do the simplest thing that could possibly work; keep it simple, stupid.
  3. Modular design.
  4. The power of the URL-line.
  5. Don't forget, everything is deeply intertwingled.

...it will keep Tonic a small, easy to use, relevant, and powerful system.

Show me the money...

Often the best way to get a feel for things is to pass your eyes over an example application, so take a look at this quick example.

Features

On the face of things, Tonic looks like most other libraries for building PHP apps, but if you look a little deeper you'll notice these great RESTy features:

The Anatomy of Tonic

Ready to get started?

The Tonic cookbook

A number of common Web app tasks are obvious in Tonic once you know the ropes but getting yourself started isn't always so obvious, so we've written our experiences into the following Tonic recipe book:

API Documentation

Ready to know the code better? Then dive into our API documentation:

Created Aug 18, 2007, last modified Feb 16, 2008