Quantcast
Channel: Must Be Built
Browsing latest articles
Browse All 15 View Live

Strictly Javascript

There comes a time with a large Javascript project where having the code behave more like a 'usual' programming language becomes useful.  This is where 'strict mode' comes in. Javascript is very...

View Article


Creating Files with PHP via fopen(), fwrite(), fclose() and copy()

On a recent project I was getting some pages that were causing PHP to run slow.  Essentially the PHP was looping through various tables in the MySQL table to build a rather complex 'Mega Menu'...

View Article


Adding Form Fields Dynamically with Knockout.js

A couple of years ago I did a post entitled Adding Form Fields Dynamically with jQuery.  In this post I am going to re-visit the same problem but this time use Knockout.js to create the dynamic form...

View Article

Validating Radio Buttons Using Javascript (jQuery)

In online surveys you may want users to have to answer a radio button style question. You can set a default value with checked as follows: However, you have to make a decision what the default with be...

View Article

Recursive Javascript Functions

Just posted a codepen if anyone looking at Recursive Javascript functions.  The scenario here could I am sure be tackled other ways but I wanted to do it with a recursive function. Given an array of...

View Article


Limit The Number of Checkboxes 'checked' with jQuery

Quick code snippet. Assume you have: Then you could use the following jQuery:

View Article

Time for Flexbox? Some Simple Examples to Convince You

It looks like the time has come to dive into Flexbox.  This layout technology has been lurking on the fringes of CSS for a while now but with sites like the BBC and with frameworks like Bootstrap 4...

View Article

Flexbox Technicals - Part One

The concept of 'flexible box' or flexbox is name of the CSS3 flex layout model. Flexbox is based around flex containers and flex items. A flex container is a parent element to flex items.  Flex items...

View Article


Flexbox Technicals - Part Two

Before reading the following ensure you are happy with the flexbox concepts of main axis and cross axis discussed in my previous post. Justification on the main axis The CSS property justify-content is...

View Article


One Hell of a Week

Posted in capacity as Module Leader Group Software Development, Department of Computing Sheffield Hallam University A Morgue One hundred students, 10 clients, 5 labs of University PCs, overzealous...

View Article
Browsing latest articles
Browse All 15 View Live