In the early days of the web websites consisted of relatively few pages so managing the content was a relatively straightforward task. As websites grew to dozens and even hundreds of pages this task became more challenging. If a navbar which appeared on every page in the site needed to be updated this could mean [...]
Category: Templating and Views
This section describes how to get started using the laravel blade templating language and how views work in an MVC Framework
View Inheritance
A typical webpage has some sections. There may be a navigation bar (or bars) there will probably be a main content section in the middle and there may be a footer with some basic information about the organisation along with some other navigation items such as links to terms and conditions of the companies address. [...]
Adding Routes to the Navbar
In the next step we are going to change our Nabar so that it uses routes rather than hard coded urls. This will give us more flexibility in using SEO friendly urls but it will also allow our urls to work seamlessly after they have been deployed to a different server with a different base [...]
Adding a Dropdown List to a View
If you look at the /bookings/create screen which was generated by the scaffolder This is all very well but for the foreign key fields which reference the primary key fields in the member table and courts tables there is merely the possibility of entering a numeric value by which to identify the respective member or [...]