I'm working on a project with my brother for his home, specifically we are implementing home automation. The hardware part is ready and working; we handle everything with an UDOO. Now that lights and the other devices are running with no problems, we want to build a front-end interface. There is a 7 inch android tablet in each room, but we would like to develop a multi-platform interface (so it could run on everything that can access internet). The idea is to create an HTML5 web application, using:
- php to handle the house data that will be stored in a database
- js(+AJAX) to create dynamic pages
I have pretty good knowledge in this environment, but I would like to know some suggestions on how to proceed. My questions are:
- Will I need a php framework (if so, which one)? [EDIT: ok, I'll use one of course :P]
- Using WebSockets instead of polling will overload too much my application? If not, do they have compatibility with mobile browsers?