X
X

Return type declarations

We have now discovered all possible type declarations or casts however you’d like to pronounce them. We understand via assignment of these type declarations we can check or control the datatype of the parameter being passed in. Whether it be…

Object type declarations

This course covers new features of PHP7, however it’s important to note object type declarations on your argument’s were available in PHP5. However in the next lecture we’ll see how these object type declarations are used in a new way…

Primitive type declarations

Types are very important when it comes to data integrity. PHP7 now comes with updated type declaration’s such as string, integer, float and boolean. With these type declarations we can check that our argument’s receive parameters that match the correct…

XAMPP PHP7 setup

Before we can learn the new features of PHP7 we must first install the latest XAMPP program that’ll allow PHP7 to run. XAMPP installs a stack of applications to accurately imitate a server environment on our computer and install the…

31 Final project

This final project will sum up most of what we’ve already learn’t throughout this course. It will consist of three simple drop down menus with each menu changing a CSS property on a div element. We’ll be looking at adding…

30 Create and append DOM element

In this lecture I’ll be making a virtual DOM object within Javascript. Then I’ll tell the DOM to add the relevant element using the information from our virtual DOM object. This will allow me to produce an element from Javascript.…

29 Changing style attribute

The style attribute will allow us through Javascript to apply styles to our DOM element’s. We manipulate the style attribute via the style object, every DOM object has an embedded style object that’ll allow us to manipulate css properties. Javascript…

28 Changing elements’ content

Javascript works hand in hand with the DOM as we know. So how about changing text and information within the DOM. Well we can easily do this by targeting an object that represents a DOM element in Javascript and modify…

27 This keyword explained

The this keyword can be elusive to the new comers in programming. That’s because we can understand context of the this keyword very easily in a simple conversation. We should however understand the this keyword and never be confused about…

26 Event handlers

Events are listening out for interactivity by the user. It also could include a change in state; for example you could trigger an event if the HTML5 video player was playing, paused or in the stop position. This allows us…