webdevelopment
By Serdar Yegulalp Developed by Facebook and released as an open standard for all to use, GraphQL is intended as an alternative to REST APIs. Like REST, GraphQL provides a way to create and consume web-based APIs, but queries and returned data use formal schemas and a type system to guarantee consistency. In this article, we’ll walk through the basics of designing and implementing a GraphQL API and discuss many of the key considerations and decisions you’ll make during the process. GraphQL languages and frameworksIf you’re planning to use GraphQL as your web application API, there is a very go...
Info World
By Matthew Tyson Not long ago, we looked at how to build an HTMX application with JavaScript. HTMX also works with Java, so now we'll try that out using Spring Boot and Thymeleaf. This awesome stack gives you all the power and versatility of Java with Spring, combined with the ingenious simplicity of HTMX. HTMX: A rising starHTMX is a newer technology that takes plain old HTML and gives it extra powers like Ajax and DOM swaps. It’s included in my personal list of good ideas because it eliminates a whole realm of complexity from the typical web app. HTMX works by converting back and forth betwe...
Info World
By Serdar Yegulalp Over the last decade or so, a slew of Rust web frameworks have appeared, each built with slightly different users and feature needs in mind. All of them benefit from Rust's type safety, memory safety, speed, and correctness. This article is a quick look at five of the most popular Rust web frameworks: Actix Web, Rocket, Warp, Axum, and Poem. All of them provide common elements for web services: routing, request handling, multiple response types, and middleware. Note that these frameworks do not provide templating, which is typically handled by separate crates. Actix WebActix...
Info World
By Peter Wayner When the browser began, it was just a window for displaying some text and maybe a few images. It was just a new way to distribute the same kind of documents that you might find on a coffee table, like magazines or books. Java, JavaScript, and CSS changed all that. Just adding a bit of Turing-complete functionality was all it took, and clever programmers found ways to duplicate word processors, games, and more inside what once was a container for words and pictures sitting still. For all the creativity, though, applications running in browsers were still slower and more resource...
Info World
By Joydip Kanjilal Today’s web applications are vulnerable to a variety of security threats. Hence, you should have your strategies in place to safeguard your data and protect your application against attacks. Securing your application requires a proactive approach combined with implementation of the recommended best practices as discussed in this article. This article examines six strategies you can adopt to secure your web applications, taking advantage of protections available in ASP.NET Core. To use the illustrative code examples provided in this article, you should have Visual Studio 2022...
Info World
By Paul Krill Deno Land has released Deno 1.44, the latest version of the JavaScript, TypeScript, and WebAssembly runtime rivaling Node.js. The upgrade adds support for private NPM registries, letting developers use internal packages with Deno by configuring an .npmrc file. Performance of the Deno runtime also has been improved. Deno 1.44 was announced May 30. Developers can upgrade to Deno 1.44 by running the deno upgrade command in their terminal. In explaining support for private NPM registries, Deno Land said many large organizations host private NPM registries to manage internal packages....
Info World
By Paul Krill JetBrains has updated its Compose Multiplatform declarative UI framework, stabilizing the multiplatform resources API, upgrading support for iOS and Web targets, and introducing an experimental navigation library based on Jetpack Compose Navigation. Compose Multiplatform 1.6.10 was announced May 23. Instructions on getting started can be found at jetbrains.com. The multiplatform resources API, now stable, provides more flexibility and convenience to developers, JetBrains said. Developers now can organize resources in any modules and source sets they wish; resources no longer have...
Info World
By Matthew Tyson Like every other programming environment, you need a place to store your data when coding in the browser with JavaScript. Beyond simple JavaScript variables, there are a variety of options ranging in sophistication, from using localStorage to cookies to IndexedDB and the service worker cache API. This article is a quick survey of the common mechanisms for storing data in your JavaScript programs. JavaScript variablesYou are probably already familiar with JavaScript’s set of highly flexible variable types. We don’t need to review them here; they are very powerful and capable of...
Info World
By Serdar Yegulalp Django is a one-size-fits-all Python web framework that was inspired by Ruby on Rails and uses many of the same metaphors to make web development fast and easy. Fully loaded and flexible, Django has become one of Python’s most widely used web frameworks. Django includes virtually everything you need to build a web application of any size, and its popularity makes it easy to find examples and help for various scenarios. Plus Django provides tools to allow your application to evolve and add features gracefully, and to migrate its data schema (if there is one). Django also has ...
Info World
By Matthew Tyson Progressive web apps are an innovation of modern web development, pairing the ubiquity of web browsers with the richness of native applications. Specialized features such as service workers increase the complexity of development as compared to a typical web UI, but they provide an enormous benefit in exchange: cross-device, native-like features delivered inside a web browser. Features of progressive web appsIf you consider the difference between a typical web browser application and an app installed on a laptop or mobile phone, you get a sense of the gap that progressive web a...
Info World
閲覧を続けるには、ノアドット株式会社が「プライバシーポリシー」に定める「アクセスデータ」を取得することを含む「nor.利用規約」に同意する必要があります。
「これは何?」という方はこちら