The document discusses the Internet of Things (IoT) and challenges with connecting devices. It proposes using MQTT, a publish/subscribe messaging protocol, for device communication due to its fast, binary format. For exposing devices to the web, it recommends using QEST, a middleware that bridges MQTT and REST by retaining MQTT messages and exposing topics as REST resources. This allows both devices and web apps to interact with IoT applications in their preferred protocol while benefiting from features of both worlds. Security concerns with device access are also raised and OAuth for devices is suggested to address them.