If there's a website I don't know of which would provide me this kind of information I'd be very happy with it. Otherwise, I'm looking for a book.
So far I have written and composed music in FL Studio going on "by ear", most of the time I'm really happy with the results, but at the same time it is a very long process, I guess if I knew music theory better I could compose more efficiently.