Ihr Partner in Web-Entwicklung

Innovative Ideen für Ihr Unternehmen

Web-Entwicklung

Egal ob neue Firmen-Webseite, CRM-System oder Spezial-Software. Wir sind ihr Ansprechpartner in Sachen Web-Entwicklung!

Wir erstellen Webseiten und Web-Applikationen nach ihren Wünschen und Anforderungen. Dabei setzen wir stehts auf die neusten Technologie- und Sicherheits-Standards.

Netzwerk Administration

Planung, Aufbau und Administration ihres kleinen bis mittelständigen Firmen-Netzwerkes.

Wir kümmern uns daraum dass es in ihrer Firma läuft. Wir planen, bauen und administrieren ihr Unternehmens-Netzwerk.

Linux Server Management

Aufbau, Instandhaltung und Wartung ihres Linux-Servers.

Wir bieten ihnen einen umfassenden Service für ihren Linux-Server. Wir sorgen dafür, dass alles auf dem neusten Stand ist und ihre Services verlässlich laufen. Dabei achten wir stehts auf die Sicherheit ihres Netzwerkes und ihrer Kunden.

Wer Sind Wir?

Software ist Analyse und Instrospektion. Um einen Prozess zu verstehen, betrachten wir ihn so lange bis wir ihn verstehen. Gute Software erklärt einen Prozess in einfachen Schritten.

Wir bauen Software aus Micro-Services, kleine Komponenten die eine kleine Aufgabe erledigen. Ein Service alleine ist nahezu nutzlos, aber wenn mehrere zusammenfließen - dann können sie komplexe Prozesse abbilden und verwalten.

Viele unserer Services sind Open-Source, so das sie von der Community geprüft und verbessert werden können. Das erlaubt uns transparente und effiziente Arbeit.

Wir ergänzen diese Services dann mit anderen Services die proprietär sind, und das geistige Eigentum ihrer Firma schützen. [Mehr erfahren?]

Wir möchten das unsere Kunden das Gefühl haben das dass was wir tun ganz einfach ist. Dann wissen wir das wir es richtig machen.

César

César

Inhaber & Entwickler

Sebastian

Sebastian

Entwicker

BLOG

Wir nutzen unseren Blog um uns mit anderen Entwicklern auszutauschen. Die Softwareentwickler Community ist global, und selten Deutsch sprechend. Unsere Artikel sind deshalb alle auf Englisch verfasst. Wir laden sie trotzdem ein sich umzuschauen.

SIOCGIFHWADDR on eth0 failed: Bad file descriptor

28/09/2020

This is the kind of error etherwake returns whenever it’s not running in privileged mode. Running it as sudo will do the trick.


: 0 : linux, etherwake

OAuth Terminology - What is the resource owner? Who is the client?

25/09/2020

When working with oAuth, we often find rather confusing language to describe certain things. My personal pet peeve is the distinction between a client and a resource owner.

The RFC immediately jumps into explaining what the difference between their model and a “regular” authentication flow is. But they open with this paragraph:

In the traditional client-server authentication model, the client requests an access-restricted resource (protected resource) on the server by authenticating with the server using the resource owner’s credentials.

This already hints at some of differences, but it’s so difficult to read. So here’s a breakdown:

The client is the application that your user is using to log into the service. This can be anything! It can be a SPA, a mobile app, a traditional web application… You name it.

The resource owner is the user. oAuth here probably understands your data on the servers they’re trying to log into or the application they’re trying to consume as the resource. So, your profile on a website is the resource, and you’re the owner.

I think it’s safe to assume that the client naming scheme is derived from the client-server architectures. What I don’t understand is why the user of the website had to be renamed to resource owner.


: 0 : linux, etherwakeoauth, web development

Laravel 8 is released

18/09/2020

On September 8th, Laravel 8 has been released, including many new features like Laravel Jetstream, a models directory, model factory classes and more.

So lets jump into a few of these new features!

Laravel Jetstream

Laravel Jetstream is an application scaffolding for Laravel. Jetstream provides the perfect starting point for your next Laravel application and includes login, registration, email verification, two-factor authentication, and session management.

Models Directory

Laraval usually keeps the models inside the app/ directory. But now by default the models are located in the app/models directory. But you can still use the old app/ directory. Laravel minds both.

Improved Maintenance Mode

In older Laravel versions you were able to bypass the: php artisan down command with a predefined list of “allowed ip addresses” In Laravel 8 you can now create a token to bypass the maintenance mode with: php artisan down –secret=3783-dfi3-2452465-dseg4g-66.

Now you can navigate to your application with the defined token like: https://your-application.com/3783-dfi3-2452465-dseg4g-66 The browser now sets a cookie to bypass the maintenance mode.

Laravel 8 brings many more features like:

  • Model Factory Classes
  • Migration Squashing
  • Improved Rate Limiting
  • Time Testing Helpers
  • Dynamic Blade Components
  • and many more

You can check out the full release-notes here: https://laravel.com/docs/8.x/releases#laravel-8


: 0 : linux, etherwakeoauth, web developmentprogramming, php, laravel

Migrate a domain account to a local account in Windows 10

11/09/2020

The last few days I’ve been running into issues, where the old active directory accounts (we dismantled an AD server for a client that did not need it) have been blocking users from logging in due to the fact that the AD Server is no longer available.

The client would call me and say that the user profile was just no longer listed on the login screen, and when manually entered it would say that the domain was not available.

I’ve found that the easiest way to perform this was following these steps:

1. Make a good back up of your user profile data (or mirror the entire disk)
2. Use User Profile Wizard (you can download it from here)
3. Run the wizard, select the old account, select the new account and in a few minutes it will be migrated.

I’ve only had to do this once now, since only of the client’s machines decided to lock up. But it’s worked like a charm.


: 0 : linux, etherwakeoauth, web developmentprogramming, php, laravelwindows, active directory

Nullsafe operator in PHP 8

07/09/2020

PHP 8 will be released on November 26, 2020. With this new major version of PHP, new features and performance improvements will be introduced. The full list of the new features and changes can be found here: https://wiki.php.net/rfc#php_80 . Today I want to write about the new “nullsafe operator”. Most of the time when you only want to call a method or fetch a property on the result of an expression when it’s not null, you do something like this:

$country =  null;
if ($session !== null) {
    $user = $session→user;

    if ($user !== null) {
        $address = $user→getAddress();

        if ($address !== null) {
            $country = $address->country;
        }
    }
}

// do something with $country

With the new nullsafe operator ?→ you can to it like this:

$country = $session?→user?→getAddress()?→country;

// do something with $country

Whenever the left hand side of the operator results to null the execution of the rest of the chain will stop and result into null. When it’s not null it will behave like the normal opreator.

This kind of operator is already implemented and used for years in other programming languages like: JavaScript, C#, Kotlin, Ruby or Swift. So in my opinion it is a great improvement for cleaner and better readable code in PHP!

This new operator makes it so much easier to check for null without deep nesting of if statements.


: 0 : linux, etherwakeoauth, web developmentprogramming, php, laravelwindows, active directoryprogramming, php, php8

Kontakt

Wir haben Ihr Interesse geweckt oder Sie möchten uns einfach eine Frage stellen?
Gerne können Sie uns eine E-Mail verfassen oder sich telefonisch bei uns melden.

Wir freuen uns auf Ihre Anfrage!

Magic3W
Pelkovenstr. 148
80992 München