Basic Shift Register Questions

Hii,
Am new to the world of shift register and even to the world of electronics. Please pardon me my questions:

When I set latch pin high and low?
When I set clock pin high and low?
When I set data pin high and low?

Right, we are talking about a 74HC595, a serial-in, parallel-out (SIPO) register. OK?

Strobe (not latch) pin 12 LOW.
Shift clock pin 11 LOW
*  loop starts
Put data bit on data input pin 14
Shift clock pin 11 HIGH, then LOW - data bit shifted in
*  repeat loop to total 8 times, or 8 x number of registers in series
Strobe pin 12 HIGH, then LOW.- data now appears on outputs.

Note these are clocked latches, not level-determined. Data is transferred as the clock pin goes high, and is not changed afterward. On a "latch" device by comparison, the output will follow the input while ever the latch is enabled, staying at the last level as soon as the latch is disabled.

shiftOut() makes this happen for you.

digitalWrite (latchPin, LOW);
shiftOut (dataPin, clockPin, MSBFIRST, your_data_byte); // data is shifted out
digitalWrite (latchPin, HIGH); // data is clocked into the 2nd stage output register on this rising edge