Ich habe über die Weihnachtszeit mal wieder Schach gespielt – mehr schlecht als recht. Zusammen mit meinem Schwager bin ich auf Schacharena.de gelandet. Er hatte dort über viele Jahre Schach gespielt und nun also gegen mich. Zur Analyse der Partie wollte ich gerne Lichess.org verwenden. Allerdings spuckt Schacharena.de kein gültiges PGN (Portable Game Notation) aus […]
Usually, when we talk about architecture, we talk about the application itself. We think about layers, domain models and interfaces to structure our code. Most of the time the tests will follow this architecture. We create one test per service and mirror our code.
This is fine for unit and even integration tests, but […]
We use a login to secure our application and restrict its access to a certain group of users. But what if everybody should be allowed to use our application if he can prove he’s human? Well, we would use a captcha. The following example shows how we can use Google’s ReCaptcha for an anonymous login […]
A couple of days ago I finished my capstone project for the Full Stack Web Development specialization on Coursera. It marks the end of the 6-course specialization about Bootstrap CSS, AngularJS and NodeJS. The Assignment The assignment itself is simple: Build a web application with the tools taught in the course (Bootstrap CSS, AngularJS, NodeJS, […]
During the last 6 months I did the Full Stack Web Development course on Coursera. Since I’m currently about to finish the course by implementing my final capstone project (https://github.com/tuhrig/mebo), I wanted to share my thoughts about the course and its pros and cons. About the course The Full Stack Web Development course consists of […]
AngularJS provides 3 different ways to create a service: Factory A factory is a well known pattern in software development. It aims to create a certain object, in this case a service. In AngularJS this is simply a function which returns an object with methods. In my opinion, this is the cleanest way to create […]
Whenever you build software, you want to create reusable and independent components. In the world of user interfaces, those components are often called widgets. Here’s an example how we can achieve this with AngularJS. An example Let’s say we have an online shop where a customer can make an order. To do so, the customer […]