Slide 1

Slide 1 text

Vladimir Agafonkin 12.2012 Wednesday, 16 January 13

Slide 2

Slide 2 text

agafonkin.com Wednesday, 16 January 13

Slide 3

Slide 3 text

agafonkin.com Wednesday, 16 January 13

Slide 4

Slide 4 text

agafonkin.com Wednesday, 16 January 13

Slide 5

Slide 5 text

agafonkin.com /mourner Wednesday, 16 January 13

Slide 6

Slide 6 text

rain.in.ua Wednesday, 16 January 13

Slide 7

Slide 7 text

leafletjs.com Wednesday, 16 January 13

Slide 8

Slide 8 text

Wednesday, 16 January 13

Slide 9

Slide 9 text

February 2005 June 2006 June 2009 May 2011 Google Maps API OpenLayers Google Maps API v3 Wednesday, 16 January 13

Slide 10

Slide 10 text

Wednesday, 16 January 13

Slide 11

Slide 11 text

Wednesday, 16 January 13

Slide 12

Slide 12 text

Wednesday, 16 January 13

Slide 13

Slide 13 text

Wednesday, 16 January 13

Slide 14

Slide 14 text

Wednesday, 16 January 13

Slide 15

Slide 15 text

Wednesday, 16 January 13

Slide 16

Slide 16 text

Wednesday, 16 January 13

Slide 17

Slide 17 text

Wednesday, 16 January 13

Slide 18

Slide 18 text

Wednesday, 16 January 13

Slide 19

Slide 19 text

Wednesday, 16 January 13

Slide 20

Slide 20 text

not just usual maps Wednesday, 16 January 13

Slide 21

Slide 21 text

Wednesday, 16 January 13

Slide 22

Slide 22 text

Wednesday, 16 January 13

Slide 23

Slide 23 text

Wednesday, 16 January 13

Slide 24

Slide 24 text

Wednesday, 16 January 13

Slide 25

Slide 25 text

how?.. Wednesday, 16 January 13

Slide 26

Slide 26 text

open source Wednesday, 16 January 13

Slide 27

Slide 27 text

• 2 years of development Wednesday, 16 January 13

Slide 28

Slide 28 text

• 2 years of development • 8143 lines of code Wednesday, 16 January 13

Slide 29

Slide 29 text

• 2 years of development • 8143 lines of code • 1759 commits from 90 people Wednesday, 16 January 13

Slide 30

Slide 30 text

• 2 years of development • 8143 lines of code • 1759 commits from 90 people • 3364 followers, 561 forks Wednesday, 16 January 13

Slide 31

Slide 31 text

• 2 years of development • 8143 lines of code • 1759 commits from 90 people • 3364 followers, 561 forks • issues: 170 open, 1026 closed Wednesday, 16 January 13

Slide 32

Slide 32 text

• 2 years of development • 8143 lines of code • 1759 commits from 90 people • 3364 followers, 561 forks • issues: 170 open, 1026 closed • pull requests: 40 open, 342 closed Wednesday, 16 January 13

Slide 33

Slide 33 text

open source can be simple Wednesday, 16 January 13

Slide 34

Slide 34 text

Wednesday, 16 January 13

Slide 35

Slide 35 text

Wednesday, 16 January 13

Slide 36

Slide 36 text

independence Wednesday, 16 January 13

Slide 37

Slide 37 text

independence from data providers Wednesday, 16 January 13

Slide 38

Slide 38 text

number of features Images Markers Popups Vectors XYZ tiles GeoJSON WMS Layer groups Inertial pan Scroll zoom Dblclick zoom Box zoom Keyboard nav Pinch zoom Dbltap zoom Marker drag Pan anim Zoom anim Zoom buttons Attribution Layer switcher Scale Map rotation Fractional zoom WebGL renderer TMS WMTS TileCache MapGuide MapServer KaMap KaMapCache MultiMap Google Yahoo WorldWind Virtual Earth Bing Zoomify UTFGrid OSM ArcGIS ArcIMS GML GeoRSS KML WFS WFST ArcXML Atom CQL SLD GPX OSM XML OWS Context WKT XLS XML Drawing Editing Graticule Measure Pan control Minimap Permalink Clustering Wednesday, 16 January 13

Slide 39

Slide 39 text

number of features Images Markers Popups Vectors XYZ tiles GeoJSON WMS Layer groups Inertial pan Scroll zoom Dblclick zoom Box zoom Keyboard nav Pinch zoom Dbltap zoom Marker drag Pan anim Zoom anim Zoom buttons Attribution Layer switcher Scale Map rotation Fractional zoom WebGL renderer TMS WMTS TileCache MapGuide MapServer KaMap KaMapCache MultiMap Google Yahoo WorldWind Virtual Earth Bing Zoomify UTFGrid OSM ArcGIS ArcIMS GML GeoRSS KML WFS WFST ArcXML Atom CQL SLD GPX OSM XML OWS Context WKT XLS XML Drawing Editing Graticule Measure Pan control Minimap Permalink Clustering Wednesday, 16 January 13

