Sparse - Documentation
It may look scary, but most of the documentation
deals with more advanced features - i.e. stuff that you don't
necessarily need for every form you use. While the first four pages are
pretty useful for any form, the rest you can pretty much pick and
choose, and skip what you're not interested in.
- Introduction - description of what
Sparse can do.
- Templates - Overview - common usage
of all templates.
- Templates and Queries - how Sparse
templates translate into SQL queries and vice versa.
- Template Types - descriptions
of the three types of templates.
- Advanced Queries - using multiple
tables, functions, and aliases.
- Quick Templates - how to utilize a
super-condensed template form.
- Enumsets - how to prettify data or
create options to display.
- Tag Referencing - how to use ids
to reference previous tags and allow you to reuse information.
- Searching - how to include search
fields in your form.
- Sorting - how to allow the user to
sort your data.
- Working With Data - how to change
data before it's displayed or after it's submitted, or set constraints
on it.
- Errors - the three types of errors and
how they can be used.
- Linking to Templates - how to use
plain links or external forms to affect how a template is displayed.
- Configuring Sparse - how to define
constants that affect how Sparse is executed, and an explanation of
caching and warning logs.
- Advanced PHP Usage - how to
effectively use your own PHP code along with Sparse.
- Ajax - how to make your template
effectively use Ajax, including troubleshooting and requirements.
- HTML Tag Reference - full reference of
each tag Sparse offers.
- Example Template - a Hello World
step-by-step example.