I'm in the process of putting my layout together, and so I have built two different varieties.
1) Lift out. The lift out is pretty simple. Since you're joining two parts of benchwork together, both levels should be as close to level and at the same height as possible. I put a cross member below each side, for the lift out to sit on. Once it is on, I used shelf brackets (the little pin ones that come with those Sauder wood-like shelves you get at Walmart). Attach those brackets, mark where they contact the cross members, and drill out a hole for each. Another option is to use a large nail or something similar. I had alignment and with four points of contact, pretty stable.
2) Lift gate--get things as level as possible. Attach the hinges at a point as close to track level as possible (not at track level, but close to it). Get barrel bolts (one on each side), and make level and drill holes for the barrel bolts. Try to find the ones with metal plates (like the striker plates for a door lock).
When it comes to track laying, lay track with lift gate or lift out in place, and attach it to your bench work too. Cut the track, and file the inside edges a little. I think a lift gate is better because if the fixed/hinged side is near your track bus, you can run feeders off of it to power the lift gate section of track, so you don't have to use plugs or other means of providing power to the track.