Suffix trees are a tree representation of a string and all its suffixes. Consider the string mississippi$. It is convenient to make sure the strning ends in a symbol not found elsewhere. The suffixes of mississippi$ are:
In tree form, this becomes:

Once given this suffix tree, it is easy to search for a string: one just goes down the tree following the string.
Most good suffix tree construction algorithms also require a suffix link at each node. A suffix link can be understood by taking into account the string leading to a node. For every node, consider this incoming string (not just the edge, but the whole string from the root) and take the first character to obtain a slightly shorter string. Now follow it from the root and you will end up at the node corresponding to that node's suffix link. If this was confusing, maybe an illustration helps (suffix links as dashed arrows):

It is not absolutely clear what the root's suffix link should point to. A traditional solution is having it point to itself.
The number of characters in the branches of a suffix tree grows with $N^2$, where $N$ is the number of characters in the string. However, there is a way to represent suffix trees in $O(N)$ space. This is based on keeping the original string and representing branches by indices into this string. For example, the branch from the root to the leaf marked as mississippi$ above could be simply saved as the pair $(1,12)$ marking the beginning and the end of the string. Thus, each branch needs only a pair of integers.
There are several ways one could implement a tree. The most widely used one is to make it a collection of nodes. Each node then has the following fields:
Note that a father link is not strictly necessary. This means that it possible to have (and even build) a tree without father links.
Kurtz has done many interesting analysis of suffix trees and, in particular proposed a representation where the incoming edge is represented as a pair of integers with a different meaning:
In this representation, the edge reaching a node is labeled by the string which goes from $Start+father.String_Depth$ to $Start+father.String_Depth$.
This seems awkward compared to the more direct Begin/End pair outlined above. However, for the price of a small inconvenience when accessing an edge label, many other operations become easier (the full benefits are hard to explain, but become apparent to one actually writing code to work with these structures).
Here you can find my implementation of suffix trees in C++. I have implemented both McCreight's and Weiner's algorithms. Ukkonnen's algorithm can be shown to be just a variation of McCreight's (see Kurtz's paper), so you can consider that that one is implemented as well.
This code is used as the basis of my dotted tree software, but independent of it.
It does not support strings with the NUL character ('\0' in C/C++). As usual, this is used as the terminal character for the string, like the dollar sign in the above examples.