Start by creating a rectangle using rectangular shape tool. Double click the layer to open layer style window. Apply settings as shown. Similarly create more rectangles and apply the same layer style as shown below.
Here is just the tutorial that you need for a very interesting effect - Pizza Text. Yes, you guessed it, the same techniques can be used for spaghetti or alligator text. The author uses a lot of screenshots to help you out.
This tutorial is a very interesting Photoshop exercise. The author lets you create a Logo for a Social Educational Cause, the easy way. Each step of this tutorial is illustrated and written to make it easy to follow.
Create a rectangular selection using rectangular marquee tool. Create a new layer and fill it with blue to green gradient in linear mode. Create two rectangles on top and bottom using rectangular shape tool.