Yes cucumbers work well in pots, you can grow them on a tomato cage also so they hang instead of on the ground.
As for tomatoes, I like cherry tomatoes for a lot of things (theres many varieties here, sweet 100s are what I usually do). The classic "sauce" tomato is a roma or san marzano but the roma grows better. Those are pretty fleshy and not as juicy, work well for burgers and sandwiches. Berthas are bigger and juicier with better fruit structure than most larger varieties. Many of the larger varieties get these creases at the point they connect to the vine that tends to get rots, bugs and disease in them.
There are also many heirloom varieties that have all different sorts of features too.
That's cool you want to do some porch crops, everyone should do it. You already know the rewards