How to create high scalable JavaScript apps for Java Portals

Post on 24-Jun-2015

649 views 4 download

Tags:

description

Jax Conf @ Mainz, Germany @ April, 2013

Transcript of How to create high scalable JavaScript apps for Java Portals

how to createhigh scalable

javascriptapps for

java portalsMainz, 2013.

I’m from brazil

I ♥ opensource

I ♥ jQuery

I ♥ HTML5

today we’regoing to

talk about javascript...

just a toylanguage?

what aboutjQuery?

why shouldI care?

because your UI suck

let’s createa high scalable

javascript application

option #1

writeeverything

from scratch

option #2

use existingopen source solutions

Events,Selection,DOM Manipulation,Animation,Ajax requests

jquery.com

we buildjava portals

our solutionhas more than

4,000,000downloads

and over500,000

deploymentsworldwide

so how canwe create aneasy-to-maintainUI architeture?

and wecreated our

own supersetof components

AlloyUI

YUI =

effects

DOM

ajax

events...

MVC

YUI =

effects

DOM

ajax

events...

MVC

YUI =

effects

DOM

ajax

events...

MVC

YUI =

effects

DOM

ajax

events...

MVC

YUI =

effects

DOM

ajax

events...

MVC

YUI =

effects

DOM

ajax

events...

MVC

YUI =

effects

DOM

ajax

events...

MVC

AlloyUI =

calendar

tabs

buttons

carousel...

audio

AlloyUI =

calendar

tabs

buttons

carousel...

audio

AlloyUI =

calendar

tabs

buttons

carousel...

audio

AlloyUI =

calendar

tabs

buttons

carousel...

audio

AlloyUI =

calendar

tabs

buttons

carousel...

audio

AlloyUI =

calendar

tabs

buttons

carousel...

audio

AlloyUI =

calendar

tabs

buttons

carousel...

audio

JavaScript

YUI

AlloyUI

but I’ma javaguy!

<taglibs> \o/

everythingyou need

everythingyou need

+ single api

everythingyou need

+ single api+ good

performance

who uses it?

more than300,000

downloads

wannaknowmore?

find meon room Watfordsaal Bat 2pm

“HTML5 is the future”

wanna see the future?

HTML5is today!

Content ConsumerDevices

Content ConsumerDevices

old browsers are like B&W TVs

new browsers are like HD TVs

TV already solved that problem

so why developerskeep doing this?

it’s up to you!

dank :)