Posts Tagged: web applications

Home » web applications

JSON Web Tokens: Downsides, Best Practices and Secure and Robust Alternatives

JSON Web Tokens (JWTs) nowadays are commonly used for transmitting authentication data in web applications, especially those exhibiting the widespread client-server architecture where you have a fat client / single-page application written in JavaScript as a front-end and a back-end server providing REST endpoints for use by that front-end client. However, while common there are good arguments against this practice. In a nutshell, JWT often are used for storing session data such user authorization and authentication information although they aren't particularly well-suited to ... Read more

Jess Frazelle: “For the Love of Pipes”

Somewhat recently, Jess Frazelle wrote about her love of UNIX pipes, a sentiment I wholeheartedly share, to the extent that I think web apps should behave more like Unix programs by making data readily available via APIs so other applications can easily process that data. This, in a nutshell, is the Unix philosophy as stated by Doug McIlroy: Make each program do one thing well. To do a new job, build afresh rather than complicate old programs by adding new "features". Expect the output ... Read more

HTTP and REST Standards, Protocols and Headers for More Secure and More Robust Applications

Standards.REST is a website that helps you create better, more robust HTTP- and REST-based applications by providing an overview of existing, proven standards that allow you to build on existing solutions rather than re-invent the wheel yourself. The list of standards mentioned includes OAuth 2.0, the HTTP Caching standard and Application-Level Profile Semantics (ALPS), which - among others - is used extensively in Spring Data REST and Spring HATEOAS. On a closely related note, Stefan Judis published an article on HTTP headers ... Read more

“Paging with Spring Boot” by Tom Hombergs: A Guide to Paging and Pagination in Spring-based Web Applications

In his article Paging with Spring Boot software engineer Tom Hombergs (a former fellow student) provides an in-depth explanation of paging and pagination concepts and how to implement those in web applications with Spring Data and its Pageable interface. The article covers aspects such as sorting, usage with Spring Data repositories and testing. It's a useful reference for iteratively retrieving and displaying a larger amount of items from a database in a Spring Boot and Spring Data context in an efficient manner. There's ... Read more

Observatory by Mozilla: Security Checkup for Your Websites and Web Apps

Observatory by Mozilla is a security checkup tool for websites and web apps that both assesses your website in terms of HTTP security measures and best practices and also suggests approaches and techniques for further improving security. Observatory's goal is to provide developers with insights as to their applications' security standards as well as to educate developers about HTTP security options such as the Content Security Policy or HTTP Strict Transport Security headers and the respective standards and policies they implement. Observatory is ... Read more

Dinero.js: Working With Monetary Values in JavaScript

Working with monetary values can become a problem in any programming language and JavaScript certainly is no different in that respect. The naïve assumption that monetary values can be expressed as floating point numbers almost inevitably leads to rounding errors caused by precision and the fact that in most cases monetary values are represented as decimal numbers with just two (instead of an undefined number of) decimal places. Apart from that, money is not just a number but usually comprises a currency ... Read more

Jenny Shen: UX Design Across Different Cultures

UX designer Jenny Shen recently has been featured on the Scott Hanselman's podcast with her work on UX design across different cultures. She's published a two-part summary of her experiences with cross-cultural design and internationalization (i18n) and localization (l10n) of websites and applications: UX Design Across Different Cultures — Part 1 UX Design Across Different Cultures — Part 2 These articles shed light on how distributing an application or publishing a website in another country not only requires translating the content and labels of UI elements but also has ... Read more

Chrome DevTools Tips and Tricks

Chrome DevTools - or rather the development console of your favourite browser - is an essential toolkit for the modern web application developer. They help you with both debugging your own application and understanding and hence learning from other people's JavaScript, HTML and CSS code. Mastering your tools is a key ingredient to mastering your trade. Therefore it's vital to always be learning about how to use these tools more efficiently and how to apply them in different ways or with new ... Read more

Stefan Judis @ RuhrJS 2017: Watch your back, Browser! You’re being observed

At RuhrJS 2017 Stefan Judis gave an interesting talk on DOM APIs in the context of reactive programming and Observables: Read more

Alexandra Leisse @ RuhrJS 2017 – Death by a thousand paper cuts

At RuhrJS 2017 UX designer Alexandra Leisse talked about her personal experience with designing user experience for enterprise applications and how to deal with the continually growing complexity involved in that process: Read more
Next Page »