Open Source on IBM I Webinar Series Day 2 ERWIN EARLEY ([email protected]), SR

Total Page:16

File Type:pdf, Size:1020Kb

Open Source on IBM I Webinar Series Day 2 ERWIN EARLEY (EEARLEY@PERFORCE.COM), SR Open Source on IBM i Webinar Series Day 2 ERWIN EARLEY ([email protected]), SR. SOLUTIONS CONSULTANT, PERFORCE, NOVEMBER 2019 2 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Day 1 Review • Introduction to Open Source on IBM i • Why is Open Source on IBM i Important • Understanding the PASE environment as the enabler of Open Source on IBM i • Getting Familiar with the PASE environment 2 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 3 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Day 2 Agenda • Setting up OSS EcoSystem on IBM i – ACS version • Exploring Containers on IBM i • Managing Open Source on IBM i • Exploring Open Source Programming Languages ▪ Integration with Db2 and ILE • After-Hours Lab: Containers & Setting up Development Environment • After-Hours Lab: Open Source Programming Languages 3 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com IBM Systems Technical University © 3 4 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Setting up OSS Ecosystem on IBM i – ACS Version 4 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 5 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com The directory structure Before installing the Open Source ecosystem / dev home lib sbin tmp usr var Directory Contents bin Commands dev Device Files etc Configuration files home User Home Directories lib Libraries pkgs Package files / commands sbin Privileged commands tmp Temporary files usr Utilities & Applications var Variable files 5 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 5 6 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Bootstrapping OSS • Bootstrapping is the process of installing utilities and repository definitions to enable the system with the necessary commands for managing open source packages Version 1.1.8 Connect to the or later of system via ACS SSH NOTE: An alternate installation method would be to download the SQL bootstrap script from management Supports in packages of containers separate ftp://public.dhe.ibm.com/software/ibmi/ Bootstrap not products/pase/rpms/bootstrap.sql and currently installed run it against your IBM i 6 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 7 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Repository Definition • One of the tasks that the bootstrap accomplished was setting up a repository definition • The RPM packages reside in a repository that is publicly accessible • The definition of the repository is located in the /QOpenSys/etc/yum/repos.d directory • The repository file for the IBM RPM pile is ibm.repo [ibm] name=ibm baseurl=http://public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo enabled=1 gpgcheck=0 Note: it is possible to use a local repository by downloading the files from the indicated FTP site and then uploading them to a directory on the system. The 'baseurl' would change to indicate 'file' and the path to the directory of RPMs. Additional note: ACS has support for cloning the repository to a local server. 7 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 8 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com The directory structure After installing the Open Source bootstrap / dev home lib QOpenSys sbin tmp usr var bin etc lib pkgs sbin tmp usr var 8 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 8 9 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Install New Software: ACS yum install <package> 9 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 10 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Check for Updates: ACS yum list upgrades 10 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 11 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Perform an Update: ACS yum upgrade <package> yum upgrade 11 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 12 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Security Vulnerability! Uh Oh!!! • https://www.cvedetails.com/cve/CVE-2018-1000007/ 12 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 13 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com What's installed?: ACS yum list <package> yum list '*searchword*' 13 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 14 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com What's available?: ACS yum list available 14 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 15 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Where does all this information come from? 15 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 16 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Where does all this information come from? 16 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 17 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Where are the RPMs (packages) hosted? • Open-Source Software team builds .rpm files, then we put them out on the internet for you: https://public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo 17 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 18 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Not just IBM repositories!! .NET Available on IBM i!!! • Mono has been ported to IBM i!! • Community Effort • Available via third-party RPM repository https://bitbucket.org/ibmi/opensourc e/src/master/docs/yum/3RD_PART Y_REPOS.md 18 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 19 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com https://bitbucket.org/ibmi/opensource/src/master/docs/yum/3RD_PARTY_REPOS.md 19 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 20 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Automating the Process “How can I limit the RPMs available?” • You need to host your own private RPM repository “My systems can’t access the internet!” • You need to host your own private RPM repository on your company’s intranet “I need to distribute to many systems” • Easy to do with Yum – Script or Schedule a Job “That sounds really hard” • Yes it does. But it is actually very easy. Let me show you... 20 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 21 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Managing your RPMs company wide IBM .rpm repo Your IBM i(s) Or Chroots Your private repo Host server 21 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 22 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Managing your RPMs company wide IBM .rpm repo Your IBM i(s) Or Chroots Your private repo Host server ACS 22 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 23 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Distributing updates in 4 easy steps 1) Clone the IBM OSS repo to your Host server 2) Create your own repo 3) Point your IBM i systems to your repo 4) Automate… 23 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 24 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Step 1: Clone IBM i OSS repo (using ACS) 24 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 25 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Step 2: Create your own repo (with ACS) Copy from source repo Create repo Make repo accessible 25 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 26 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Step 3: Point your IBM i systems to your repo Now, onto your IBM i systems… We have to set up our systems to point to our new repository NOTE: I use ssh to connect to my IBM i, and run bash script. Some bash commands may be different than QP2TERM commands! 26 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 27 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Step 3: Point your IBM i systems to your repo This is where the ACS and non-ACS paths meet… On your IBM i, run the following command to point yum to the repo yum-config-manager --add-repo <ip-address-where-hosted>/ibm yum-config-manager --add-repo <ip-address-where-hosted> 27 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 28 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Step 3: Point your IBM i systems to your repo When you run yum repolist, you should see your new, privately hosted repo! 28 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 29 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Step 3: Point your IBM i systems to your repo Summary: We created a .repo file in /QOpenSys/etc/yum/repos.d We can now get our RPMs on our IBM i directly from our own repository 29 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 30 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Automating updates IBM .rpm repo Your IBM i(s) Your private repo Host server 30 | Zend by Perforce © 2019 Perforce Software, Inc. zend.com 31 | COMMON Webinar Series: Open Source on IBM i | November 2019 zend.com Utilities • Various utilities are available for working in PASE including editors, package management tools, and source code control systems • By installing the open source bootstrap (shown earlier) tools such as yum and rpm are available for manage other software packages Function yum command Install a package yum install <package> Remove a package yum remove <package> Search for a package yum search <package> List installed packages yum list installed List available packages yum list available List all packages yum list all 31 | Zend by Perforce © 2019 Perforce Software, Inc.
Recommended publications
  • Coffeescript Accelerated Javascript Development.Pdf
    Download from Wow! eBook <www.wowebook.com> What readers are saying about CoffeeScript: Accelerated JavaScript Development It’s hard to imagine a new web application today that doesn’t make heavy use of JavaScript, but if you’re used to something like Ruby, it feels like a significant step down to deal with JavaScript, more of a chore than a joy. Enter CoffeeScript: a pre-compiler that removes all the unnecessary verbosity of JavaScript and simply makes it a pleasure to write and read. Go, go, Coffee! This book is a great introduction to the world of CoffeeScript. ➤ David Heinemeier Hansson Creator, Rails Just like CoffeeScript itself, Trevor gets straight to the point and shows you the benefits of CoffeeScript and how to write concise, clear CoffeeScript code. ➤ Scott Leberknight Chief Architect, Near Infinity Though CoffeeScript is a new language, you can already find it almost everywhere. This book will show you just how powerful and fun CoffeeScript can be. ➤ Stan Angeloff Managing Director, PSP WebTech Bulgaria Download from Wow! eBook <www.wowebook.com> This book helps readers become better JavaScripters in the process of learning CoffeeScript. What’s more, it’s a blast to read, especially if you are new to Coffee- Script and ready to learn. ➤ Brendan Eich Creator, JavaScript CoffeeScript may turn out to be one of the great innovations in web application development; since I first discovered it, I’ve never had to write a line of pure JavaScript. I hope the readers of this wonderful book will be able to say the same. ➤ Dr. Nic Williams CEO/Founder, Mocra CoffeeScript: Accelerated JavaScript Development is an excellent guide to Coffee- Script from one of the community’s most esteemed members.
    [Show full text]
  • Chapter 1: Introduction to the Pencil Code Environment
    Chapter 1: Introduction to the Pencil Code Environment In this manual we will show how to use Pencil Code to explore programming. Pencil Code is a free programming tool available at pencilcode.net. Pencil Code was developed by Google engineer David Bau together with his son Anthony Bau, with open-source contributions from many others. Two Ways of Looking at a Program There are two ways of viewing a program. A computer user sees a program by looking at its output. A programmer works with a program’s source code. In Pencil Code, the screen is split into two halves, with the source code on the left and the output on the right. You run programs by by pressing the “play” button in the middle. The Pencil Code interface splits the screen, showing source code on the left and output on the right. The play button in the center runs the code and produces output. Languages and Libraries in Pencil Code Pencil Code supports code in both blocks and text using mainstream web programming languages and useful libraries including: • HTML, the standard HyperText Markup Language for the web. • JavaScript, the standard programming language of web browsers. • CSS, the standard Cascading Style Sheet language for visual styles on the web. • jQuery, a popular library that simplifies programming interactive websites. • CoffeeScript, a language that lets you do more with less typing than JavaScript. • jQuery-turtle, which extends jQuery to simplify graphics and animation for novices. With Pencil Code, students can use these technologies to create web applications with global visibility and impact while exploring fundamental concepts in computational thinking.
    [Show full text]
  • Coffeescript Accelerated Javascript Development, Second Edition
    Extracted from: CoffeeScript Accelerated JavaScript Development, Second Edition This PDF file contains pages extracted from CoffeeScript, published by the Prag- matic Bookshelf. For more information or to purchase a paperback or PDF copy, please visit http://www.pragprog.com. Note: This extract contains some colored text (particularly in code listing). This is available only in online versions of the books. The printed versions are black and white. Pagination might vary between the online and printed versions; the content is otherwise identical. Copyright © 2015 The Pragmatic Programmers, LLC. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior consent of the publisher. The Pragmatic Bookshelf Dallas, Texas • Raleigh, North Carolina CoffeeScript Accelerated JavaScript Development, Second Edition Trevor Burnham The Pragmatic Bookshelf Dallas, Texas • Raleigh, North Carolina Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and The Pragmatic Programmers, LLC was aware of a trademark claim, the designations have been printed in initial capital letters or in all capitals. The Pragmatic Starter Kit, The Pragmatic Programmer, Pragmatic Programming, Pragmatic Bookshelf, PragProg and the linking g device are trade- marks of The Pragmatic Programmers, LLC. Every precaution was taken in the preparation of this book. However, the publisher assumes no responsibility for errors or omissions, or for damages that may result from the use of information (including program listings) contained herein. Our Pragmatic courses, workshops, and other products can help you and your team create better software and have more fun.
    [Show full text]
  • Air Quality Monitoring Toolkit: Assessing Second-Hand Smoke in Hospitality Venues
    Air Quality Monitoring Toolkit: Assessing Second-Hand Smoke in Hospitality Venues Authors: Dr Angela Jackson-Morris, Department of Tobacco Control, The International Union Against Tuberculosis and Lung Disease, Edinburgh, Scotland; Dr Sean Semple, Scottish Centre for Indoor Air, Respiratory Group, Division of Applied Health Sciences, University of Aberdeen, Aberdeen, Scotland; Ruaraidh Dobson, Scottish Centre for Indoor Air, Child Health, University of Aberdeen, Aberdeen, Scotland. About the International Union Against Tuberculosis and Lung Disease (The Union): For nearly 100 years, The Union has drawn from the best scientific evidence and the skills, expertise and reach of its staff, consultants and membership in order to advance solutions to the most pressing public health challenges affecting people living in poverty around the world. With nearly 17,000 members and subscribers from 156 countries, The Union has its headquarters in Paris and regional offices in Africa, the Asia Pacific, Europe, Latin America, North America and South-East Asia. The Union’s scientific departments focus on tuberculosis and HIV, lung health and non- communicable diseases, tobacco control and operational research. For more information on The Union’s tobacco control work please visit www.tobaccofreeunion.org or follow us on Twitter @TheUnion_TC. Contact: The International Union Against Tuberculosis and Lung Disease (The Union) Department of Tobacco Control 8 Randolph Crescent Edinburgh UK EH3 7TH T: 0131 240 0252 E: [email protected] About the University of Aberdeen: Founded in 1495, the University of Aberdeen is Scotland's third oldest and the UK's fifth oldest university, and is consistently ranked among the top 1 percent of the world's universities.
    [Show full text]
  • Learning HTML5 Game Programming Addison-Wesley Learning Series
    Learning HTML5 Game Programming Addison-Wesley Learning Series Visit informit.com/learningseries for a complete list of available publications. The Addison-Wesley Learning Series is a collection of hands-on programming guides that help you quickly learn a new technology or language so you can apply what you’ve learned right away. Each title comes with sample code for the application or applications built in the text. This code is fully annotated and can be reused in your own projects with no strings attached. Many chapters end with a series of exercises to encourage you to reexamine what you have just learned, and to tweak or adjust the code as a way of learning. Titles in this series take a simple approach: they get you going right away and leave you with the ability to walk off and build your own application and apply the language or technology to whatever you are working on. Learning HTML5 Game Programming A Hands-on Guide to Building Online Games Using Canvas, SVG, and WebGL James L. Williams Upper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Cape Town • Sydney • Tokyo • Singapore • Mexico City Many of the designations used by manufacturers and sellers to distinguish their products Associate are claimed as trademarks. Where those designations appear in this book, and the publish- Publisher er was aware of a trademark claim, the designations have been printed with initial capital Mark Taub letters or in all capitals. Senior Acquisitions The author and publisher have taken care in the preparation of this book, but make no Editor expressed or implied warranty of any kind and assume no responsibility for errors or omis- Trina MacDonald sions.
    [Show full text]
  • Webassembly: High Speed at Low Cost for Everyone
    WebAssembly: high speed at low cost for everyone Andreas Rossberg Google [email protected] Abstract instructions that are widely available on modern CPUs. They map WebAssembly is a new language- and platform-independent bi- to machine code in a predictable manner and with predictable nary code format bringing native-code performance to the web. We performance on all relevant platforms. present its design and report our experience with specifying its se- High-level Data Flow. WebAssembly is an expression language: mantics via a reference interpreter written in OCaml, that currently it is defined as an AST in which machine operators return values serves as a proxy for a future formal specification. and can be used as operands to other operators. The binary format is a post-order serialisation of this AST. This design provides for 1. Introduction more compact binaries than 3-address code or SSA form would. Like it or not, the Web has become one of the most important Low-level Control Flow. Control flow is available mainly in the platforms for application development. Yet there is only one pro- form of sequential blocks and branch instructions, plus a structured gramming language that the Web understands: JavaScript. Liter- conditional. However, branches are still structured: they can only ally hundreds of compilers have been written that translate almost break out of an expression, not jump into one. This prevents ir- every imaginable language into JavaScript in order to run on the reducible control flow and associated complications (it’s the pro- Web [1]. Unfortunately, JavaScript is not the most delightful com- ducers’ responsibility to transform irreducible control flow into pilation target: it’s brittle and often slow in unpredictable ways, all structured form [6]).
    [Show full text]
  • Archive and Compressed [Edit]
    Archive and compressed [edit] Main article: List of archive formats • .?Q? – files compressed by the SQ program • 7z – 7-Zip compressed file • AAC – Advanced Audio Coding • ace – ACE compressed file • ALZ – ALZip compressed file • APK – Applications installable on Android • AT3 – Sony's UMD Data compression • .bke – BackupEarth.com Data compression • ARC • ARJ – ARJ compressed file • BA – Scifer Archive (.ba), Scifer External Archive Type • big – Special file compression format used by Electronic Arts for compressing the data for many of EA's games • BIK (.bik) – Bink Video file. A video compression system developed by RAD Game Tools • BKF (.bkf) – Microsoft backup created by NTBACKUP.EXE • bzip2 – (.bz2) • bld - Skyscraper Simulator Building • c4 – JEDMICS image files, a DOD system • cab – Microsoft Cabinet • cals – JEDMICS image files, a DOD system • cpt/sea – Compact Pro (Macintosh) • DAA – Closed-format, Windows-only compressed disk image • deb – Debian Linux install package • DMG – an Apple compressed/encrypted format • DDZ – a file which can only be used by the "daydreamer engine" created by "fever-dreamer", a program similar to RAGS, it's mainly used to make somewhat short games. • DPE – Package of AVE documents made with Aquafadas digital publishing tools. • EEA – An encrypted CAB, ostensibly for protecting email attachments • .egg – Alzip Egg Edition compressed file • EGT (.egt) – EGT Universal Document also used to create compressed cabinet files replaces .ecab • ECAB (.ECAB, .ezip) – EGT Compressed Folder used in advanced systems to compress entire system folders, replaced by EGT Universal Document • ESS (.ess) – EGT SmartSense File, detects files compressed using the EGT compression system. • GHO (.gho, .ghs) – Norton Ghost • gzip (.gz) – Compressed file • IPG (.ipg) – Format in which Apple Inc.
    [Show full text]
  • Why I Was Wrong About Typescript TJ Vantoll
    Why I Was Wrong About TypeScript TJ VanToll TypeScript TypeScript TypeScript Why I Was Wrong About TypeScript Whether TypeScript is a good fit for your next project Why I Was Wrong About TypeScript “A typed superset of JavaScript that compiles to plain JavaScript” “A typed superset of JavaScript that compiles to plain JavaScript” !" # $ Compile to JavaScript tools • There are a lot. • 345 • Source: https://github.com/jashkenas/coffeescript/wiki/List-of- languages-that-compile-to-JS • Ruby, Python, Erlang, Java, Scala, C#, F#, Lisp, Scheme, Haskell, Smalltalk, C, C++, Basic, Go, PHP, and way more. Fun names of compile-to-JS tools • treehugger • jangaroo • Waterbear http://waterbearlang.com/ Compile to JavaScript tools • There are a lot. • 345 • Source: https://github.com/jashkenas/coffeescript/wiki/List-of- languages-that-compile-to-JS • Ruby, Python, Erlang, Java, Scala, C#, F#, Lisp, Scheme, Haskell, Smalltalk, C, C++, Basic, Go, PHP, and way more. Why I Was Wrong About TypeScript % “We risk a lot by building our core on top of TypeScript.” “I don’t hear anyone talking about TypeScript.” “I like to keep my JavaScript pure, as God intended.” Why I Was Wrong About TypeScript Why? 3 reasons 1) Commitment to the ECMAScript standard “Some examples [of compile-to-JavaScript frameworks], like Dart, portend that JavaScript has fundamental flaws and to support these scenarios requires a “clean break” from JavaScript in both syntax and runtime. We disagree with this point of view. We believe that with committee participant focus, the standards runtime can be expanded and the syntactic features necessary to support JavaScript at scale can be built upon the existing JavaScript standard.” 2) Types are opt-in 3) Tooling So should you use TypeScript? • Are your apps big? • Do you work on a team? • Unfamiliar codebases? • Non JS developers that need to write JS code? Thanks! @tjvantoll http://bit.ly/DR2017-vantoll.
    [Show full text]
  • Server-Side Rendering of React Applications in Enterprise Portals
    Bachelor’s Thesis Czech Technical University in Prague Faculty of Electrical Engineering F3 Department of Computer Science Server-side rendering of React applications in enterprise portals Václav Jančařík Supervisor: Ing. Martin Ledvinka Field of study: Software Engineering and Technology May 2019 ii ZADÁNÍ BAKALÁŘSKÉ PRÁCE I. OSOBNÍ A STUDIJNÍ ÚDAJE Příjmení: Jančařík Jméno: Václav Osobní číslo: 466301 Fakulta/ústav: Fakulta elektrotechnická Zadávající katedra/ústav: Katedra počítačů Studijní program: Softwarové inženýrství a technologie II. ÚDAJE K BAKALÁŘSKÉ PRÁCI Název bakalářské práce: Vykreslování React aplikací na straně serveru v enterprise portálech Název bakalářské práce anglicky: Server-side rendering of React applications in enterprise portals Pokyny pro vypracování: 1. Analyze the current state of the art in the field of server-side rendering of React applications and running React applications in portal solutions. 2. Design fundamental principles of integration of server-side rendering of React applications in the context of portal environments. 3. Based on your design, implement a server-side rendering solution for React applications embedded in enterprise portals. 4. Demonstrate the correctness of your solution by comparing client- side and server-side rendering output of an example application. 5. Compare the performance of your server-side rendering solution with standard client-side rendering. Seznam doporučené literatury: [1] K. Konshin, Next.js Quick Start Guide: Server-side rendering done right, Packt Publishing, 2018 [2] R. Sezov, Liferay in Action: The Official Guide to Liferay Portal Development, Manning Publications, 2011 [3] R. Wieruch, The Road to learn React: Your journey to master plain yet pragmatic React.js, 2018 Jméno a pracoviště vedoucí(ho) bakalářské práce: Ing.
    [Show full text]
  • The History and Future of Google Web Toolkit
    The History and Future of Google Web Toolkit Ray Cromwell Tech Lead History 2005 Google Maps Timeline ● GWT 1.0 (2006) ● GWT 1.3 (2007) First Open Source Release, OSX support ● GWT 1.4 (2007) JUnit and ImageBundle ● GWT 1.5 (2008) Java 1.5 support, Overlay Types, DOM API, CSS Themes, Linkers ● GWT 1.6 (2009) EventHandlers, EMMA Support, WAR support, Parallelized Builds ● GWT 1.7 (2009) Newer browser support, IE8, GPE and AppEngine ● GWT 2.0 (2009) DevMode, DraftCompile, UIBinder, LayoutPanel, CodeSplitter, ClientBundle, CssResource ● GWT 2.1 (2010) RequestFactory, Editor Framework, Validation, MVP, Cell Widgets ● GWT 2.2 (2011) GWT Designer, HTML5 support ● GWT 2.3 (2011) Better AppEngine integration ● GWT 2.4 (2011) Maven and RequestFactory enhancements Where we are today. ● SDK downloaded over 1 million times ● 100,000+ Active Developers ● Deep Integration with Eclipse, IntelliJ, Spring STS/Roo ● Used by Google products such as AdWords, Flights, Wallet ● Fun things: GwtQuake, Angry Birds for the Web ● GWT Today is a mature, high quality, code base. Introducing GWT 2.5 ● New Compiler Optimizations ● Closure Compiler Integration ● Code Splitter Improvements ● Better Stack Traces with SourceMaps ● Real Time Compiles with SuperDevMode ● UiBinder and CellWidget updates ● I18N and ARIA/Accessibility improvements ● Elemental - High performance, feature complete, HTML5 Compiler Optimizations Default Options 14% Smaller 8% Smaller Closure Compiler Integration GWT 2.4 vs GWT 2.5 + Closure 20% Smaller than GWT 2.4 CodeSplitter Improvements Problem:
    [Show full text]
  • Coffeescript
    Frames | No Frames COFFEESCRIPT 1 CoffeeScript Plugin - Reference Documentation Authors: Jeff Brown Version: 1.0-SNAPSHOT Table of Contents 1. Introduction To The CoffeeScript Plugin ................................................................................................................... 3 2. Defining CoffeeScript Functions ................................................................................................................................ 4 2.1 Compiler Configuration Options ........................................................................................................................... 4 3. Calling CaffeeScript Functions From A GSP ............................................................................................................ 5 4. Defining Inline CoffeeScript ...................................................................................................................................... 6 2 1. Introduction To The CoffeeScript Plugin The CoffeeScript plugin provides support for taking advantage of CoffeeScript in a Grails application. This document describes the CoffeeScript integration options in a Grails application. For details about the CoffeeScript language and general usage see jashkenas.github.com/coffee-script/. 3 2. Defining CoffeeScript Functions CoffeeScript functions may be defined in .coffee files under src/coffee/. A simple example: // src/coffee/math.coffee window.multiplyNumbers = (x, y) -> result = x * y; msg = x + " * " + y + " is " + result; return msg All CoffeeScript
    [Show full text]
  • Adapt Authoring Tool: Installation
    Adapt Authoring Tool: Installation UGA Training Capstone Team April 21, 2019 1 Contents 1 Installing Prerequisites 3 1.1 Installing Git . 3 1.1.1 Debian Based Install . 3 1.1.2 RPM Based Install . 3 1.2 NodeJS . 4 1.2.1 Debian Based Install . 4 1.2.2 RPM Based Install . 4 1.3 Grunt . 5 1.3.1 Update NPM . 5 1.3.2 Install Grunt . 5 1.4 MongoDB Community Edition . 6 1.4.1 Debian Based Install . 6 1.4.2 RPM Based Install . 6 1.5 FFmpeg . 7 1.5.1 Debian Based Install . 7 1.5.2 RPM Based Install . 7 2 Installing The Authoring Tool 8 2.1 Clone Adapt Authoring . 8 2.2 Install required NPM packages . 8 2.3 Install Script . 9 2.4 PM2: Process Manager . 11 2.4.1 Installing PM2 . 11 2.4.2 Starting The Server . 11 2 1 Installing Prerequisites The authoring tool and framework require other software to operate. This section will provide the directions on what to install. Instructions have been provided for installation on a Debian or RPM based server. Other instruc- tions are provided at each software packages website. Administrative or Sudo access is required to complete the installation. 1.1 Installing Git Git is a tool for managing source code, and makes it easier to download and update the software. Git may already be installed on the server to which you are installing the authoring tool, to check from command line: $ git --version. 1.1.1 Debian Based Install From the command line: $ sudo apt install git-all 1.1.2 RPM Based Install From the command line: $ sudo dnf install git-all 3 1.2 NodeJS NodeJS is an open source, cross-platform JavaScript run-time enviroment that executes JavaScript code outside of a browser.
    [Show full text]