an interface for connecting to PHP server and its demo application