Now I just need to learn how to make good beats

I´m totally uneducated musically, although I have a relatively good head for beats, and most music theory tutorials I´ve been able to dig up on the net seem to focus on melody, which isn´t what I´m interested in (at least not yet).
So does anyone know of good tutorials or handbooks(preferably online) that can teach you about different rhythms, flams, paradiddles, polyrhythms and all that good stuff in a programming context rather than live drumming context?
I´m interested in hip-hop, reggae, dnb, trip-hop and basically all phat beats and percussion.....
Thanks in advance!