Hardware / Software Trends and Programming (In Chapter 1)

Total Page:16

File Type:pdf, Size:1020Kb

Hardware / Software Trends and Programming (In Chapter 1) Internet & World Wide Web: How to Program by Deitel and Deitel Hardware / Software Trends and Programming (in Chapter 1) 1/19/2011 1 OBJECTIVES . In this chapter you will learn about: – basic computing concepts. – the different types of programming languages. – the evolution of the Internet and the World Wide Web. – what Web 2.0 is and why it’s having such an impact among Internet-based and traditional businesses. – what Rich Internet Applications (RIAs) are and the key software technologies used to build RIAs. 2 Chapter 1 Sections . 1.8 Personal, Distributed and Client/Server Computing . 1.9 Hardware Trends . 1.10 Key Software Trend: Object Technology . 1.11 JavaScript: Object-Based Scripting for the Web . 1.12 Browser Portability . 1131.13 C, C++ and Java . 1.14 BASIC, Visual Basic, Visual C++, C# and .NET . 1.15 Software Technologies . 1.16 Notes about Internet & World Wide Web How to Program, 4/e . 1.17 Web Resources 3 1 Personal, Distributed and Client/Server Computing . Personal Computing – 1977 Apple Computer popularized personal computing – computers became economical for personal or desktop business use – 1981 IBM PC . Distributed Comppguting – workstations could be linked together in computer networks (late 1980s) – Local area networks (LANs) . Client/Server Computing – servers offer data storage and other capabilities that may be used by client computers distributed throughout the network, – popular operating systems for C/S • UNIX, Linux, Mac OS X and Microsoft’s Windows 4 Hardware Trends . Cost of products and services – consistently dropping over the decades . Computer capacity and speed – doubles every two years (on average) » Moore’s Law . Microprocessor chip – laid groundwork in late 197 0s and 1980s for productivity improvements of the 1990s – hardware moving toward mobile, wireless technology • hand-held devices more powerful than early supercomputers • portability • wireless data-transfer speeds 5 Key Software Trend: Object Technology . Objects – reusable software components that model items in the real world (classes) – makes software developers more productive – do not have to “reinvent the wheel” – object-oriented programs often easier to understand, correct and modify than older types of programs 6 2 Key Software Trend: Object Technology (cont.) . Packaging scheme that helps create meaningful software units – large and highly focused on particular applications areas . Before object technology, programming languages focused on actions (verbs) rather than on objects (nouns) – programmers programmed (wrote code) primarily with verbs – made programs awkward, hard to read – the real world is filled with complex objects and simple actions 7 Key Software Trend: Object Technology (cont.) . Object-oriented programming – programmers work in ways that complement how they see the world – more natural process – significant productivity enhancements . Procedural programming – code was not particularly reusable – forced programmers to constantly “reinvent the wheel” – waste of time and resources . Objects (classes) – software modules – kept in libraries (electronic) – reusable – save time and resources 8 Objects . Have attributes – properties – characteristics – color,,,p,g size, shape, weight . Exhibit behaviors – operations – a ball rolls – a balloon deflates – a baby cries 9 3 Object Classification . Observe object behaviors . Study object attributes . Group objects with similar attributes, behaviors . Compare objects chimpanzees adult human baby lizard 10 Object-Oriented Software Design . OOD . Model software in terms similar to those used to describe real-world objects . Classes of objects have similar characteristics – cars, trucks, little red wagons, roller skates all have wheels – class convertible is a subclass of the class automobile 11 Objects Interact . People objects send information to other people objects by talking . A bank account object send a message to another object that an account has a negative balance 12 4 OOD . Encapsulates: ties together an object’s attributes and behaviors . Hides Information: The way properties or operations are implemented are hidden from a user of the object (a developer is a user of the object when she uses it in a section of code) . Interface: The means by which the object communicates with users of the object 13 Object-oriented vs. Procedural . VB.NET is object-oriented . C is procedural . Object-oriented programming: Programming in an object-oriented language – fundamental unit is the class – a class has properties and methods . Procedural programming: action oriented programming where actions are defined by procedures . Fundamental unit is the function or procedure 14 Classes, Fields, Methods . Class is a user-defined type – contains data • attributes, properties, fields – contains methods that manipulate data . Classes can be associated with other classes – relationships 15 5 Component . Software . Group of related classes . Reusable – employ it in multiple applications 16 Object-oriented Analysis and Design Process . Requirements – what is the system supposed to do? . Specification – how will the system do what it’s supposed to do? . Pseudocode: informal textual description of program flow and logic – OK for small programs/systems . Systems analysis and design software 17 Unified Modeling Language . UML . Most widely used graphical representation for modeling object-oriented systems . Ex tens ible: can be en hance d w ith new features . Independent of OOAD process used . A feature-rich graphical language 18 6 Software Engineering Observations Extensive class libraries of reusable software components are available on the Internet. Many of these libraries are free. Some organizations report that the key benefit object- oriented programming gives them is not software that is reusable but, rather, software that is more understandable, better organized and easier to maintain, modify and debug. This can be significant, because perhaps as much as 80 percent of software cost is associated not with the original efforts to develop the software, but with the continued evolution and maintenance of that software throughout its lifetime. 19 Software Engineering Observation . Reuse of existing classes when building new classes and programs saves time, money and effort. Reuse also he lps programmers bu ild more reliable and effective systems, because existing classes and components often have gone through extensive testing, debugging and performance tuning. 20 JavaScript . Offers object-based scripting for the Web . Attractive language for advancing one’s level of programming skill – object-based language – supports proper software engineering techniques – free for download – interppyppreter built into today’s most popular Web browsers – powerful scripting language • portable • programs execute interpretively on client machines when run through a browser – ActionScript and JavaScript are converging in the next version of the JavaScript standard (JavaScript 2/ECMA Script version 4) – universal client scripting language – simplifies web application development 21 7 What is Ecma? . Ecma International is an industry association founded in 1961 and dedicated to the standardization of Information and Communication Technology (ICT) and Consumer Electronics (CE) . Prior to 1994 it was known as ECMA - European Computer Manufacturers Association . www.ecma-international.org/ . Microsoft instrumental in the standardization of JavaScript by ECMA 22 Ready or not … Programming 23 Good Programming Practice Write your programs in a simple and straightforward manner. This is sometimes referred to as KIS (“keep it simple”). One key aspect of keeping it simple is another interpretation of KIS — “keep it small.” 24 8 Portability Tips It is easier to write portable programs in JavaScript than in many other programming languages. However, differences among interpreters and browsers make portability difficult to achieve. Simply writing programs in JavaScript does not guarantee portability. Research platform variations and write code accordingly. 25 Portability Tips When writing JavaScript programs, you need to deal directly with cross- browser portability issues. Such issues are hidden by Java Scr ip t librar ies (e.g., Dojo, Prototype, Script.aculo.us and ASP.NET Ajax). These libraries provide powerful, ready-to-use capabilities that simplify JavaScript coding, making it cross-browser 26 compatible. Error-Prevention Tips Always test your JavaScript programs on all sys tems an d in a ll we b browsers for which they are intended. 27 9 Good Programming Practice Read the documentation for the JSitiJavaScript version you are us iting to access JavaScript’s rich collection of features. 28 Error-Prevention Tips Your computer and JavaScript interpreter are good teachers. If you are not sure how a feature works, even after studying the documentation, experiment and see what happens. Study each error or warning message and adjust the code accordingly. 29 Portability of Programs Across Browsers . A great challenge – much diversity of client browsers in use – many different platforms in use . Difficu lt to – know capabilities and features of all browsers and platforms in use – find correct mix between absolute portability, complexity and usability of features 30 10 Portability Tips The web is populated with many different browsers, which makes it difficult for authors and web application developers to create universal solutions. The W3C is working toward the goal of a universal client-side platform. 31 Here
Recommended publications
  • Practical Javascript™, DOM Scripting, and Ajax Projects
    Practical JavaScript™, DOM Scripting, and Ajax Projects ■■■ Frank W. Zammetti Practical JavaScript™, DOM Scripting, and Ajax Projects Copyright © 2007 by Frank W. Zammetti All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher. ISBN-13 (pbk): 978-1-59059-816-0 ISBN-10 (pbk): 1-59059-816-4 Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1 Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc., in the United States and other countries. Apress, Inc., is not affiliated with Sun Microsystems, Inc., and this book was written without endorsement from Sun Microsystems, Inc. Lead Editor: Matthew Moodie Technical Reviewer: Herman van Rosmalen Editorial Board: Steve Anglin, Ewan Buckingham, Gary Cornell, Jason Gilmore, Jonathan Gennick, Jonathan Hassell, James Huddleston, Chris Mills, Matthew Moodie, Jeff Pepper, Paul Sarknas, Dominic Shakeshaft, Jim Sumser, Matt Wade Project Manager: Tracy Brown Collins Copy Edit Manager: Nicole Flores Copy Editor: Marilyn Smith Assistant Production Director: Kari Brooks-Copony Production Editor: Laura Esterman Compositor: Susan Glinert Proofreaders: Lori Bring and April Eddy Indexer: Broccoli Information Management Cover Designer: Kurt Krames Manufacturing Director: Tom Debolski Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor, New York, NY 10013.
    [Show full text]
  • The Role of Standards in Open Source Dr
    Panel 5.2: The role of Standards in Open Source Dr. István Sebestyén Ecma and Open Source Software Development • Ecma is one of the oldest SDOs in ICT standardization (founded in 1961) • Examples for Ecma-OSS Standardization Projects: • 2006-2008 ECMA-376 (fast tracked as ISO/IEC 29500) “Office Open XML File Formats” RAND in Ecma and JTC1, but RF with Microsoft’s “Open Specification Promise” – it worked. Today at least 30+ OSS implementations of the standards – important for feedback in maintenance • 201x-today ECMA-262 (fast tracked as ISO/IEC 16262) “ECMAScript Language Specification” with OSS involvement and input. Since 2018 different solution because of yearly updates of the standard (Too fast for the “fast track”). • 2013 ECMA-404 (fast tracked as ISO/IEC 21778 ) “The JSON Data Interchange Syntax“. Many OSS impl. Rue du Rhône 114 - CH-1204 Geneva - T: +41 22 849 6000 - F: +41 22 849 6001 - www.ecma-international.org 2 Initial Questions by the OSS Workshop Moderators: • Is Open Source development the next stage to be adopted by SDOs? • To what extent a closer collaboration between standards and open source software development could increase efficiency of both? • How can intellectual property regimes - applied by SDOs - influence the ability and motivation of open source communities to cooperate with them? • Should there be a role for policy setting at EU level? What actions of the European Commission could maximize the positive impact of Open Source in the European economy? Rue du Rhône 114 - CH-1204 Geneva - T: +41 22 849 6000 - F: +41 22 849 6001 - www.ecma-international.org 3 Question 1 and Answer: • Is Open Source development the next stage to be adopted by SDOs? • No.
    [Show full text]
  • Appendix a the Ten Commandments for Websites
    Appendix A The Ten Commandments for Websites Welcome to the appendixes! At this stage in your learning, you should have all the basic skills you require to build a high-quality website with insightful consideration given to aspects such as accessibility, search engine optimization, usability, and all the other concepts that web designers and developers think about on a daily basis. Hopefully with all the different elements covered in this book, you now have a solid understanding as to what goes into building a website (much more than code!). The main thing you should take from this book is that you don’t need to be an expert at everything but ensuring that you take the time to notice what’s out there and deciding what will best help your site are among the most important elements of the process. As you leave this book and go on to updating your website over time and perhaps learning new skills, always remember to be brave, take risks (through trial and error), and never feel that things are getting too hard. If you choose to learn skills that were only briefly mentioned in this book, like scripting, or to get involved in using content management systems and web software, go at a pace that you feel comfortable with. With that in mind, let’s go over the 10 most important messages I would personally recommend. After that, I’ll give you some useful resources like important websites for people learning to create for the Internet and handy software. Advice is something many professional designers and developers give out in spades after learning some harsh lessons from what their own bitter experiences.
    [Show full text]
  • Ecma International and “Wearable” Standardization
    Ecma/GA/2016/099 Ecma International and “Wearable” Standardization - Dr. István Sebestyén Secretary General Ecma International Rue du Rhône 114- CH-1204 Geneva - T: +41 22 849 6000 - F: +41 22 849 6001 - www.ecma-international.org Outline • How EPFL and Ecma International teamed up for “Wearables2016”? • Briefly about Ecma International (“Standards at Internet Speed”) • Ecma - How to get involved in “Wearables” Standardization? • Summary and conclusion Rue du Rhône 114 - CH-1204 Geneva - T: +41 22 849 6000 - F: +41 22 849 6001 - www.ecma-international.org 2 Teaming up of two partners • EPFL stands for • Categories of education and standards research (incl. 1. Development first, standardization) standard follows • Ecma 2. Research and standards in parallel International stands for ICT 3. Development and standards in parallel standardization “Wearables” (IoT) standards require all 3 Who are we? Ecma International is a not-for-profit association under Swiss Law/Geneva, established in 1961 by major multinational computer hardware manufacturers present at that time in Europe. Originally “ECMA” stood for “European Computer Manufacturers’ Association”. In 1994 the “brand name” was kept, but the name changed to simply “Ecma”: “International” was added because membership has changed to global Broad scope of standardisation topics including hardware, software, communications, consumer electronics, media, storage, environmental subjects, etc… Track record: 521 ECMA standards / TRs: Ecma publications are free of charge and can be freely downloaded from the Ecma website www.ecma-international.org Many of them were submitted to fast-track to ISO/IEC JTC1 (e.g. 191 lately between 2000-2016), and many (67) joint standards also with ETSI.
    [Show full text]
  • Factors Determining the Optimal Architecture of a Manufacturing Execution System Utilised in Automated Production
    Factors determining the optimal architecture of a manufacturing execution system utilised in automated production. By David Lee, BSc (Honours) Waterford Institute of Technology INSTITIÚID TEICNEOLAÍOCHTA PHORT LÁIRGE A Thesis Submitted in Fulfilment of the Requirements for the Degree of Master of Science Research Supervisor Research Supervisor Dr. Noreen Quinn-Whelton Michael McCarthy Submitted to Waterford Institute of Technology March 2013 David Lee MSc. Thesis Waterford Institute of Technology INSTITIÚID TEICNEOLAÍOCHTA PHORT LÁIRGE Declaration: I declare that the writing of this thesis and the research contained within is my own work. Any assistance received has been acknowledged where appropriate. Signed: David Lee Date: Page 2 of 232 David Lee MSc. Thesis Abstract Information Technology driven manufacturing has progressively evolved since the first introduction of computer systems. As the needs of industry become more demanding, the software used to drive manufacturing must continually advance. In order to remain competitive, businesses need to keep their costs of production down, maintain high product quality and also drive maximum efficiencies. Only through automated manufacturing processes, are businesses able to achieve these goals. High levels of automation require the implementation of sophisticated Manufacturing Execution Systems (MES). This research investigates the optimal design elements for MES, with particular focus on the potential for a web based architecture. Product comparisons, technological investigations and surveys were employed to elucidate MES design and potential areas of enhancement. It was found that while a web based MES could out-perform the traditional client-server model on various aspects, there are too many security concerns to be viable as a cloud hosted application.
    [Show full text]
  • Tomato: a Trustworthy Code Mashup Development Tool
    University of Pennsylvania ScholarlyCommons Departmental Papers (CIS) Department of Computer & Information Science 2011 ToMaTo: A Trustworthy Code Mashup Development Tool Jian Chang University of Pennsylvania, [email protected] Krishna Venkatasubramanian University of Pennsylvania, [email protected] Andrew G. West University of Pennsylvania, [email protected] Sampath Kannan University of Pennsylvania, [email protected] Oleg Sokolsky University of Pennsylvania, [email protected] See next page for additional authors Follow this and additional works at: https://repository.upenn.edu/cis_papers Recommended Citation Jian Chang, Krishna Venkatasubramanian, Andrew G. West, Sampath Kannan, Oleg Sokolsky, Myuhng Joo Kim, and Insup Lee, "ToMaTo: A Trustworthy Code Mashup Development Tool", 5th International Workshop on Web APIs and Service Mashups (Mashups '11) . January 2011. http://dx.doi.org/10.1145/ 2076006.2076012 5th International Workshop on Web APIs and Service Mashups (Mashups '11), September 14, 2011, Lugano, Switzerland. This paper is posted at ScholarlyCommons. https://repository.upenn.edu/cis_papers/471 For more information, please contact [email protected]. ToMaTo: A Trustworthy Code Mashup Development Tool Abstract Recent years have seen the emergence of a new programming paradigm for Web applications that emphasizes the reuse of external content, the mashup. Although the mashup paradigm enables the creation of innovative Web applications with emergent features, its openness introduces trust problems. These trust issues are particularly prominent in JavaScript code mashup - a type of mashup that integrated external Javascript libraries to achieve function and software reuse. With JavaScript code mashup, external libraries are usually given full privileges to manipulate data of the mashup application and executing arbitrary code.
    [Show full text]
  • Comparing Javascript Libraries
    www.XenCraft.com Comparing JavaScript Libraries Craig Cummings, Tex Texin October 27, 2015 Abstract Which JavaScript library is best for international deployment? This session presents the results of several years of investigation of features of JavaScript libraries and their suitability for international markets. We will show how the libraries were evaluated and compare the results for ECMA, Dojo, jQuery Globalize, Closure, iLib, ibm-js and intl.js. The results may surprise you and will be useful to anyone designing new international or multilingual JavaScript applications or supporting existing ones. 2 Agenda • Background • Evaluation Criteria • Libraries • Results • Q&A 3 Origins • Project to extend globalization - Complex e-Commerce Software - Multiple subsystems - Different development teams - Different libraries already in use • Should we standardize? Which one? - Reduce maintenance - Increase competence 4 Evaluation Criteria • Support for target and future markets • Number of internationalization features • Quality of internationalization features • Maintained? • Widely used? • Ease of migration from existing libraries • Browser compatibility 5 Internationalization Feature Requirements • Encoding Support • Text Support -Unicode -Case, Accent Mapping -Supplementary Chars -Boundary detection -Bidi algorithm, shaping -Character Properties -Transliteration -Charset detection • Message Formatting -Conversion -IDN/IRI -Resource/properties files -Normalization -Collation -Plurals, Gender, et al 6 Internationalization Feature Requirements
    [Show full text]
  • Building Maintainable Web Applications Using React – an Evaluation of Architectural Patterns Conducted on Canvas LMS
    Linköping University | Department of Computer and Information Science Master’s thesis, 30 ECTS | Datateknik 2020 | LIU-IDA/LITH-EX-A--20/004--SE Building maintainable web applications using React – An evaluation of architectural patterns conducted on Canvas LMS David Johansson Supervisor : Jonas Wallgren Examiner : Peter Fritzson Linköpings universitet SE–581 83 Linköping +46 13 28 10 00 , www.liu.se Upphovsrätt Detta dokument hålls tillgängligt på Internet - eller dess framtida ersättare - under 25 år från publicer- ingsdatum under förutsättning att inga extraordinära omständigheter uppstår. Tillgång till dokumentet innebär tillstånd för var och en att läsa, ladda ner, skriva ut enstaka ko- pior för enskilt bruk och att använda det oförändrat för ickekommersiell forskning och för undervis- ning. Överföring av upphovsrätten vid en senare tidpunkt kan inte upphäva detta tillstånd. All annan användning av dokumentet kräver upphovsmannens medgivande. För att garantera äktheten, säker- heten och tillgängligheten finns lösningar av teknisk och administrativ art. Upphovsmannens ideella rätt innefattar rätt att bli nämnd som upphovsman i den omfattning som god sed kräver vid användning av dokumentet på ovan beskrivna sätt samt skydd mot att dokumentet ändras eller presenteras i sådan form eller i sådant sammanhang som är kränkande för upphovsman- nens litterära eller konstnärliga anseende eller egenart. För ytterligare information om Linköping University Electronic Press se förlagets hemsida http://www.ep.liu.se/. Copyright The publishers will keep this document online on the Internet - or its possible replacement - for a period of 25 years starting from the date of publication barring exceptional circumstances. The online availability of the document implies permanent permission for anyone to read, to down- load, or to print out single copies for his/hers own use and to use it unchanged for non-commercial research and educational purpose.
    [Show full text]
  • Test-Driven Javascript Development Developer’S Library Series
    Test-Driven JavaScript Development Developer’s Library Series Visit developers-library.com for a complete list of available products he Developer’s Library Series from Addison-Wesley provides Tpracticing programmers with unique, high-quality references and tutorials on the latest programming languages and technologies they use in their daily work. All books in the Developer’s Library are written by expert technology practitioners who are exceptionally skilled at organizing and presenting information in a way that’s useful for other programmers. Developer’s Library books cover a wide range of topics, from open- source programming languages and databases, Linux programming, Microsoft, and Java, to Web development, social networking platforms, Mac/iPhone programming, and Android programming. Test-Driven JavaScript Development Christian Johansen Upper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Capetown • Sydney • Tokyo • Singapore • Mexico City Many of the designations used by manufacturers and sellers to distinguish their products are Acquisitions Editor claimed as trademarks. Where those designations appear in this book, and the publisher was Trina MacDonald aware of a trademark claim, the designations have been printed with initial capital letters or Development Editor in all capitals. Songlin Qiu The author and publisher have taken care in the preparation of this book, but make no Managing Editor expressed or implied warranty of any kind and assume no responsibility
    [Show full text]
  • Introduction
    Introduction In This Chapter ■ 0.1 Ajax, the Acronym 2 ■ 0.2 This Book’s Intentions 5 ■ 0.3 Prerequisites for This Book 8 1 s the centerpiece of rich web application development, Ajax brings web A interfaces using XHTML and CSS up to desktop application interface standards without the interfaces having to rely on plugins such as Flash or Java. Prior to JavaScript-based server interactions, interfaces had to rely solely on full- page loading, regardless of how one might have hacked a page into appearing otherwise. Until Ajax development came along (which, incidentally, started in imple- mentation many years before the coining of the term itself), client-side development also had no thread support. Threading, in a nutshell, allows the spawning of new lines of logic, completely independent of those before, adjacent to, or after it. C, Java, Perl, and many other languages have had this support for many years (in some cases) before client-side scripting came along in any fashionable sense. The closest JavaScript had to offer came in the form of the setTimeout and setInterval library functions, which required delayed, seemingly parallel execution rather than the actual spawning of processes. While Ajax still does not provide true threading, it does bring JavaScript one step closer. 0.1 Ajax, the Acronym The words Asynchronous Javascript And XML make the acronym Ajax. In order to fully understand Ajax in meaning and implementation, you must understand each of its components. Even when using synchronous requests, or using JSON or some other transportation method, knowing the core aspects of Ajax can only help development practices.
    [Show full text]
  • The Past, Present, and Future of Javascript Where We’Ve Been, Where We Are, and What Lies Ahead
    The Past, Present, and Future of JavaScript Where We’ve Been, Where We Are, and What Lies Ahead Dr. Axel Rauschmayer The Past, Present, and Future of JavaScript Axel Rauschmayer Beijing • Cambridge • Farnham • Köln • Sebastopol • Tokyo The Past, Present, and Future of JavaScript by Axel Rauschmayer Copyright © 2012 Axel Rauschmayer. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://my.safaribooksonline.com). For more information, contact our corporate/institutional sales department: 800-998-9938 or [email protected]. Editor: Mac Slocum Cover Designer: Karen Montgomery Production Editor: Melanie Yarbrough Interior Designer: David Futato Illustrator: Robert Romano Revision History for the First Edition: 2012-07-20 First release See http://oreilly.com/catalog/errata.csp?isbn=9781449339968 for release details. Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly Media, Inc. The Past, Present, and Future of JavaScript and related trade dress are trademarks of O’Reilly Media, Inc. 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 O’Reilly Media, Inc., was aware of a trademark claim, the designations have been printed in caps or initial caps. While every precaution has been taken in the preparation of this book, the publisher and authors assume no responsibility for errors or omissions, or for damages resulting from the use of the information con- tained herein.
    [Show full text]
  • Front-End Architecture and Design
    FFI-RAPPORT 20/00354 webSAF - front-end architecture and design Madeleine Josephine Selvig Hallén Kristian Selvaag webSAF – front-end architecture and design Madeleine Josephine Selvig Hallén Kristian Selvaag Norwegian Defence Research Establishment (FFI) 10 February 2020 FFI-RAPPORT 20/00354 1 Keywords Modellering og simulering Grafisk brukergrensesnitt Webteknologi Simuleringsverktøy Stridssimuleringer Datagenererte styrker FFI report 20/00354 Project number 1508 Electronic ISBN 978-82-464-3138-3 Approvers Dan Helge Bentsen, Research Manager Halvor Ajer, Director of Research The document is electronically approved and therefore has no handwritten signature. Copyright © Norwegian Defence Research Establishment (FFI). The publication may be freely cited where the source is acknowledged. 2 FFI-RAPPORT 20/00354 Summary webSAF is an easy-to-use, web-based tool for simulation-supported, two-sided wargaming. It consists of a server that communicates with a graphical user interface (GUI) in the browser using WebSocket. It currently has functionality for controlling indirect fire entities, maneuver entities and air defence entities. webSAF is designed to be independent of the simulation tools in use, and can be used to control entities in a federation of different simulation tools. The web-based user interface (UI) is written in TypeScript, a superset of JavaScript, and is based on a selection of web technologies, the most important being React, Redux and OpenLayers. This report describes the technologies, decisions that were made and experiences related to development of the GUI. FFI-RAPPORT 20/00354 3 Sammendrag webSAF er et brukervennlig, web-basert verktøy for simuleringsstøttede, tosidige krigsspill. Det består av en server som kommuniserer med et grafisk brukergrensesnitt i nettleseren ved hjelp av WebSocket, og har foreløpig funksjonalitet for å kontrollere indirekte ild-entiteter, manøverentiteter og luftvernentiteter.
    [Show full text]