An offline admin generator with HTML 5 and Gears

download An offline admin generator with HTML 5 and Gears

If you can't read please download the document

Transcript of An offline admin generator with HTML 5 and Gears

Prsentation PowerPoint

Symfony Live 2010

An offline admin-generator with HTML5 and Gears

OutlineProject introduction

Offline applications in a nutshell

Symfony plugin internals

Demo

Cut the wire?

Offline admin-generator for symfony

Me, myself & I

Me, myself & IFrontend (CSS, HTML, JS, mobile usages)Backend (symfony, WordPress)Speaker @ Paris-WebAuthor @ Eyrolles blogsCo-chairman @ LSM 2010

And also, Gears user

Thomas Parisot @ Clever Age

Project Introduction

Project IntroductionFull JS Offline App

Symfony ?

Project Introduction

Admin generators !

Project Introduction

The Goal

Network-less backend

Project Introduction

1st time

Sf 1.2 + Propel + Gears

Project Introduction

2nd time

Sf 1.4 + Doctrine + HTML5

Project Introduction

Offline in a nutshell

Offline in a nutshellLocalServer

Database

WorkerPool

Geolocation

Desktop

Timer

HttpRequest

Offline in a nutshellOffline Web Apps

Web SQL Database

Web Workers

Geolocation

Web Storage

File API

User Interactions

Offline in a nutshellOnline Workflow

Offline in a nutshell

Offline Workflow

Complicated!

Offline in a nutshell

CleverOfflineAdminGeneratorPlugin

cleverOfflineAdminGeneratorPluginApplication filter

Dynamic files

Data storage

Replay form submission

Key points

Application Filter

cleverOfflineAdminGeneratorPlugin

Dynamic files

cleverOfflineAdminGeneratorPlugin

cleverOfflineAdminGeneratorPlugin

Data storage

Replay forms

cleverOfflineAdminGeneratorPlugin

Replay forms

cleverOfflineAdminGeneratorPlugin

Demo Time

Cut the wire?

Technological Preview

(nothing's perfect, even the technology)

Cut the wire?

Cut the wire? So, Gears or HTML5?

Cut the wire?CSRF

Password protected lifetime session

Few browsers have ALL HTML5 features

Hook on every form while offline (even filters)

Unstable when symfony cache is ON

Tied to default admin-gen theme

Known problems

Cut the wire?Fix bugs ;-)

Improve documentation

Store form method (GET, POST)

Add lots of events for remote control

Provide API for modular usage (routing, forms)

jQuery agnostic

Process file submission

I18n and more

Fight the Future

Questions?

Thanks!

Creditshttp://www.flickr.com/photos/the-jedi/4103189447/http://www.flickr.com/photos/richardholden/2147948913/http://www.flickr.com/photos/cayusa/981372736/http://www.flickr.com/photos/altuwa/3634870074/http://www.flickr.com/photos/thecaucas/2597813380/http://www.flickr.com/photos/ale2000/1275120868/http://www.flickr.com/photos/max78/2208034262/http://www.flickr.com/photos/7933170@N03/652332630/http://www.flickr.com/photos/_fabrizio_/1578087736/http://www.flickr.com/photos/voir66/2956613218/

Copyright Clever Age 2009