Github Actions are a way of submitting instructions into your repository that will be executed on a particular event happening to your repository - typically a push. Github Actions work by spinning up a temporary Virtual Machine inside a Docker container, executing some tasks on this VM and then letting it cease to exist. Very [...]
Category: Home - All Categories
This category contains pages for each of the category lists
Choosing and setting up your Domain name
Your website is now fully working but it does not have a proper domain name. We need to create a domain name and map it to our website. When you consider the phpMyAdmin website (our SQL client) your server is already supporting one website. This will be the second. Thankfully Apache allows for multiple websites [...]
Adding a Calendar Front-end Component to your Application
Calendars are a very important and useful feature of many modern web-based applications. Every time we want to book a trip or an event we need to check the available dates to see which one suits us. This inevitably means having the information presented in some kind of Calendar format. We could write code to [...]
Adding Fullcalendar to your application with Laravel Mix
***important - Do not attempt to complete the following blog post without first having set up npm and laravel mix. A good description of how to do this is in this post https://www.learnlaravel.net/953/adding-a-star-rating-system-to-your-application-step-4-adding-the-star-rating-component/.*** Once you are using Laravel mix to keep your plugins organised you will want to use it everywhere. Earlier we demonstrated an [...]
Getting Json Events
This Calendar uses the json format to list events. If we want it to display tennisClub bookings then we our system to be able to produce events in the json format. The calendar also needs to have specific field names for our json "events" - these include id, title, start, end, and venue. The start [...]
Adding a Modal Form to Create new bookings
Now that we have a calendar it would be nice to use it to create new bookings on timeslots which are available. To do this we need a bootstrap modal form. A modal form is a kind of popup dialog box which pops up in front of your webpage and stays present until it has [...]
Adding a Star Rating system to your application - Step 1 - Generating BREAD for Star Ratings
Many modern web-based software application are heavily dependent on star rating systems. In a typical scenario users in an online marketplace for a product or service have the ability to rate the product, service or their experience. As more and more ratings are added the "wisdom of the crowd" takes over. Where there are many [...]
Adding a Star Rating system to your spplication - Step 2 - Putting the Foreign Key in the Flow
When building a system based on a reltional database developers are challenged to deal with all the foreign keys. In the Getting Started section we scaffolded the bookings table and auto-generated the create.blade.php view which allowed us to create new bookings. The challenge with this screen is, with two foreign keys, it led to confusion [...]
Adding a Star Rating system to your application - Step 3 - Selecting which Court to Rate
On the courts page where there is a list of courts there are a number of things we can do each court. So far these options include show, edit and delete. These options work by passing the courtid selected by the user to the through the url to the relevant controller function. The respective controller [...]
Adding a Star Rating system to your application - Step 4 - Adding the Star Rating component
When we first contructed our Laravel tennis club application we used Composer the PHP dependency package management system. This downloaded Laravel and a whole range of third party packages on which Laravel depends. We then added the Infyom generator, and the packages on which depends - also using Composer. Later when we used FullCalendar, the [...]