Web 2.0 A short guide to fall into the client-side Esteban - - PowerPoint PPT Presentation

web 2 0
SMART_READER_LITE
LIVE PREVIEW

Web 2.0 A short guide to fall into the client-side Esteban - - PowerPoint PPT Presentation

Web 2.0 A short guide to fall into the client-side Esteban Lorenzano (by now, you already listen too much about that name) because not everything is Seaside Context Well, I suppose you all know, but web application development moved to a more


slide-1
SLIDE 1

Web 2.0

A short guide to fall into the client-side

slide-2
SLIDE 2

Esteban Lorenzano

(by now, you already listen too much about that name)

slide-3
SLIDE 3

because not everything is Seaside

slide-4
SLIDE 4

Context

Well, I suppose you all know, but web application development moved to a more responsive UI. But computations still happen in server side, so we need to find a bridge.

slide-5
SLIDE 5

Reef

A Seaside extension to manage AJAX/Javascript Exists since years, but not publicised enough Evolved according to needs (my needs)

slide-6
SLIDE 6

Reef design

Object model (no DSL) All interaction is a Block (but there are different kind of interations) Client side computation AJAX request (several types) Full page request

slide-7
SLIDE 7

Reef components

Many Bootstrap components wrapped Some others in the form of Plugins Magritte-Reef

slide-8
SLIDE 8

Status

Works fine :) Needs more people using it Needs more people caring about it

slide-9
SLIDE 9

Install Reef

Gofer it smalltalkhubUser: 'estebanlm' project: 'Reef'; configuration; loadStable.

slide-10
SLIDE 10

Tide

Amber-to-Pharo communication bridge Keeps that “Seaside feeling” Provides a way to map objects from the server Provides a solution for managing async calls

slide-11
SLIDE 11

Tide design

Client side Proxies Futures (kinda) Server side Objects are exposed as you need, starting by a root Pragmas to “mark” exposition: <action>, <state> Presenters for: Literals, collections, models

slide-12
SLIDE 12

Status

Works fine :) Needs more people using it Needs more people caring about it

slide-13
SLIDE 13

Install Tide

$ git clone git@github.com:tide-framework/tide.git $ cd tide && bower install && cd .. $ pharo Pharo.image eval —save “ Gofer it url: ‘filetree://./tide’; package: ‘BaselineOfTide’; load. BaselineOfTide load” TDServer startOn: 7777.

Pre-requisites: node, npm, bower, pharo

slide-14
SLIDE 14

There is no silver bullet!

(This will never be stressed enough)

slide-15
SLIDE 15

Choose the one you need