Posts Tagged: blogumentation

Home » blogumentation

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

Running A Local Angular Development Environment Behind A Spring Cloud Gateway Service

Having multiple microservices running behind a reverse proxy / API gateway in lieu of a single monolithic back-end application is a common pattern these days. With such an architecture it often comes in handy to have an Angular application that serves as a front-end for such a modularised back-end be served from behind a reverse proxy running locally as well in order to treat it is if it were running on the same host and port as the back-end. Not only will ... 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

A Guide to Refactoring Large Functions by Robert Muth

Software Engineer Robert Muth wrote this interesting article on refactoring large functions. The article starts with providing ample motivation for using functions (or methods in a strictly object-oriented context). Apart from making code shareable and reusable, which is only a minor benefit of functions / methods, reasons for writing code as functions are: giving a meaningful name to several lines of related code readability limiting visibility lowering indentation levels improving testability The article goes on to describe several common cues indicating that extracting the code at hand to ... Read more

OAuth 2.0 Authentication with Jira – A Spring Boot Example Application

When dealing with the specifics of authentication techniques and protocols such as OAuth the devil often is in the detail. While the OAuth 2.0 protocol generally is easy to grasp and simple to use implementation details for specific authentication providers can easily have you hit a snag fairly quickly. Documentation and examples sometimes are outdated or scattered across several - sometimes contradictory documents. Additionally, examples for the authentication provider you want to use might not have been written with your framework of ... Read more

Tarun Sharma on the Angular @ViewChildren, @ViewChild, @ContentChildren and @ContentChild Decorators

Some time ago, software developer Tarun Sharma wrote an interesting article explaining the Angular @ViewChildren, @ViewChild, @ContentChildren and @ContentChild decorators and their respective use cases. The article is still relevant and a nice overview of the several ways of accessing different types of child components in Angular applications. Read more

Angular Checklist

Angular Checklist is a useful tool that allows you to compile checklists of best practices, common mistakes and other aspects to consider both before launching a new app and during ongoing development. Although the tool's name and the default checklist suggest Angular-only usage this checklist tool of course is applicable to other frameworks, too. Read more

How to Subscribe to Multiple RxJS Observables in Angular

Cory Rylan, Google Developer Expert and instructor at Angular Boot Camp wrote this article on subscribing to multiple observables in Angular components. In this article, Cory explains how to use the RxJS forkJoin and combineLatest operators in conjunction with Angular's *ngIf directive and the AsyncPipe in order to consume asynchronous data provided by multiple RxJS Observables. Read more

Cloud Design Pattern Library by Microsoft

Microsoft maintains an extensive library of cloud design patterns. Whether you create applications that run on AWS, Microsoft Azure or Google Cloud Platform, use platforms such as Heroku or you develop enterprise applications which run on on-premise cloud networks within a corporate intranet, cloud computing becomes ever more crucial to providing business value through software. Hence, it's not only expedient to know about the classic relatively low-level GoF design patterns or Martin Fowler's Patterns of Enterprise Application Architecture but about design patterns for ... Read more

References to Design Pattern Libraries

When designing and developing software it's always useful to have a reference to common software design patterns handy. Apart from cloud design pattern libraries there are collections of more low-level or more general design patterns, too. These include the classic GoF design patterns and Martin Fowler's Patterns of Enterprise Application Architecture. Read more
Next Page »