eclipse scout...eclipse scout scout framework built for business applications multi device support...

34
Olav.Lenz@ bsi-software.com Eclipse Scout The newJava Web-framework

Upload: others

Post on 23-Jan-2021

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Olav.Lenz @ bsi-software.com

Eclipse Scout The new Java Web-framework

Page 2: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Agenda

�What’s Scout

�16 Years of technology

�Java: Building with Maven

�HTML5: Themes and Styling

Page 3: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Eclipse Scout

Scout Framework

� Built for Business Applications

� Multi Device support

� Based on Java and HTML5, CSS3, JS

Framework Goals

� Long term strategy (enterprise apps live > 10 years)

� Boosts productivity (producing software in Switzerland …)

� Easy to learn (new team members productive in 1-2 weeks)

Page 4: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Eclipse ScoutNeon Release

Page 5: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Eclipse Scout 2015

Back to the Future …

Page 6: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Let’s go back to …

Page 7: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

… 1999

Page 8: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

… 1999

Page 9: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

… 1999

Page 10: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

… 2002

Page 11: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

… 2005

Page 12: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

… 2007

Page 13: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Eclipse Scout 2011

Page 14: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Eclipse Scout 2012

Page 15: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Eclipse Scout 2015/16

Page 16: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Eclipse Scout 2015

Eclipse Scout NeonJava: Building with Maven

Page 17: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Once upon a time…

MANIFEST.MF

plugin.xml

<bundle>

myapp-server.product

myapp.target

P2 Update Site<bundle>.test

MAVEN TYCHO

Page 18: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps
Page 19: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

� {project name}

� {project name}.server

� {project name}.shared

� {project name}.client

� {project name}.ui.html

� {project name}.server.app.dev

� {project name}.ui.html.app.dev

� {project name}.server.app.war

� {project name}.ui.html.app.war

Standard Maven Project

Page 20: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

� Works as expected

Maven Integration for Eclipsem2e

Page 21: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Maven CLI

Page 22: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Eclipse Scout 2015

Eclipse Scout NeonHTML5: Styling and Themes

Page 23: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Technology

� CSS3 + Less

CSS Organisation

� Global Less files (colors, fonts, sizes, …)

� Component specific Less files (Form, Field, Button…)

� Optional: Project specific Less files

� Theme: Named set of Less files

From Less to final CSS

1. Assemble set of all applicable Less files

2. Process Less files and create single big CSS file

3. Minify CSS and sent it to browser

Themes and Styling with Scout

Page 24: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Implemented Process

1. Project specific files override Scout default

2. Assemble set of all applicable Less files

3. Process Less files and create single big CSS file

4. Minify CSS and sent it to browser

From Less to final CSS

Page 25: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Default Theme

Page 26: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Dark Theme

Page 27: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Rayo Theme

Page 28: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Global Styling

� Globally change application colors, fonts, …

� Simple and low effort

� Example: Color of data fields

Styling of Components

� Change individual elements

� Powerful but more CSS knowledge requried

� Example: Appearance of dialogs

Styling

Page 29: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Global StylingColors of Data Fields

Page 30: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Styling of individual ComponentAppearance of Dialogs

Page 31: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Eclipse Scout 2015

Eclipse Scout NeonSummary

Page 32: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Summary – Part 1

The Scout Story

� Changes in platform technology

� Many Changes in UI technology

� Product code was never thrown away for 15 years

What can Scout do for you?

� Help to efficiently implement business apps

� Protect your investment over many, many years

Page 33: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Summary – Part 2

The new Java Platform

� Directly based on Java

� Maven «by the books»

The new HTML5 UI

� Directly based on HTML5/CSS3/JavaScript

� Powerful theming and styling

Page 34: Eclipse Scout...Eclipse Scout Scout Framework Built for Business Applications Multi Device support Based on Java and HTML5, CSS3, JS Framework Goals Long termstrategy (enterprise apps

Eclipse Scout 2015

Thanks@EclipseScout