Category: Laravel

  • Eloquent Relationships

    One to One One record “owns” exactly one other record. Examples How it works Here’s an example for One to One relationship: HereLook at the Employer <-> User relationship and just navigate to the corresponding migrations to see how the Database is built up. One to Many One record has many dependents. Examples How it…

    Zum Beitrag

    //

  • Plain PHP vs Laravel

    For more information about Laravel or PHP you can look at these: I worked with both plain PHP and Laravel while granted I’m still pretty new to either there are already some noticeable differences. So let’s go over them. So firstly you can’t use Laravel without knowledge of PHP so to start you should use…

    Zum Beitrag

    //

  • Tests

    Test are an important part of programming. Tests ensure that the code you wrote actually works. There are two ways to work with test, one way is to write the code and write the tests for the code or the other way is called Test-Driven Development or TDD for short. In TDD you write the…

    Zum Beitrag

    //