emGee Software Solutions Custom Database Applications

Share this

InfoWorld JavaScript

InfoWorld JavaScript
Updated: 7 hours 35 min ago

Ryan Dahl’s Node.js regrets lead to Deno

Thu, 06/21/2018 - 03:00

What might the Node.js server-side JavaScript runtime look like today if founder Ryan Dahl could build it all over again? With his Deno project, a secure TypeScript runtime built on the same Google V8 JavaScript engine as Node.js, we get an idea.

Open source Deno, which is not explicitly compatible with Node.js, is a minimal take on server-side JavaScript. One key difference between Deno and Node is Deno eliminates the need for a package manager. (Node.js uses the popular NPM package manager.) “There are no packages even,” Dahl said. “You only link to JavaScript files—like you do in the web.” Deno also cannot run Node scripts. It does use TypeScript, which Dahl views as being well-done and approachable. Dahl recently described Deno as being in an “extreme prototype” stage of development and cautioned against all but the most-diehard technical people from trying it.

To read this article in full, please click here

Categories: Web Technologies

React Native mobile app framework gets a rewrite

Tue, 06/19/2018 - 03:00

React Native, Facebook’s framework for building native mobile apps, is to be rearchitected for flexibility and mproved integration with native infrastructure.

The framework, which uses JavaScript and the React UI library, will get a rewrite of many of its internals. Most changes, however, will be under the hood, with existing React Native apps continuing to work with few or no changes.

[ Go deeper at InfoWorld: Beyond jQuery: An expert guide to JavaScript frameworks • The complete guide to Node.js frameworks • The 10 essential JavaScript developer tools • The 6 best JavaScript IDEs and 10 best JavaScript editors. | Keep up with hot topics in programming with InfoWorld’s App Dev Report newsletter. ]

Rearchitecting the framework to be more lightweight and better fit into existing native apps involves three major internal changes:

To read this article in full, please click here

Categories: Web Technologies

What’s new in Angular: Version 6.1 beta arrives

Fri, 06/15/2018 - 12:15

Version 6 of Angular, Google’s popular JavaScript framework for building mobile and desktop applications, is here, with the first production release available and now a beta version of Angular 6.1 available

To read this article in full, please click here

(Insider Story)
Categories: Web Technologies

Nashorn JavaScript engine for JVM could be axed

Mon, 06/11/2018 - 03:00

Nashorn, the JavaScript engine for Java Virtual Machine, could be deprecated, having been made obsolete by newer technologies.

Nashorn debuted in Java Development Kit (JDK) 8 in 2014. It has boosted compatibility between Java and JavaScript while offering performance benefits. But the rapid pace of change to ECMAScript language constructs and APIs has made it “challenging” to maintain Nashorn, according to the official deprecation proposal floated in the OpenJDK Java community.

[ Go deeper at InfoWorld: Beyond jQuery: An expert guide to JavaScript frameworks • The complete guide to Node.js frameworks • The 10 essential JavaScript developer tools • The 6 best JavaScript IDEs and 10 best JavaScript editors. | Keep up with hot topics in programming with InfoWorld’s App Dev Report newsletter. ]

Also, there are other implementations of JavaScript that Java applications can use. For example, GraalJS may soon be available as a module for developers. It uses Oracle’s Truffle library to implement languages and provides most of the same functionality as Nashorn. But there are no current plans to add GraalJS or any other new JavaScript implementation to the JDK itself.

To read this article in full, please click here

Categories: Web Technologies

Luna promises to make JavaScript testing easier

Thu, 06/07/2018 - 03:00

Its deveopers claim the Luna JavaScript unit test framework simplifies the testing process by not burdening developers with the task of configuration.

The new framework was built in response to dissatisfaction that Luna creator Craig Campbell had with other frameworks that require the writing of boilerplate code and have multiple configuration options. Inspired in part by the Go language’s built-in testing, Luna is an opinionated framework for testing JavaScript in a browser or Node.js. No global variables are required and there are no plugins. Also, no custom libraries are needed to run tests, with functions themselves extracted from code.

To read this article in full, please click here

Categories: Web Technologies

What’s new in NativeScript

Fri, 06/01/2018 - 13:45

NativeScript, a framework for native mobile application development leveraging JavaScript technologies, now has Version 4.1 avaiable, as well as Version 1.0 of its NativeScript-Vue open source project available. 

To read this article in full, please click here

(Insider Story)
Categories: Web Technologies

What is JavaScript? Creator Brendan Eich explains

