Loading JavaScript using async and defer
Inline scripts and links to external JavaScript files are commonly placed before the closing </body>
tag so that they will be loaded and executed only after the HTML is parsed.
Web/Mobile App Developer
Inline scripts and links to external JavaScript files are commonly placed before the closing </body>
tag so that they will be loaded and executed only after the HTML is parsed.
Here’s a quick guide on how to access a remote database in HeidiSQL using SSH Tunnel, which is a mechanism in SSH for tunneling application ports from the client machine to the server machine and vice versa.
The PHP Standards Recommendation, also known as “PSR”, is about how you should write your PHP code so that it’ll be easily readable and usable by others. It covers coding style, file organization, autoloading and standardizes various interfaces.
This multiple chart issue usually happens when you hover the mouse to a coordinate that already contains existing data that was just replaced by another data returned from an asynchronous request.
Here’s a step by step process on how to integrate AngularFire2 into an Ionic 3 project.
Here’s how you can clear a cluttered commit history in a Git repository.
Here’s a step by step process on how you can install and integrate Bootstrap into your Angular project.
An ongoing collection of short but useful WordPress snippets.
Just another terminal and git cheatsheet.
Just another markdown syntax reference.
Just another language code reference.
PHP has another data type called “boolean”. A boolean is not a string or a number and it can only be either true
or false
. When we say true
, we’re not referring to the string 'true'
or even the number 1
.
PHP has another type of array called “associative array”. An associative array behaves like a regular array, the only difference is that it is object-indexed rather than integer-indexed. In other words, associative arrays are indexed using labels, commonly known as “keys” rather than integers.
An array is an ordered, integer-indexed collection of objects. These objects can either be a string, a number or another array.
Similar to strings, PHP also has a wide array of built-in functions that can be used when working with numbers.
There are two types of number in PHP, namely, integers and floating point numbers, also known as “floats”.
PHP has a wide array of built-in functions that can be used when working with strings. Think of these functions as a tool that takes one or more parameters and then returns a result.
A string is a set of characters (letters, numbers and symbols) inside single quotes, e.g. 'This is a string'
or double quotes, e.g. "This is a string"
.
Variables and comments are widely used in PHP as fundamental building blocks.
This cycle in PHP describes the way that a browser and a web server communicate to process user requests. It may seem simple, but it’s important to keep it in mind while developing with PHP because things like header redirection, output buffering and setting cookies are all affected by this cycle.
PHP is commonly known as a programming language for the web but technically speaking it is not. It’s actually a server-side scripting language. The main differences between the two are:
Action hooks are used to execute a function when an event is triggered at a specific point during the WordPress loading process like for example, when a page or post is loaded, an Ajax request is performed or when a user has logged in successfully.
The blank white screen works fine when waiting for a page to load in the browser, but would it be better to at least add some kind of indicator like an animated preloader to tell the visitor that something is happening?
Synchronous just means one at a time. In the context of JavaScript, one line of code is being executed one at a time and in the order they’re written.
When an execution context is created through function invocation, aside from having its own variable environment also creates a reference to its outer environment and thus the “Scope Chain” occurs.
Variable environment is basically the location where a variable lives in memory. Variables with the same name that are declared in the global execution context are different from the ones that resides in a function’s execution context. Each execution context has its own variable environment.
One of the most common tasks when working with WordPress is to be able to paginate custom post types.
There’s a lot of ways to import CSV data into WordPress, it’s either by using the WordPress Importer or by installing a plugin.
Function invocation is just another term for calling a function using the open and close parentheses notation.
Understanding how WordPress plugins work will be beneficial if you are interested in developing your own or extending existing ones to suit your needs.
When you run a JavaScript file in the browser or invoke a function, an “Execution Context” is created. The execution context that is created when a JavaScript file is executed on the browser is called as the “Global Execution Context”.
Variables and functions in JavaScript behave a little bit different from other languages like PHP.
If you happen to be using XAMPP as your development environment, the sending of emails via localhost will not work by default if not configured properly.
Positioning an element in CSS manipulates its location in the document.
Floating an element in CSS either to the left or to the right removes it from the normal document flow of its parent element, allowing text and inline elements to wrap around it.
The CSS box model is a box that contains the margin, padding, border and the content of each HTML element.