Slide 40

Slide 40 text

number of features Images Markers Popups Vectors XYZ tiles GeoJSON WMS Layer groups Inertial pan Scroll zoom Dblclick zoom Box zoom Keyboard nav Pinch zoom Dbltap zoom Marker drag Pan anim Zoom anim Zoom buttons Attribution Layer switcher Scale Map rotation Fractional zoom WebGL renderer TMS WMTS TileCache MapGuide MapServer KaMap KaMapCache MultiMap Google Yahoo WorldWind Virtual Earth Bing Zoomify UTFGrid OSM ArcGIS ArcIMS GML GeoRSS KML WFS WFST ArcXML Atom CQL SLD GPX OSM XML OWS Context WKT XLS XML Drawing Editing Graticule Measure Pan control Minimap Permalink Clustering Wednesday, 16 January 13

Slide 41

Slide 41 text

quality of features Images Markers Popups Vectors XYZ tiles GeoJSON WMS Layer groups Inertial pan Scroll zoom Dblclick zoom Box zoom Keyboard nav Pinch zoom Dbltap zoom Marker drag Pan anim Zoom anim Zoom buttons Attribution Layer switcher Scale Wednesday, 16 January 13

Slide 42

Slide 42 text

quality of features Images Markers Popups Vectors XYZ tiles GeoJSON WMS Layer groups Inertial pan Scroll zoom Dblclick zoom Box zoom Keyboard nav Pinch zoom Dbltap zoom Marker drag Pan anim Zoom anim Zoom buttons Attribution Layer switcher Scale + third-party plugins Wednesday, 16 January 13

Slide 43

Slide 43 text

simplicity Wednesday, 16 January 13

Slide 44

Slide 44 text

var map = L.map('map') .setView([51.505, -0.09], 13); API: as simple as possible Wednesday, 16 January 13

Slide 45

Slide 45 text

var map = L.map('map') .setView([51.505, -0.09], 13); L.tileLayer( 'http://{s}.tile.osm.org/{z}/{x}/{y}.png') .addTo(map); API: as simple as possible Wednesday, 16 January 13

Slide 46

Slide 46 text

var map = L.map('map') .setView([51.505, -0.09], 13); L.tileLayer( 'http://{s}.tile.osm.org/{z}/{x}/{y}.png') .addTo(map); L.marker([51.5, -0.09]) .addTo(map) .bindPopup('Hello World!') .openPopup(); API: as simple as possible Wednesday, 16 January 13

Slide 47

Slide 47 text

code: simple outside, simple inside Wednesday, 16 January 13

Slide 48

Slide 48 text

the poetry of code express deep meaning through simple words Wednesday, 16 January 13

Slide 49

Slide 49 text

some code needs a comment? rewrite the code to be transparent instead Wednesday, 16 January 13

Slide 50

Slide 50 text

backwards compatibility Wednesday, 16 January 13

Slide 51

Slide 51 text

backwards compatibility Wednesday, 16 January 13

Slide 52

Slide 52 text

backwards compatibility full throttle! continuous API improvement (well-documented) Wednesday, 16 January 13

Slide 53

Slide 53 text

modern legacy (IE 6-8) mobile (iOS, Android) browser support Wednesday, 16 January 13

Slide 54

Slide 54 text

modern legacy (IE 6-8) mobile (iOS, Android) browser support Wednesday, 16 January 13

Slide 55

Slide 55 text

modern mobile legacy (accessible) поддержка браузеров Wednesday, 16 January 13

Slide 56

Slide 56 text

fast responsive lightweight Wednesday, 16 January 13

Slide 57

Slide 57 text

(min, gzip) JS 27KB CSS 1.8KB PNG 3.2KB Wednesday, 16 January 13

Slide 58

Slide 58 text

Wednesday, 16 January 13

Slide 59

Slide 59 text

mourner.github.com/simplify-js Wednesday, 16 January 13

Slide 60

Slide 60 text

design matters as much as code Wednesday, 16 January 13

Slide 61

Slide 61 text

Wednesday, 16 January 13

Slide 62

Slide 62 text

Wednesday, 16 January 13

Slide 63

Slide 63 text

kaizen continuous improvement Wednesday, 16 January 13

Slide 64

Slide 64 text

Thanks! Questions? Vladimir Agafonkin [email protected] Wednesday, 16 January 13

Slide 65

Slide 65 text

flickr.com/photos/96dpi/2886663273/ flickr.com/photos/pesis/4870052004/ flickr.com/photos/didmyself/5274561305/ photos used (Creative Commons) Wednesday, 16 January 13