Mon, 05/21/2018 - 03:00
Brendan Eich, creator of the JavaScript programming language, explains how the language is used, and why it's still a favorite among programmers for its ease of use.
Categories: Web Technologies

What’s new in Google’s V8 JavaScript engine Version 6.7

Wed, 05/16/2018 - 15:00

A new beta of Google’s V8 JavaScript engine is now available.

To read this article in full, please click here

(Insider Story)
Categories: Web Technologies

What’s new in Angular: Version 6 is here

Thu, 05/03/2018 - 16:45

Version 6 of Angular, Google’s popular JavaScript framework for building mobile and desktop applications, is here, with the first production release available.

To read this article in full, please click here

(Insider Story)
Categories: Web Technologies

Dojo 2: What the JavaScript toolkit’s new version offers

Wed, 05/02/2018 - 11:45

Dojo 2, the first major rewrite of the open source JavaScript toolkit in more than a decade, is now available.

Version 2 is intended for building modern web apps, leveraging ECMAScript 2015 and later versions, TypeScript, and other standards and best practices. It also focuses on interoperability and support for emerging technologies such as Intersection Observers and Web Animations.

To read this article in full, please click here

Categories: Web Technologies

What’s new in the Node.js 10 JavaScript runtime

Wed, 04/25/2018 - 03:00

Node.js 10.0.0 has been released, and will become the platform’s Long Term Support (LTS) line in October 2018. As the LTS line, it will be supported for three years.

Version 10.0.0 add supports for the OpenSSL 1.1.0 security toolkit but focuses mainly on incremental improvements. Also, while Node.js 10.0.0 ships with NPM 5.7, the 10.x line will be upgraded to NPM Version 6 later on; NPM 6 will offer performance, stability, and security improvements.

[ Getting to know Node? Don’t miss: Node.js tutorial: Get started with Node.js10 JavaScript concepts every Node developer must master.The complete guide to Node.js frameworks7 keys to structuring your Node app. | Keep up with hot topics in programming with InfoWorld’s App Dev Report newsletter. ] New features in Node.js 10

In addition to OpenSSL 1.1.0 support, other features in the Node.js 10.0.0 release include:

To read this article in full, please click here

Categories: Web Technologies

What’s new in Oracle’s GraalVM multilanguage virtual machine

Wed, 04/18/2018 - 03:00

Oracle has delivered a production release of GraalVM, a universal virtual machine for running applications written in any of many languages.

The technology has served as a just-in-time compiler and polyglot runtime for the JVM. GraalVM Version 1.0 provides high performance for individual languages as well as interoperability with no overhead in building polyglot applications, Oracle said.

[ 15 Java frameworks that give developers a boost. • Which tools support Java’s new modularity features. | Keep up with hot topics in programming with InfoWorld’s App Dev Report newsletter. ]

It can run JVM languages and JavaScript, including Node.js, as well as LLVM bitcode and—in experimental mode—Ruby, R, and Python. Other languages supported on GraalVM include:

To read this article in full, please click here

Categories: Web Technologies

21 hot programming trends—and 21 going cold

Mon, 04/16/2018 - 03:00

Programmers love to sneer at the world of fashion where trends blow through like breezes. Skirt lengths rise and fall, pigments come and go, ties get fatter, then thinner. But in the world of technology, rigor, science, math, and precision rule over fad.

Hot: Renting
Not: Buying

To read this article in full, please click here

(Insider Story)
Categories: Web Technologies

Stdlib roadmap: JavaScript will finally get a standard library

Fri, 04/13/2018 - 03:00

Known for its lack of a large standard library, JavaScript is set to gain a much more functional and larger standard library, under a third-party initiative happening outside the JavaScript standardization process. The library also will serve the Node.js server-side JavaScript runtime.

Called Stdlib, the open source project focuses on numerical and scientific computing applications, which itself shows how JavaScript is growing beyond its web development roots. Stdlib will offer a collection of libraries for mathematics, statistics, data processing, and streams, and it will offer many of the utilities expected from a standard library, its creators say.

To read this article in full, please click here

Categories: Web Technologies

Rust and JavaScript interoperability coming via WebAssembly

Mon, 04/09/2018 - 12:15

Mozilla is working on a bridge between types in JavaScript and the Rust language, called wasm-bindgen, that builds on the WebAssembly portable code format.

