+ All Categories
Home > Technology > PharoDAYS 2015: Web 2.0 by Esteban Lorenzano

PharoDAYS 2015: Web 2.0 by Esteban Lorenzano

Date post: 18-Jul-2015
Category:
Upload: pharo
View: 426 times
Download: 1 times
Share this document with a friend
Popular Tags:
15
Web 2.0 A short guide to fall into the client-side
Transcript
Page 1: PharoDAYS 2015: Web 2.0 by Esteban Lorenzano

Web 2.0A short guide to fall into the client-side

Page 2: PharoDAYS 2015: Web 2.0 by Esteban Lorenzano

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

Page 3: PharoDAYS 2015: Web 2.0 by Esteban Lorenzano

because not everything is Seaside

Page 4: PharoDAYS 2015: Web 2.0 by Esteban Lorenzano

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.

Page 5: PharoDAYS 2015: Web 2.0 by Esteban Lorenzano

Reef

A Seaside extension to manage AJAX/Javascript

Exists since years, but not publicised enough

Evolved according to needs (my needs)

Page 6: PharoDAYS 2015: Web 2.0 by Esteban Lorenzano

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

Page 7: PharoDAYS 2015: Web 2.0 by Esteban Lorenzano

Reef components

Many Bootstrap components wrapped

Some others in the form of Plugins

Magritte-Reef

Page 8: PharoDAYS 2015: Web 2.0 by Esteban Lorenzano

Status

Works fine :)

Needs more people using it

Needs more people caring about it

Page 9: PharoDAYS 2015: Web 2.0 by Esteban Lorenzano

Install Reef

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

Page 10: PharoDAYS 2015: Web 2.0 by Esteban Lorenzano

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

Page 11: PharoDAYS 2015: Web 2.0 by Esteban Lorenzano

Tide designClient 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

Page 12: PharoDAYS 2015: Web 2.0 by Esteban Lorenzano

Status

Works fine :)

Needs more people using it

Needs more people caring about it

Page 13: PharoDAYS 2015: Web 2.0 by Esteban Lorenzano

Install Tide

$ git clone [email protected]: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

Page 14: PharoDAYS 2015: Web 2.0 by Esteban Lorenzano

There is no silver bullet!(This will never be stressed enough)

Page 15: PharoDAYS 2015: Web 2.0 by Esteban Lorenzano

Choose the one you need


Recommended