Bookbinding is the process of physically assembling a book from a number of separate sheets of paper or other material.
Historical
The craft of bookbinding may have originated around the 1st century A.D. Romans of the time created a form of simple book called a codex by folding sheets of vellum or parchment in half and sewing them through the fold. Codices were a significant improvement over papyrus or vellum scrolls, in that they were easier to handle, allowed writing on both sides of the leaves, and could be searched through more quickly.
Later books were bound between hard covers, with pages made from paper, or parchment, but were still created by stitching folded sheets at the seam. Since early books were exclusively handwritten on handmade materials, sizes and styles varied considerably, and each book was a unique creation or a copy of it.
With the arrival (from the East) of rag paper manufacturing through Europe in the late Middle Ages and the use of the printing press beginning in the mid-15th century, bookbinding began to standardize somewhat. But page sizes still varied considerably.
Some books have even been bound in human skin. See anthropodermic bibliopegy.
Modern hand binding
Hardbound book spine stitching.
When talking about bookbinding as a craft, hardbound books are most common. Any sewn book can be pulled apart and rebound into a hardbound book by adding a case. Cases are often cardboard and sometimes wooden squares adhered to paper or leather and formed around the text block. There are different methods of sewing, such as stab sewing. A traditional method which uses sashes allows the book to open flat and not break the spine.
Traditionally sewn book opened flat.
Halfbound book with leather and marble paper.
Books can be bound in many different materials. Some of the more common materials for covers are leather and cloth (see also: buckram). A common way to bind a book is as a halfbound book, which means that the spine and the corners of the cover are covered with leather or cloth, while the rest is covered with paper (normally marbled or otherwise decorated). When only the spine is covered with cloth or leather and the rest of the cover is covered in paper, the book is called quarterbound.
Spine conventions
In left-to-right read languages (like English), books are bound on the left side of the cover; looking from on top, the pages increase counter-clockwise. In right-to-left languages, books are bound on the right. In both cases, this is so the end of a page coincides with where you flip.
(As a side note, some English-language books are bound on the right side of the cover. By far the most common examples are English-language translations of Japanese comic books. Since the art is laid out to be read right-to-left, this allows the art to be published "unflipped".)
In Japanese, literary books are written top-to-bottom, right-to-left, and thus are bound on the right, while text books are written left-to-right, top-to-bottom, and thus are bound on the left.
The title of a book is traditionally written on the spine. In Chinese and similar languages, this is naturally written top-to-bottom (as the characters don't change orientation, and the language is generally written top-to-bottom), but in left-to-right (and right-to-left) languages, the spine is usually too narrow for the title to fit in its natural orientation, and conventions differ. In the United States and England, titles are written top-to-bottom; when placed face-up, the title is correctly oriented left-to-right.
This also underlies why multiple volume works are often shelved right-to-left: they're arranged "as if a stack".
In many European countries, the general convention is to write titles bottom-to-top on the spine. (But spines of books in Dutch are almost always written top-to-bottom; in Spain every publisher has his own preference.) This is unusual, in that no writing system goes bottom-to-top, and requires that the book be placed face-down for the title on the spine to be right-side up. However, it results in multivolume works being shelved (correctly) left-to-right.