A few thoughts some contrary to the above. Your mileage may vary.
1. Avoid 90deg angles if possible. Use spa-flex PVC to make long sweeping turns if you can.
2. Use slip fittings, good glue, and primer on the pressurized return lines.
3. Use unions as often as practical- especially on both sides of the pump.
4. I don't like check valves because they reduce flow and can fail. Instead, I use a siphon break hole and keep my return lines just under the surface of the water. I clean the anti-siphon holes at least once a month.
5. If you have standard overflows, do not glue the risers inside the overflow boxes. I take them out to catch fish and clean.