Planning a project

When creating a project for your portfolio it is important to not just dive head-first into development. With a little bit of project planning, you can introduce a framework that will help you track your progress, record your decisions and manage the scope of your project. A simple project can be broken down into four … Read more

What is a domain name?

A domain name is the root name of your website. It is the word(s) that come after the https:// or https://www. An example of a domain is forthdev.com (from https://forthdev.com) The domain name is stored in an online library called a Domain Name Service (DNS) server, along with the IP address of the server which … Read more

Categories Web

Algorithms

An algorithm is a set of instructions that an application uses to determine what to do. The instructions should never change and, for any given input, should always result in the same outcome for that input. An application should be able to follow an algorithm regardless of its current state, and end in the correct … Read more

What is an API?

An application programming interface (API) is a piece of software that provides a means of sending and receiving data, to and from a database. An external application may connect to an API and request data, at which point the API will process the request and extract the required data from the database before sending it … Read more

Categories Web

Stop Google from indexing your page

To stop a page from showing up on search engine results, edit the robots.txt file located in your public directory, and add the line “Disallow: /<your-page-url>/”. An example of this line might be: The example above will stop Google and other search engines from indexing the page at https://forthdev.com/index-example as well as any children of … Read more

Categories Web

Create a redirect link to a page

To create a redirect link to a page, edit the .htaccess file located in your public directory, and add the line “Redirect /<your-link-text> <your-destination>“. An example of this line might be: The example above will redirect any visitor who tries to visit the URL https://forthdev.com/example to the page https://wordpress.org/documentation/article/htaccess/. If you use cPanel, you will … Read more

Categories Web

What is a Framework in the web?

A framework is a collection of resources which can be used to build something on the web. Most projects tend to share a lot of common functionality, especially under the hood. Such functionality might include serving the correct page content to a site visitor, or providing a login system (known as authentification). This common functionality … Read more