Plain 7400 series parts are getting harder and harder to stock and cost has gone wayyy up.
74F or 74S for high current loads.
74S has been phased out and replaced by 74F.... but are both identical (as far as we're concerned).
74LS or 74HCT for low current loads.
74LS is slowly being phased out in favor of 74HCT. Seems each week I get another DMSMS report listing more ICs hitting the obsolete status.
Solenoid drivers have a 560 ohm pullups on outputs. That amounts to about an 8mA load which maxes out the 74LS parts and exceeds the limits of 74HCT parts. Need to use high current 74F or 74S here.
Switch drivers have 4.7K ohm pullups on outputs. That amounts to about a 1mA load -- any of the above parts would work. I would advise the 74LS08 as he has a little bit more 'umph' than the 74HCT08.