The wasm-bindgen effort is meant to improve interoperability between JavaScript and Rust and to make Rust a web language like JavaScript, via WebAssembly. Wasm-bindgen provides high-level interactions between WebAssembly (wasm) modules and JavaScript. With wasm-bindgen, JavaScript and WebAssembly could communicate with strings, JavaScript objects, and classes as opposed to just integers and floats.

To read this article in full, please click here

Categories: Web Technologies

What’s new in the Sails Node.js framework

Thu, 04/05/2018 - 15:00

Sails, an MVC web framework for building Node.js applications also known as Sails.js, is now in Version 1.0 production status, featuring an async/await capability from the ECMAScript 2017 specification that promises to improve developer productivity.

Async/await promises sizable gains in productivity and fewer lines of code. It lets server-side JavaScript code be written with the await keyword, instead of using lower-level, more-fragile flow control functions such as nested callbacks and promise chains. “Callback hell,” the most common source of bugs and stability issues in Node.js and Sails applications, is ended with async/await. Developers also are freed from manual error handling after every database query.

To read this article in full, please click here

Categories: Web Technologies

What’s new in React 16.3 JavaScript UI library

Mon, 04/02/2018 - 03:00

React 16, the latest version of the popular JavaScript library for building UIs, was updated in late Maarch 2018 to Version 16.3.

Where to download React

You can download React 16 from the project’s GitHub page.

[ Getting to know React? Don't miss InfoWorld’s tutorial on getting started with React. | Keep up with hot topics in programming with InfoWorld’s App Dev Report newsletter. ] Current version: What’s new in React 16.3

The Version 16.3 release of Facebook’s React JavaScript UI library brings life cycle changes as well as an API for context.

To read this article in full, please click here

Categories: Web Technologies

What’s new in TypeScript 2.8

Tue, 03/27/2018 - 14:45

Microsoft has released the production version of TypeScript 2.8.

Where to download TypeScript

You can download TypeScript through NuGet or via NPM. To get TypeScript 2.8 via NPM, use the following command: npm install -g typescript.

[ What is TypeScript? Industrial-strength JavaScript. • Keep up with TypeScript’s frequent updates with InfoWorld’s TypeScript version feature tracker. | Keep up with hot topics in programming with InfoWorld’s App Dev Report newsletter. ] Current version: The new features in TypeScript 2.8

Released in March 2018, Version 2.8 of TypeScript adds a conditional types construct for modeling. Based on JavaScript’s conditional syntax, conditional types help with modeling of simple choices based on types at runtime while allowing more expressive design-time constructs. The construct takes the following form: A extends B ? C : D. It should be read as “If the type A is assignable to B, then the type boils down to C and otherwise becomes D.” Conditional types also offer a new way to infer new types from types compared against the new infer keyword, which introduces a new type variable. TypeScript 2.8 also offers new type aliases that use conditional types.

To read this article in full, please click here

Categories: Web Technologies

The programming languages you should learn now

Thu, 03/22/2018 - 03:00

Learning a programming language is not hard. In fact, if you’re experienced, you can learn the basics in under 24 hours. So if you’re in the market for a new lingua franca, such as to bolster your hirability, what you choose next might be influenced by your current language of choice.

Here are the languages I suggest you consider learning if you don’t already know them, based on the languages you already know.

[ Learn how your enterprise can excel in agile development. | Take your agile career to the next level: How to improve your scrum master skills. | Not sure what “agile” really means? InfoWorld explains the agile methodoology. | Keep up with hot topics in programming with InfoWorld’s App Dev Report newsletter. ] If you know Java, choose from these languages InfoWorld has you covered for all the hot languages

Go (Golang):

To read this article in full, please click here

Categories: Web Technologies

What’s new in Kotlin 1.2? Code reuse, for starters

Mon, 03/05/2018 - 14:00

Version 1.2 of the statically typed Kotlin language, a version of Java endorsed by Google for Android app development, offers an experimental feature enabling reuse of code across platforms, as well as compatibility with the Java 9 module system.

Where to download Kotlin 1.2

You can access the Kotlin source code on the project’s Github repo.

[ What is Kotlin? The Java alternative explained. | There’s more than one way to build a mobile app. See 25 simple tools for building mobile apps fast. | Keep up with the hottest topics in programming with InfoWorld’s App Dev Report newsletter. ] What’s new in Kotlin 1.2.30

The 1.2.30 update released on March 1, 2018, provides changes to the standard library as well as bug fixes. The update is compatible with multiple versions of the JetBrains IntelliJ Idea and the Android Studio 3.0 IDEs.

To read this article in full, please click here

Categories: Web Technologies