News for hackers. Stuff that matters.
Re:PH7 – An Embedded Implementation of PHP (C Library) by geon on Wednesday February 19, 2014 @05:18PM (#7266732)
I'd say the better way would be to develop the entire GUI with static HTML + JS files talking to the embedded device through a REST-ish interface.

That way you can get a clean separation of the front and back ends, and the web developers get to work with exactly the tech they are used to.

Re:PH7 – An Embedded Implementation of PHP (C Library) by ANTSANTS on Wednesday February 19, 2014 @06:06PM (#7267232)
I'm not a web developer, but that sounds pretty sane to me. However, the important part of their decision, I'm guessing, was not so much the PHP part, but the "get people who actually know about the web to do this for us." Someone has to build the site either way, and I'm guessing the embedded engineers they had working on it didn't really know how to go about that.

EDIT: Another possibility is that they already had PHP devs working on their corporate site or whatever, and they wanted to use them instead of hiring another team.

Re:PH7 – An Embedded Implementation of PHP (C Library) by donut2d on Wednesday February 19, 2014 @07:29PM (#7267817)
I am a web developer and the static HTML + JS with a RESTful API sounds excellent.
Re:PH7 – An Embedded Implementation of PHP (C Library) by nly on Wednesday February 19, 2014 @10:19PM (#7268604)
This is exactly what LuCI does on OpenWRT, except they use Lua, which is a sane language designed for embedded environments.