Davening in sandals

Q: Is it permissible to daven in sandals without socks?
A: One is required to daven dressed in a way in which he would stand before a king. How one stands before a king is dependent on the place and time in which one lives. The Beit Yosef says that one is obligated to daven barefoot (Orach Chaim 91:5). Not only is it permissible but one is obligated to daven barefoot. Obviously, today if someone shows up barefoot to daven, he would be thrown out of the shul. Therefore, it is dependent on reality. Wearing sandals nowadays is respectable (this applies in Israel, other locations may differ). Wearing flipflops, however, is not considered respectable since a person wears them when getting out of the shower or at the pool or on the beach.