Top Banner
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Does JavaScript Make Sense in the Enterprise? Geertjan Wielenga @geertjanw
68

Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Feb 15, 2019

Download

Documents

trinhque
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Does JavaScript Make Sense

in the Enterprise?

Geertjan Wielenga @geertjanw

Page 2: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Page 3: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Page 4: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Page 5: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

A metaphorfor our age!

The distractedsociety!

FacebookbeatsRembrandt!

(And the end of the worldis nigh.)

Page 6: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Actually...

They're usinga museum app.

And are findingout more aboutthe paintings theyhad been closelyfocused on a fewminutes earlier.

Page 7: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Browser platform Java platform

Page 8: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Page 9: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript happens.

Page 10: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

10 Building Blocks of Enterprise JavaScript1. Resist the hype.

2. Rediscover HTML5 as an application framework.

3. Compare responsive design between CSS and JavaScript.

4. Evaluate the framework vs. library approach.

5. Incorporate modularity.

6. Evaluate abstractions over JavaScript, CSS, and HTML.

7. Don't worry about ecosystem volatility.

8. Reorientate around WONTA instead of WORA.

9. Evaluate corporate frameworks.

10. Reconsider JavaScript as assembly language.

Page 11: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

1. Resist the hype

Page 12: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Page 13: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

● Data heavy monitoring systems.

● Behind the firewallmanagement systems.

● Large resolutionrequirements.

● All the usersin the same room.

Page 14: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

1a. Consider supplementing with new devices

Page 15: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

● Mobile appto receive urgent notificationsfor air traffic controlers.

● Web appto display reportsfor upper management.

● And keep the main systemexactly as it has always beensince that's how it makes sense.

Page 16: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

2. Rediscover HTML5 as an application framework

Page 17: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Page 18: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

HTML5: Not Documents Only, Not Multimedia Only● Originally, HTML was designed

as a language for semanticallydescribing scientific documents.

● HTML5 is a response todemands for multimedia experiences(animations, games, movies, and audio).

● However, it also includes built-in application-development features.● Semantic markup: <article>, <header>● New input types: e-mail, URL, color.● New Intellisense/Auto Completion.● Validation attributes, 'required' and 'pattern'.

Page 19: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Principles of HTML5

● New features should be based on HTML, CSS, and JavaScript.

● Need for external plugins, e.g., Flash,should be reduced.

● Error handling should be easierthan previous versions.

● Scripting should be replacedby more markup.

● HTML5 should be device independent.

Page 20: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

<input id="country_name" name="mycountry" type="text" required list="country" />

<datalist id="country"> <option value="Afghanistan"> <option value="Albania"> <option value="Algeria"> <option value="Andorra"> <option value="Angola"></datalist>

Page 21: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Demos

Page 22: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

3. Compare responsive design between CSS and JavaScript

Page 23: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Page 24: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

CSS: Not Only Styling of Documents

● Originally, CSS was designedas a stylesheet language for describingthe look and feel of documents.

● Unlike previous versions, CSS3is modular: over 50 modulesmake up CSS3.

● “Media Query” is the most well known.● Tailer to different resolutions.● Enable responsive design.● But... also take a look at JavaScript for this.

Page 25: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

CSS: Maybe Less Effective Than JavaScript

● CSS3 Media Queriesshow/hide elements from the DOM.

● JavaScript librariesload/unload elements from the DOM.● Response.js:

http://responsejs.com● Foundation Interchange:

http://foundation.zurb.com

Page 26: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Demos

Page 27: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

4. Evaluate the framework vs. library approach

Page 28: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Page 29: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Page 30: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Page 31: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Different Libraries, Different Purposes• Application Frameworks & Libraries

Angular, Knockout, Backbone, Ext, React, Ember, and more• Component Libraries

JQuery UI, Sencha, PrimeFaces, and more• Module Systems

RequireJS, Browserfy, and more• Build Systems

Grunt, Gulp, Brunch, and more• Testing Frameworks

Protractor, Jasmine, Qunit, Karma, and more

Page 32: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Frameworkapproach:

Libraryapproach:

Page 33: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

5. Incorporate modularity

Page 34: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Page 35: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Modularity: Not Natively Built into JavaScript, Right Now

