Bitcoins the hard way: Using the raw Bitcoin protocol
This guy walks you through in details on how he created a Bitcoin transaction programmatically without the need of a wallet or a node. I repeat, without a node!
You have to be an experienced programmer to appreciate it. Going through the article will give you a clear understanding on how Bitcoin works under the hood. Bitcoin is a beautiful piece of software.