Both, depending on your definition.
![smile](http://forum.brillkids.com/Smileys/emoji/grin.png)
This is part of the 'whole words vs phonics' debate, and there have been many discussions on this on this forum.
Start by reading this article:
http://www.brillbaby.com/teach-baby/reading-whole-language-phonics.php