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
…Category: Laravel
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.
What we are going to achieve
…The setup and application backend
In the last chapter, we looked at what an international application should be like. We covered some fundamental issues to consider when building an international application. We differentiated between what a multilingual application is and what a multi-regional application is. We also addressed what to do when building any of such applications.
In this chapter, we will build our tour guide application. We will not
…Internationalization and accessibility
When your application has users from different countries with different languages, having different content tailored to each region is a good step at improving the overall user experience of your application. You would have to worry about content, images, illustrations all appearing in the local language. You also need to consider multiple accessibility options to ensure every user can access your application and extract value from it.
…JSON Web Token (JWT) is an open standard that allows two parties to securely send data and information as JSON objects. This information can be verified and trusted because it is digitally signed.
JWT authentication has aided the wider adoption of stateless API services. It makes it convenient to authorise and verify clients accessing API resources. It is a critical part of the authentication system in javascript powered applications.
In
…