Guitar effects explanation books
DAFX is a pretty good one. 

Harmony Central used to have a surprisingly good knowledgeable base for algorithms but that seem to have disappeared since Guitar Center took them over. 

A lot of source code can be found at http://www.musicdsp.org/, but it's fairly varied in quality.