14
on the desktop Massimiliano Arione 28 giugno 2016

PHP on the desktop

Embed Size (px)

Citation preview

Page 1: PHP on the desktop

on the desktop

Massimiliano Arione28 giugno 2016

Page 2: PHP on the desktop

chi sono

Page 3: PHP on the desktop

disclaimer

Page 4: PHP on the desktop

agenda

Page 5: PHP on the desktop

cosa NON fare

Page 6: PHP on the desktop

cosa fare

Page 7: PHP on the desktop

lo stack

Page 8: PHP on the desktop

lo stack

web server interno!

sqlite!

Page 9: PHP on the desktop

electron

Page 10: PHP on the desktop

package.json{ "main": "main.js", "scripts": {

"start": "electron main.js" }, "devDependencies": {

"electron-prebuilt": "^1.1.2","gulp-connect-php": "^0.0.7"

}}

Page 11: PHP on the desktop

demo!

Page 12: PHP on the desktop

tips● file statici in locale (no CDN)● browser detection si può eliminare● eventualmente spostare path di salvataggio su sys_get_temp_dir()

Page 13: PHP on the desktop

question time

?

Page 14: PHP on the desktop

thanks!

https://github.com/garak/electron-symfony