Note: each tutorial contains information about one specific part of Spoon. If something is unclear, post a comment.

Form - part 1

Written by Davy Hellemans -

The first tutorial concerning forms:

  • How to build a form
  • How to validate a form
  • How to retrieve the data

Datagrid - part 1

Written by Dave Lens -

Datagrids are used to show tabular data. This tutorial teaches you the following:

  • The two types of datagrid sources (database queries, arrays)
  • Basic datagrid
  • Basic datagrid with paging and sorting

Template - part 3

Written by Davy Hellemans -

The first two parts were pretty basic. As for this part you will see the next items in detail:

  • How to use modifiers
  • Nested variables
  • Mapping your own modifiers

Template - part 2

Written by Davy Hellemans -

The sequel that will show you how to:

  • Iterate variables
  • Use cycle tags within an iteration

Template - part 1

Written by Davy Hellemans -

This introduction to templates explains the following:

  • Load and display templates
  • Assign variables
  • Simplified if/else control structures.

Session

Written by Dave Lens -

If you don't like PHP's built in functions to manipulate sessions, then it's a good idea to use this wrapper class which is more consistent. This tutorial features:

  • Store data in a session
  • Retrieve data from a session

Logging

Written by Tijs Verkoyen -

Ever wanted to log certain events, data, ... Than this tutorial is for you!

Email

Written by Dave Lens -

Sending e-mails with Spoon is a breeze. This tutorial will show you how it's done:

  • Sending a basic e-mail
  • Sending an e-mail using SMTP
  • Use a template as an e-mail body

Database - part 2

Written by Dave Lens -

The first part was pretty basic. This tutorial goes a little deeper and explains the following:

  • Insert/update/delete functions
  • The execute function

Database - part 1

Written by Dave Lens -

This tutorial will explain more about the mysql database wrapper in Spoon. In detail:

  • Establising a database connection
  • Passing on parameters to a query
  • Fetching single or multiple records

Cookie

Written by Tijs Verkoyen -

Cookies can come in handy, when you want to store data for later use. For example when somebody comments on your website, you might want to store his details so that next when he wants to comment, there's no need to re-enter these details. This tutorial will learn:

  • Store data in a cookie
  • Retrieve data from cookies

Introduction to Spoon

Written by Davy Hellemans -

So you want to use Spoon? This tutorial will guide you through the first step you need to take.