javascript is a scripting language for web pages that allows website creators to run any code they want when users visit their website. Therefore, malicious javascript is the greatest threats within the cyber world. T...
详细信息
ISBN:
(纸本)9781538652145
javascript is a scripting language for web pages that allows website creators to run any code they want when users visit their website. Therefore, malicious javascript is the greatest threats within the cyber world. This paper proposes a novel method of detecting the javascript malware by using a high-level fuzzy Petri net (HLFPN). Firstly, the web pages are crawled to get javascript files. Secondly, the malicious features are extracted from javascript code. Finally, an HLFPN is used to determine the malicious code. The experimental results can support the effectiveness of our approach.
The mobile applications development is composed by three groups: natives, hybrids and web. In this paper a comparison between the native and hybrid mobile applications build on javascript (Reactive Native, NativeScrip...
详细信息
ISBN:
(纸本)9789899843486
The mobile applications development is composed by three groups: natives, hybrids and web. In this paper a comparison between the native and hybrid mobile applications build on javascript (Reactive Native, NativeScript and Ionic) is done. The analysis is done using the 7 more relevant principles to the mobile applications development. This paper shows that React Native exhibits the best results in all the analyzed principles and still having benefits in the hybrid development in relation to native. With the emergence of frameworks for mobile development, some of them with a little more than a year of existence, there is the difficulty to perceive which are the most advantageous for a given business objective, this article shows the best options among the frameworks used, always comparing with the native development.
This book will teach you how to take advantage of the javascript language to process data provided on the Internet. Much attention is given to the main javascript backbone: prototype based objects, and functional cap...
详细信息
ISBN:
(数字)9781119527343;9781119527305
ISBN:
(纸本)9781786302045
This book will teach you how to take advantage of the javascript language to process data provided on the Internet. Much attention is given to the main javascript backbone: prototype based objects, and functional capabilities, while common features (loops, etc.) are summarized in a few cheat-sheets. Only operational features are detailed through the coding of several applications -the second and largest part of the book-, on free-access datasets (e.g. World Bank). It includes: cartography (SVG or API"s based), data-sheets access (via Ajax or Jsonp), video data and post-synchronization, and animation examples.
The DSSAT is a collection of computer programs and tools integrated into a single software package in order to facilitate the application of crop simulation models in research and decision making. The DSSAT Shell, an ...
详细信息
The DSSAT is a collection of computer programs and tools integrated into a single software package in order to facilitate the application of crop simulation models in research and decision making. The DSSAT Shell, an user interface program, enables users to easily select and use any of the DSSAT components. It reads text files, both input and output with fixed width format, to provide information to the users and to be able to run the models. The logic to read DSSAT files and process the information to display to the user relies on the Shell itself and cannot be reusable by any other system, which makes it harder to implement alternatives for the DSSAT Shell since there are no frameworks available that implements the complexity of processing DSSAT files. The DSSAT tools were built using old programming technologies such Visual Basic which is in end-of-life support and Delphi, these technologies should be replaced for a modern and standardized software development approach for a better maintainability. Besides, these tools are stand-alone and they do not share code which increases the effort to maintain them. This work presents the jDSSAT, a multiplatform javascript module. The jDSSAT provides a standard and reusable approach for reading and processing DSSAT files. Through this approach, we isolate the complexity of processing DSSAT files to allow DSSAT integration on any environment. It also integrates with DSSAT-CSM to make it easier to run DSSAT models in Linux, Windows and MacOS. As a result, we present a multiplatform user interface prototype created to run DSSAT crop models using the main features of the jDSSAT. Also, the integration with the R environment that expands the possibilities of the DSSAT integration. (C) 2019 The Authors. Published by Elsevier B.V.
Background: While several javascript packages for visualizing phylogenetic trees exist, most are best characterized as frameworks that are designed with a specific set of tasks in mind. Extending such packages to use ...
详细信息
Background: While several javascript packages for visualizing phylogenetic trees exist, most are best characterized as frameworks that are designed with a specific set of tasks in mind. Extending such packages to use cases that are not available as features often ends up being difficult. Moreover, existing packages tend to produce standalone widgets that are not designed to serve as middleware, as opposed to flexible tools that can integrate with other components of an application. Results: *** is a library that extends the popular data visualization framework ***, and is suitable for building javascript applications where users can view and interact with phylogenetic trees. The effects of such interactions can be captured and communicated to other package components, making it possible to engineer complex and responsive applications that include phylogenetic trees. *** implements several abstractions in addition to features, and comes with a documented application programming interface, thus promoting interoperability and extensibility. Example applications include a tool to visualize and annotate phylogenetic trees, a web application for comparative sequence analysis, a structural viewer that interacts with a large phylogenetic tree, and an interactive tanglegram. Conclusions: *** is a useful tool and application module for a variety of computational biology software applications. The code is available on Github and is released under the MIT license.
Static compilation, a.k.a., ahead-of-time (AOT) compilation, is an alternative approach to JIT compilation that can combine good speed and lightweight memory footprint, and that can accommodate read-only memory constr...
详细信息
ISBN:
(纸本)9781450360302
Static compilation, a.k.a., ahead-of-time (AOT) compilation, is an alternative approach to JIT compilation that can combine good speed and lightweight memory footprint, and that can accommodate read-only memory constraints that are imposed by some devices and some operating systems. Unfortunately the highly dynamic nature of javascript makes it hard to compile statically and all existing AOT compilers have either gave up on good performance or full language support. We have designed and implemented an AOT compiler that aims at satisfying both. It supports full unrestricted ECMAScript 5.1 plus many ECMAScript 2017 features and the majority of benchmarks are within 50% of the performance of one of the fastest JIT compilers.
The evolution of technology in interconnection solutions such as Networks or the Internet, have allowed many communication architectures to be born and a varied interconnectivity. Here, we present a project that relie...
详细信息
ISBN:
(纸本)9783319734507;9783319734491
The evolution of technology in interconnection solutions such as Networks or the Internet, have allowed many communication architectures to be born and a varied interconnectivity. Here, we present a project that relies on the mobile agent computing paradigm. A middleware using the javascript language that allows the execution and ability to move mobile agents through the local network and Internet. This initiative arose as a way of dealing with problems raised by the considerable amount of existing Java based mobile agents middleware, which force the installation of the Java Virtual Machine in the devices, making complicated its execution in operating systems like macOS, iOS and others non-java friendly O.S. Our middleware works steadily in all operating systems, requiring only the installation of ***. For mobile platforms the middleware is developed using React-native that allows it to run on mobile operating systems such as Android and iOS.
Recently, promises were added to ECMAScript 6, the javascript standard, in order to provide better support for the asynchrony that arises in user interfaces, network communication, and non-blocking I/O. Using promises...
详细信息
Recently, promises were added to ECMAScript 6, the javascript standard, in order to provide better support for the asynchrony that arises in user interfaces, network communication, and non-blocking I/O. Using promises, programmers can avoid common pitfalls of event-driven programming such as event races and the deeply nested counterintuitive control flow referred to as "callback hell". Unfortunately, promises have complex semantics and the intricate control- and data-flow present in promise-based code hinders program comprehension and can easily lead to bugs. The promise graph was proposed as a graphical aid for understanding and debugging promise-based code. However, it did not cover all promise-related features in ECMAScript 6, and did not present or evaluate any technique for constructing the promise graphs. In this paper, we extend the notion of promise graphs to include all promise-related features in ECMAScript 6, including default reactions, exceptions, and the synchronization operations race and all. Furthermore, we report on the construction and evaluation of PROMISEKEEPER, which performs a dynamic analysis to create promise graphs and infer common promise anti-patterns. We evaluate PROMISEKEEPER by applying it to 12 open source promise-based *** applications. Our results suggest that the promise graphs constructed by PROMISEKEEPER can provide developers with valuable information about occurrences of common anti-patterns in their promise-based code, and that promise graphs can be constructed with acceptable run-time overhead.
暂无评论