InfoQ Homepage Web Development Content on InfoQ
-
Jetbrains Previews Jetpack Compose for Web
JetBrains, who recently ported Jetpack Compose to the desktop, has now released a technology preview of Jetpack Compose for Web. Kotlin developers may soon be able to use Jetpack Compose for cross-platform development (Android, macOS, Windows, Linux, the web — but not iOS).
-
Prisma ORM Tool Suite Is Ready For Production in Node.js and TypeScript Apps
Nikolas Burk, developer relations at Prisma — the database ORM — recently announced that all Prisma tools (Prisma Client, Prisma Studio, Prisma Migrate) are ready for production usage. Prisma Migrate graduated from preview this year and is now generally available.
-
Content-Aware Image Resizing in Go and JavaScript
Oleksii Trekhleb, software engineer at Uber, recently explored the use of dynamic programming to speed up a CPU-intensive content-aware image resizing algorithm. Developers may use content-aware resizing to fit images into a variety of enclosing contexts (e.g., screen form factors, responsive layout container) while preserving the image’s key features.
-
Spotify's Journey to a Unified Codebase for Its Web and Desktop Clients
Spotify recently published an account of their journey towards a unified codebase for their web and desktop clients. Spotify's team was the owner of a web-player and a separate, full-featured desktop client. Due to having to implement many features twice, they were not shipping at the pace they wanted. Now Spotify created one codebase for both, resulting in an improved development cadence.
-
Sentry Migrates Its Frontend to Typescript - Lessons Learned
Mark Story and Priscila Oliveira recently shared lessons learned when converting Sentry’s frontend codebase (one-year effort, 100,000 lines of code) to TypeScript. The pair described a gradual conversion process in which TypeScript progressively replaced JavaScript, types were continuously refined as new TypeScript language features were released, and complex types were built incrementally.
-
Effectful Effects - Unifying Bidirectional Communication between Software Components
Yizhou Zhang, assistant professor at the University of Waterloo, presented bidirectional algebraic effects, a new programming abstraction that subsumes current control flow patterns (e.g., exceptions, promises, generators) while supporting bidirectional control flows. With the new typed abstraction, all declared effects are handled, and no effects are accidentally handled by the wrong handler.
-
Cloudflare Announces the General Availability of Cloudflare Pages
Recently, Cloudflare announced the general availability (GA) of Cloudflare Pages: a fast, secure, and free way for frontend developers to build, host, and collaborate on Jamstack sites.
-
Catchpoint Announces General Availability of Enhanced WebPageTest Performance Testing API
Catchpoint recently released an enhanced version of the WebPageTest (WPT) performance testing API. The now generally available API provides programmatic access to the WebPageTest data and test infrastructure, and offers in-depth front-end performance metrics and side-by-side video comparisons of user experience.
-
Charts.CSS, a Pure CSS Charting Library
Charts.css is a new data visualization library that relies solely on CSS and HTML. By avoiding the use of JavaScript/Canvas, it avoids many of the accessibility challenges in existing solutions while keeping the bundle size under 10KB when minified and gzipped.
-
NativeScript 8 Released with Apple M1, Webpack 5, and Dynamic View Support
The recently released NativeScript 8 features official Apple M1 support, and webpack 5 builds. NativeScript 8 supports a new layout container for creative view development and two new styling properties: box-shadow and text-shadow.
-
10 Years after Inception, WebRTC Becomes an Official Web Standard
Web Real-Time Communications (WebRTC) recently became a web standard. This is a major milestone on a long journey for WebRTC that started in 2011 with Google open-sourcing key necessary technologies. The new standard will continue to evolve as the WebRTC Working Group strives to integrate new use cases — live processing of audio and video feeds, Internet of Things use cases, and more.
-
JetBrains Releases Projector, a Technology to Remotely Run Swing Applications
JetBrains recently released the first major iteration of Projector, a technology that allows developers to run and operate Swing GUI applications remotely. Resource-hungry applications like Android Studio may run on a powerful server while developers need only a web browser on a thin client.
-
Rendering Large Logs in the Browser for GitHub Actions
Rendering large logs in a browser can be a complex task if you want a rich UI including coloring, grouping, search, and permalinks, says GitHub engineer Alberto Gimeno. This is why after testing with both a React and plain JS library, they opted to build their own.
-
Compat2021 Unites Browser Vendors to Tackle Compatibility Issues
Microsoft, Google, Igalia, and other industry partners are joining hands to improve browser compatibility. The cross-browser effort, named #Compat2021, will focus on the top five compatibility pain points, all CSS-related: CSS Flexbox, CSS Grid, CSS position: sticky, the CSS aspect-ratio property, and CSS transforms.
-
Cloudflare Announcement Helps Customers Protect against Online Threats, Such as Digital Skimmers
Cloudflare announces a new service called Page Shield. Page Shield is a client-side security offering that helps websites protect their users' information from supply chain and client-side attacks, such as Magecart. It joins tools like CSP and SRI as ways to protect against these types of attacks.