Category: Php
What is Kubernetes? Kubernetes, also known as K8s is an opensource system for production-grade container orchestration. Modern applications stack usually are made up of a minimum of two to three services that interact with each other (web service, database service, and caching service), which run inside containers. Container orchestration, simply put is organizing these respective containers together. K8s is one of many container orchestration tools that allows users to manage
…In this tutorial, We will learn how to create a web application that gathers top news across multiple news sites, using News API and Laravel.
News API is a simple and easy-to-use API that returns JSON metadata for the headlines currently published on a range of news sources and blogs.
At the end of this tutorial, you will be able to build this app.
Laravel 5.8 was released on February, 26th 2019. This new release continues the improvements made in the previous release (version 5.7), as well as new features which includes support for the postmark email service, “has-one-through” Eloquent relationships, improved email validation, and many others.
In the course of this article, we will take a look at the new features introduced in this new release as listed below:
- Eloquent “HasOneThrough”
If you have used Laravel for a while, you should have heard a lot about multiple authentications. You should have also heard “guards” a whole lot. But if you are fairly new to Laravel, multiple authentications makes it possible for you to have different classes of users access different/similar parts of the same application.
There are many reasons why you may want to use multiple authentications in your
…Writing tests for an application is a great software development practice. Often, it is the first coding task to be performed before building the features of an application. As the first coding task, tests are initially written to fail because we have no code to satisfy the requirements of the test. Once our tests fails, we can can then build our application to pass our tests. This practice ensures our
…Frontend with multi-language styling
In the previous chapters, we looked at what an international application is and the different things to consider when making one. We started building our tour guide application and made the backend of the application. We also added multilingual support for the basic pages and content.
In this chapter, we will focus on making the frontend of the application. We will build a simple destination page
…Creating multi-language string maps
In the previous chapters, we looked at what an international application is and the different things to consider when building one. We got started with the tour guide application and made the backend of our application.
In this chapter, we will look at how to add support for multiple languages on our application.
Prerequisites
Read and followed the previous guides.