Skip to content
learnlaravel
  • Register
  • Log In
  • About Learnlaravel

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

Templating and Views - Introduction

Posted on February 13, 2020 (February 13, 2020) by eoin
blah

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 [...]

Read More...

>
Posted in Templating and ViewsLeave a comment

View Inheritance

Posted on February 13, 2020 (February 28, 2024) by eoin
blah

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. [...]

Read More...

>
Posted in Templating and ViewsLeave a comment

Adding Routes to the Navbar

Posted on February 17, 2020 (February 17, 2020) by eoin
blah

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 [...]

Read More...

>
Posted in Templating and ViewsLeave a comment

Adding a Dropdown List to a View

Posted on February 17, 2020 (February 19, 2024) by eoin
blah

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 [...]

Read More...

>
Posted in Templating and ViewsLeave a comment