Developing multiplayer games

I’d like to know how multiplayer games like or club penguin are built, in which language (I think Flash and any server side programming language).

Do you know any guide or book to learn more about this? Or is there is any framework to do this easily?

Many thanks