Regular Expressions

Regular Expressions, often called RegEx, is a sequence of characters that defines a search pattern to run against another string of data. This is often used to perform a find and replace or check for validation. Different languages apply regular expressions differently. The strictest use the full range of special characters and commands, while others…

Styling Tables

We’ve already looked at styling rows within a table, however, you can style more. By default a table doesn’t have any borders, color, or anything else. Luckily, like all HTML elements, you can apply styles to your elements. And since a table is made up of a lot of elements, you can apply styles to…

Operator Overloading

C++ allows you to define functions for operators, this is called operator overloading. Now why would you need to do that? Well, consider the Circle class we defined earlier. Let’s say I needed to compare two circles to see which one was larger, normally I’d write something like: The problem is, C++ has know way…

The Vector Class

Using arrays to store a collection of variables, even objects, if very beneficial. However, it does have some limitations given that arrays are of a fixed size, and cannot shrink or grow with use. This means you either run out of space after a set of time, or you waste a lot of space as…

Security Analysis

Security requirements are nonfunctional requirements that strongly influence the architectural design of software systems.  Security requirements and other requirements can conflict with one another. A common example is that security and usability are often at odds with one another, and a balance between the two must be found. Therefore you have to determine how secure do you…

Security and Privacy

With today’s interconnected apps, security and privacy is on the forefront of people’s minds, especially with several noticeable breaches. “Relying on the government to protect your privacy is like asking a peeping tom to install your window blinds.” John Perry Barlow However, security and privacy have to be weighed both with and against the need…

Security Engineering

With the unprecedented growth of web apps and mobile apps, security in our applications must be taken seriously as consumers are now confronted with potential losses all over – and they demand to be properly taken cared of. Software security is an aspect of software quality assurance.  Security concerns must be considered at the beginning…