There's more than one way to skin a cat. The slice tool is handy if you want to visualize your entire interface in PS and implement it once complete. It's quick, painless, and it gets the job done. In the case of your friend's thumbnail images, people without coding experience might want to use PS actions to automate the process instead of trying code it all.