hard mistakes - please write a commentsome mistakesokgoodvery good
Loading ... Loading ...

Configure angular German localization

To configure the German language for Fehlermeldugen and also the date format angular from Version2, do one the following set in the app.modules.ts:

...
import { LOCALE_ID} from '@angular/core';
import localeDe from '@angular/common/locales/de';
import localeDeExtra from '@angular/common/locales/extra/de';
import { registerLocaleData } from '@angular/common';
registerLocaleData(localeDe, localeDeExtra);

@NgModule({
 providers: [
 { provide: LOCALE_ID, useValue: 'de' },
 ]
})
hard mistakes - please write a commentsome mistakesokgoodvery good
Loading ... Loading ...

Tutorial Jenkins on Windows set up

Server is a great asset for any major IT project a Jenkins.

In the following I will describe the Setup on Windows.

Installation

A Installer can be used comfortably under Windows, with the Jenkins then just about a Tomcat Web server is running and in the browser http://localhost:8080 is accessible. It automatically starts the installation routine, the rudimentary establishes the Jenkins:

jenkins_installation

Automatic installation routine set up by Jenkins

more…

hard mistakes - please write a commentsome mistakesokgoodvery good
Loading ... Loading ...
hard mistakes - please write a commentsome mistakesokgoodvery good
Loading ... Loading ...

Book review: Clean architecture by Robert C.. Martin

The new classics by Uncle Bob is engaged in software architecture: What is a good software Arcjtektur and why do you need you at all.

I have summarized the most important statements in the following:

What to benötugt a good architecture? It's easy to write a program, I'm something, even schoolchildren write programs. But it is difficult to write a program, What is expandable and felxibel in the future, without incurring large costs and effort. That's why it brought at first good architecture.

The evolution of programming languages is, the programmers of less opportunities to give, bad code to write.

One should not fall into the trap: We program the project to end quickly to be fast on the market and later we clean up the code. This will never happen.

The user interface (UI), the database and the business rules should be connected independently of each other via interfaces with each other and interchangeable (Plugin architecture). This allows a

  • independent deployment of 3 Components and
  • unabhängige Entwicklung in verschiedenen Teams

Functional programming solves the problem of deadlocks and multi-threading problems, da keine richtigen Variablen vorhanden sind. more…

hard mistakes - please write a commentsome mistakesokgoodvery good 5.00 of 500 (1 Users)
Loading ... Loading ...

Successfully passed certification to become a Zend certified engineer

At the 1. March I made successfully the examination for which I learned the last few months. As was to be expected, were the questions very, very tricky, but the preparation has paid off.

zce-2017-php-80x80

Preparation

I can anyone recommend before from the Book PHP7 Zend Certification Study Guideto read:

In addition, you should all tests on the page zendexam.com to 80% can successfully answer, then you're ready for the exam.

Sign up for the exam

You can be on the Zend.com login page for the examination , take one then nearby in a testing center of their choice can under strictest conditions.

Annually there is a voucher for the exam RetailMeNot.com, If you're lucky.

hard mistakes - please write a commentsome mistakesokgoodvery good 5.00 of 500 (1 Users)
Loading ... Loading ...
hard mistakes - please write a commentsome mistakesokgoodvery good
Loading ... Loading ...
hard mistakes - please write a commentsome mistakesokgoodvery good
Loading ... Loading ...

Travis CI: No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)

The very cryptic error message in Travis CI.:

No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)

handlet's is a problem with incorrect indentation in the travis.yml file:

matrix:
  include:
    - php: 5.6
      env:
        - SYMFONY_VERSION='3.4.*'

A space in the line – SYMFONY_VERSION = ’ 3.4. *.’ and this little revealing error.

hard mistakes - please write a commentsome mistakesokgoodvery good
Loading ... Loading ...

PHP: Parse Error: syntax error, unexpected ‘:’, expecting ‘;’ or ‘{‘

The very cryptic error message

Parse Error: syntax error, unexpected ':', expecting ';' or '{'

It is in most cases a PHP7 incompatibility.

The code contains a language feature, What is only available at PHP7:

Return type definitions (Definition of the return value). Example:

function myFuntion($input): array
{
    return ['foo'];
}

This can strength enable, the function must return an array, otherwise an TypeErrror is thrown.

To make the code less PHP version running, muss man die Return Type Definition entfernen:

function myFuntion($input)
{
    return ['foo'];
}

Special case: composer more…

hard mistakes - please write a commentsome mistakesokgoodvery good
Loading ... Loading ...