Recursion in Go

The Go programming language supports recursion (the process of repeating items in a self-similar way). That is, it allows a function to call itself. But while using recursion, programmers need to be careful to define an exit condition from the function, otherwise it will go on to become an infinite loop.

Continue reading

Deploy a Laravel application with Apache on Ubuntu

Watch out! This tutorial is over 1 year old. Please keep this in mind as some code snippets provided may no longer work or need modification to work on current systems.

Laravel is a free, open-source PHP web framework, intended for the development of web applications following the model–view–controller (MVC) architectural pattern and based on Symfony. Some of the features of Laravel are a modular packaging system with a dedicated dependency manager, different ways for accessing relational databases and utilities that aid in application deployment and maintenance.

Continue reading

Installing and using Express.js

Watch out! This tutorial is over 1 year old. Please keep this in mind as some code snippets provided may no longer work or need modification to work on current systems.

Express.js is a web application framework for Node.js. It provides various features that make web application development fast and easy which otherwise takes more time using only Node.js.

Continue reading

Ruby Exceptions

Watch out! This tutorial is over 1 year old. Please keep this in mind as some code snippets provided may no longer work or need modification to work on current systems.

Ruby uses exceptions. Instead of try, the block is called begin, and instead of catch there is rescue. The else is executed when no exception occurs.

Continue reading

How to Install a LAMP Stack on Ubuntu 20.04

Watch out! This tutorial is over 1 year old. Please keep this in mind as some code snippets provided may no longer work or need modification to work on current systems.

A LAMP (Linux, Apache, MySQL, PHP) stack is a common, free, and open-source web stack used for hosting web content in a Linux environment. Many consider it the platform of choice on which to develop and deploy high-performance web apps (you can also use NGINX as your web server and MariaDB for the database, depending on speed and load requirements).

Continue reading

Which Distro? Creating your very first Linux VM

Watch out! This tutorial is over 1 year old. Please keep this in mind as some code snippets provided may no longer work or need modification to work on current systems.

As a student in the School of Informatics & Creative Arts, you will have access to our very own Cloud Computing Platform at https://xoa.comp.dkit.ie.  You will not only use this for class exercises but also for end of year projects, group collaborations, Docker, Continuous Integration Pipelines and a bunch of other stuff you are not aware of just yet!

Continue reading