javascript
By Paul Krill Java services are the most-impacted by third-party vulnerabilities, according to the “State of DevSecOps 2024” report just released by cloud security provider Datadog. Released on April 17, the report found that 90% of Java services were susceptible to one or more critical or high-severity vulnerabilities introduced by a third-party library. The average for other languages was 47%. Datadog’s report analyzed tens of thousands of applications and container images and thousands of cloud environments to assess application security. Following Java in the vulnerabilities assessment wer...
Info World
By Paul Krill ECMAScript 2024, a planned update to ECMA’s standard for JavaScript, is set to include seven new features ranging from array grouping to Unicode strings. The 2024 specification, from ECMA’s Technical Committee 39, is expected to be approved in June. Among the list of finished features cited for publication this year is a proposal for array grouping. Motivating this proposal is the notion that array grouping is a common operation best exemplified by SQL’s GROUP BY clause and mapreduce programming. The ability to combine like data into groups lets developers compute higher order da...
Info World
By Matthew Tyson In the first half of this article, we set up a web development stack and created a simple example application using Bun, HTMX, Elysia, and MongoDB. Here, we'll continue exploring our new stack while cleaning up and abstracting the example application's data access layer and adding more complex HTMX interactions. We'll also add another component to the tech stack: Pug, a popular JavaScript template engine that works well with HTMX and helps with configuring DOM interactions. The example applicationOur example application currently consists of a form and a table. The form lets u...
Info World
By Matthew Tyson Bun and HTMX are two of the most interesting things happening in software right now. Bun is an incredibly fast, all-in-one server-side JavaScript platform, and HTMX is an HTML extension used to create simple, powerful interfaces. In this article, we'll use these two great tools together to develop a full-stack application that uses MongoDB for data storage and Elysia as its HTTP server. The tech stackOur focus in this article is how the four main components of our tech stack interact. The components are Bun, HTMX, Elysia, and MongoDB. This stack gives you a fast-moving setup t...
Info World
By Paul Krill Bun 1.1, the latest version of the Bun toolkit and drop-in Node.js replacement for building, testing, and running JavaScript and TypeScript, now supports Windows 10. The latest version is also more compatible with Node.js. Announced April 1 and described as a “huge update,” Bun 1.1 is said to be faster and more reliable than earlier releases, with many bug fixes. Bun now supports Windows 10 and higher, making the runtime accessible to Windows developers. Everything from the Bun runtime to the test runner, package handler, and bundler will work on Windows. Intended as a drop-in re...
Info World
By Paul Krill Google has announced plans to eventually merge its Angular and Wiz web frameworks. The company says it is already looking for ways that Angular could benefit from Wiz's superior performance, while Wiz could benefit from Angular's focus on developer experience. In a blog post posted by the Angular team on March 30, proponents said that Angular and Wiz were “better together.” The merge will happen "gradually and responsibly" over the coming years, according to the post. Google’s strategy is to steadily open-source Wiz features via Angular and follow an open model of development. A ...
Info World
By Paul Krill The latest version of the web rendering engine Babylon.js has arrived with performance and rendering enhancements to support 3D capabilities and more. Version 7.0 of the rendering and game engine was announced on March 28. Directions for getting started with Babylon.js can be found on GitHub. Procedural geometry in version 7.0, also called Node Geometry, lets users create complex geometry at runtime or build time. This removes the need to download large 3D assets. Instead, local machines or devices can use the CPU to create these assets. Also featured in Babylon.js 7.0 is support...
Info World
By Matthew Tyson One of the hardest parts of building software is choosing your technology stack. You have to pick a tool or framework to get started, but you can’t know its real capabilities until you’ve worked with it for a while. It’s a Catch-22, and prototyping only helps so much. There is a tendency to stick to the same familiar technologies you’ve used in the past, but this has obvious drawbacks, including missing out on important innovations. This article is an overview and comparison of the leading front-end JavaScript frameworks at the time of this writing. We’ll start with a look at ...
Info World
By Paul Krill Deno 1.42, the latest release of the JavaScript, TypeScript, and WebAssembly runtime, introduces support for JSR, a new package registry for JavaScript and TypeScript. The release also improves Node and NPM compatibility and startup times. Deno 1.42 was announced March 28. Users can upgrade in their terminal by running the deno upgrade command. Deno 1.42 allows users to consume and publish modules to the JSR package registry directly from Deno, using the deno add and deno publish subcommands. At the same time, Deno continues to support NPM. JSR offers a modern, TypeScript-first a...
Info World
By Matthew Tyson Graceful error handling is an essential aspect of well-designed software. It’s also tricky. This article offers an overview of error handling in React applications and how to use React error boundaries to handle render-time errors. React error typesWe can divide React application errors broadly into two types, and error handling into two aspects. The two React error types: Note that the nature of JavaScript UI makes for tricky error handling. Aside from typical runtime errors, there are errors that spring from the “drawing” of the screen components. We are distinguishing these...
Info World
閲覧を続けるには、ノアドット株式会社が「プライバシーポリシー」に定める「アクセスデータ」を取得することを含む「nor.利用規約」に同意する必要があります。
「これは何?」という方はこちら