● Consider and compare available modularity solutions● Require.js:

http://requirejs.org/● Browserify:

http://browserify.org/● SystemJS● ECMAScript 6 Modules

Page 36: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Demos

Page 37: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

6. Evaluate abstractions overJavaScript, CSS, and HTML

Page 38: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Page 39: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

HTML: Emmet

JavaScript: TypeScript, CoffeeScript

CSS: SASS, LESS

Page 40: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

7. Don't worry about ecosystem volatility

Page 41: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Page 42: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Life in a Volatile Ecosystem

● Lifespan of your app equals lifespan of the framework you're using.● 1 ½ to 2 year lifespan.● Is the code hard to read, no worries, it'll be rewritten from scratch soon.● Don't worry so much about maintainability and backward compatibility.● Things change fast, the ecosystem is already different right now

than when this presentation started.

Page 43: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Page 44: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

8. Reorientate around WONTA instead of WORA

Page 45: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Page 46: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Write Once, Never Touch Again

Page 47: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

9. Evaluate corporate frameworks

Page 48: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Page 49: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Unexpected Organizations in Enterprise JavaScriptand open source software projects in general

● Microsoft – several● IBM – several● SalesForce – several● SAP – SAP UI5 and Fiori● ING – github.com/Spectingular (AngularJS-based component framework.)● PayPal – krakenjs.com (Node.js/Express based application framework.)● Oracle – oraclejet.org (Toolkit of open source JavaScript libraries.)

Page 50: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Page 51: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Page 52: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Requirements First• Responsive Design• Modularity• Single Page Application• Accessibility• Internationalization• Security & Performance Optimization• Conformance to Standards• Documentation & Support

Page 53: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Oracle JET: Free & Open Source Enterprise JavaScriptOracle JavaScript Extension Toolkit

• oraclejet.org, @oraclejet, github.com/oracle/oraclejet• Not a framework, not a library, but a toolkit• Collection of open source libraries, e.g., Require, Knockout, JQuery• Free and open source component library (Graphs, Charts, etc)• Architecture and templates and enterprise solutions, e.g., accessibility• Actively used within Oracle, since about 3 years

Page 54: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Page 55: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Twitter: @oraclejet

Page 56: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Twitter: @oraclejet

Page 57: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Twitter: @oraclejet

Page 58: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Page 59: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Page 60: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Oracle JET: Free & Open Source Enterprise JavaScriptOracle JavaScript Extension Toolkit

• oraclejet.org, @oraclejet, github.com/oracle/oraclejet• Not a framework, not a library, but a toolkit• Collection of open source libraries, e.g., Require, Knockout, JQuery• Free and open source component library (Graphs, Charts, etc)• Architecture and templates and enterprise solutions, e.g., accessibility• Actively used within Oracle, since about 3 years

Page 61: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

10. Reconsider JavaScript as assembly language

Page 62: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Page 63: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Page 64: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Write in Java – Let Framework Create JavaScript● https://github.com/jashkenas/coffeescript/wiki/list-of-languages-that-compile-to-js

● Vaadin: http://vaadin.com● Gluon: http://gluonhq.com● Codename One: https://www.codenameone.com● DukeScript: http://dukescript.com

● Framework for creating applications for all devices from single codebase.● Plain Java applications that internally use JavaScript and HTML.● Business logic in Java and view in HTML.● Maven archetypes in Maven central.

Page 65: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Write in Java – Let Framework Create JavaScript

Page 66: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Write in Java – Let Framework Create JavaScript

Page 67: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

10 Building Blocks of Enterprise JavaScript

1. Resist the hype.

2. Rediscover HTML5 as an application framework.

3. Compare responsive design between CSS and JavaScript.

4. Evaluate the framework vs. library approach.

5. Incorporate modularity.

6. Evaluate abstractions over JavaScript, CSS, and HTML.

7. Don't worry about ecosystem volatility.

8. Reorientate around WONTA instead of WORA.

9. Evaluate corporate frameworks.

10. Reconsider JavaScript as assembly language.

Page 68: Does JavaScript Make Sense in the Enterprise? - Jfokus · Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Write in Java – Let Framework Create JavaScript ...

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Contact Details

@geertjanw

@oraclejet

[email protected]

blogs.oracle.com/geertjan