Shopping Cart Functionallity

Anyone with useful resources i can use to learn add to cart functionality?