Running PHP on Embedded Devices - PHPing your Mobile Phone, NAS or Router

Michael Wittke (12.Jun.2009 at 03:00)
Talk at Dutch PHP Conference 2009 (English - US)

Rating: 4 of 5

PHP is a scripting language that was originally designed for producing dynamic web pages. Since a command line interface is available, PHP can be used for developing standalone graphical applications on PCs as well. In contrast, we use a cross-compiled version of PHP for developing applications for embedded devices like cell phones, router oder networked attached storages (NAS). Due to mass production their price decreases steadily, although their processing capacity increases.

In this session we show how easy it is to use PHP for developing software for embedded devices based upon the ARM chipset. Because of their power saving features, ARM CPUs are dominant in the mobile electronics market, where low power consumption is a critical design goal. As of 2007, about 98 percent of the more than a billion mobile phones sold each year use at least one ARM CPU. As development environment we use special cross-compiling tools like Scratchbox or virtualisation of native ARM systems.
Afterward we present an application scenario for PHP running on an off-the-shelf NAS. We use PHP to develop a surveillance system for observing an office and to detect salient events. In this scenario a wild mixture of technologies (like SOAP, OpenCV etc.) is used to show the power of PHP for the usage on embedded devices and to bring a proof-of-concept of PHP’s applicability for embedded software development.

Who are you?

Claim talk

By clicking this button you are declaring that you are the speaker responsible for it and a claim request will be sent to the administrator of the event.

If the claim is approved you will be able to edit the information for this talk.

Are you sure?

 
Comments closed.

Comments

Rating: 4 of 5

12.Jun.2009 at 19:03 by Mark van der Velden

Great talk, nice and original. Would have been great to see a demonstration of such setup (Video would've done just fine).

Rating: 5 of 5

13.Jun.2009 at 08:07 by Miha Hribar

Excellent talk! A very nice idea to use what you know for embedded devices. Shame there are not so many libraries available for PHP and you have to resort to executing shell commands. Still a nice insight into what is possible to do with PHP.

Rating: 3 of 5

14.Jun.2009 at 09:38 by Frank van Schie

Using a C library to grab webcam images, a C library to analyze the images, and a PHP library to store them, the glue code is about two dozen lines. Not very PHP heavy. Not many details about minimizing PHP's memory or disk space footprint for devices with limited resources.

Does run through cross-compiling PHP for the beefier embedded-linux devices, which is interesting.

Rating: 3 of 5

14.Jun.2009 at 13:38 by Gerard van Helden

I liked the ideas, but the aspects I liked had nothing to do with PHP itself. So a bit of an average talk imho.

Rating: 4 of 5

15.Jun.2009 at 14:26 by Arno Lambert

Nice example of how php is not limited to known hardware

Cloud server hosting by Combell Combell      © Joind.in 2012