u don't need di's here they may be gud, but u need them when the wire's too long(i hope u'll not sit 500m away from ur computer)
u need a preamp, to control the sound and then into ur pc.
i have very limted knowledge abt electric guitars. i am telling u on basis of acoustic guitars,
search the net for articles. it is better than getting confused here.