Anders TornbladAnders Tornblad

  • Services
  • Blog
  • Contact
  • Archives
  • Categories
Skip to main content

Archives

  • May 2024
  • January 2024
  • November 2023
  • June 2023
  • May 2023
  • April 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • June 2022
  • April 2022
  • December 2021
  • October 2021
  • July 2021
  • June 2021
  • April 2021
  • December 2019
  • September 2019
  • October 2018
  • June 2018
  • December 2017
  • March 2016
  • February 2016
  • December 2015
  • May 2015
  • April 2015
  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • April 2012
  • January 2012
  • December 2011
  • December 2010
  • December 2006
  • March 2006
  • December 1998
  • August 1998

Categories

  • Architecture
  • ASP
  • ASP.NET
  • C#
  • C++
  • CSS
  • Frontend
  • Git
  • Hello World
  • Java
  • JavaScript
  • NuGet
  • PHP
  • Productivity
  • Retrocomputing
  • SQL
  • Teaching
  • Windows
  • ZX Spectrum

Projects

  • Conphig
  • JS MOD player

Repositories

  • addtouch
  • artsy
  • conphig
  • csv
  • ut
  • js-mod-player
  • my-twitter-manager
  • enigmatic
  • mt-mvc
  • zx-spectrum-bitmap
  • 20 February 2016

    "Hello, World!" in C#

    A "Hello, World!" program in C# can be written with a static Main method of a class, and calling the WriteLine method of the static System.Console class to send the "Hello, World!" string to the standard output stream.

  • 19 February 2016

    "Hello, World!" in C++

    A "Hello, World!" program in C++ can be written with a main function and using the insertion operator << to send the "Hello, World!" string to the std::cout stream buffer.

  • 18 February 2016

    "Hello, World!" in C

    A "Hello, World!" program in C can be written by calling the puts function to send the "Hello, World!" string to the standard output stream.

  • 18 February 2016

    JavaScript countdown using localStorage

    Using localStorage, it's possible to implement a countdown clock in JavaScript that survives a reboot of the user's computer. However, it's not possible to know when the user clears their localStorage contents.

  • 17 February 2016

    Formatting a truncated float in JavaScript

    By combining multiplication, division, and Math.floor(), it is possible to truncate a floating point number to a chosen number of decimals in JavaScript. Here, I explain every step of the way, and show how it's done in a one-liner.

  • 20 December 2015

    The State of Frontend Web Development in 2015

    2015 saw major leaps in frontend web development, with the rise of ES6, React.js, Babel, Webpack, the end of Internet Explorer, and Flexbox.

  • 26 May 2015

    Reinventing a PHP MVC framework, part 4 of 4

    In this fourth part, I end up with a framework that is useable, although there is still a long way to go before it is practical. I explore URL rewriting in Apache and Microsoft IIS for creating much nicer URLs.

  • 8 May 2015

    Reinventing a PHP MVC framework, part 3 of 4

    In this article, I explore the class loading mechanism in PHP, and use it to automatically load the correct Controller class for my MVC implementation. This uses reflection, which is notoriously difficult to unit-test in PHP, so unfortunately I break TDD principles for now.

  • 2 May 2015

    Reinventing a PHP MVC framework, part 2 of 4

    Now I start working on the request and response mechanisms of my PHP MVC framework. Little by little, the framework grows in a test-driven way, and the things I haven't made yet are mocked for now.

  • 28 April 2015

    Reinventing a PHP MVC framework, part 1 of 4

    This is the first article in a series where I build a functioning "replica" of ASP.NET MVC in PHP 7. I go through the expected results, and start writing unit tests for the behavior I want to see in the MVC framework.

  • 21 May 2013

    First two parts Artsy published

    I'm remaking the second part of the iconic 1993 Amige demo Sanity by Arte.

  • 9 May 2013

    Phenomenal & Enigmatic, part 4 of 4

    I'm drawing 2D and 3D animations on a rotating 3D cube using JavaScript and Canvas. Inspired by the 1991 Amiga demo Enigma by Phenomena.

⇠ Page 5 Page 7 ⇢