Skip to content
Mikux

A blog of my programming experience

Category: Programming

The type system of PHP is no longer fit for modern web programming

Posted on 2024-05-012024-05-01

PHP, like Javascript, started as a scripting language for the web, with PHP for server side and Javascript for client side. They were initially designed to add simple, dynamic elements into static web pages in an era when processing power was just…

Posted in Programming Leave a Comment on The type system of PHP is no longer fit for modern web programming

Using civicrm/composer-compile-plugin to compile JavaScript in a PHP library

Posted on 2023-11-192023-11-19

I have a PHP component, miklcct/journey_recorder, which can be used either as a standalone website or as part of another site. It started initially as a pure PHP component which does all work server-side and outputs HTML to the browser, but over…

Posted in Programming Tagged javascript, php Leave a Comment on Using civicrm/composer-compile-plugin to compile JavaScript in a PHP library

New version of journey recorder for offline input released

Posted on 2023-09-212023-09-21

I have made a journey recorder which I use to record my public transport journeys on the go. However, a significant portion of my journeys are in places without internet access, such as the Underground, which make me difficult to use it…

Posted in Applications, Programming Tagged html, javascript Leave a Comment on New version of journey recorder for offline input released

GBTT.uk – National Rail timetable website

Posted on 2022-11-16

I have published my first version of National Rail timetable website at GBTT.uk. It is probably the first site on the market which can show updated train timetables in traditional format, as an alternative to printed PDF timetables from Network Rail and…

Posted in Applications, Programming Tagged time, transport Leave a Comment on GBTT.uk – National Rail timetable website

Journey recorder released to public

Posted on 2022-03-032022-11-16

The journey recorder on my website, which I have used for a few years to record my public transport journeys, has been split into a separate application which can be installed on any PHP web server, or integrated as part of any…

Posted in Applications, Programming Tagged php, transport Leave a Comment on Journey recorder released to public

Confusion between the term “reference” and “pointer”

Posted on 2020-04-28

A few years ago, I wrote an article saying that Java has pointers. However, by typing Java pointer into Google, there are a lot of Stack Exchange questions shown on the top, some says Java does not have pointers, some says Java…

Posted in Programming Leave a Comment on Confusion between the term “reference” and “pointer”

Personal blog was cracked today

Posted on 2020-04-122024-03-15

Today when I tried to open one of my websites https://longswims.net/ in order to update its contents, it stopped working throwing HTTP 500. I immediately signed in the web server and found out that the .php file was injected unknown code. I…

Posted in Network, Programming, Security 1 Comment on Personal blog was cracked today

Type-safe callables in PHP by interfaces with __invoke()

Posted on 2018-11-152018-12-28

The type system in PHP has become safer each version since PHP 7.0, by using a strict type declaration on top of the PHP file. As a newly-developed feature, it doesn’t come with the billion-dollar mistake of allowing NULL for variables declared…

Posted in Programming Tagged php Leave a Comment on Type-safe callables in PHP by interfaces with __invoke()

static in depth

Posted on 2017-04-012017-04-01

After my previous post about static members in various programming language, I decide to write a post about the word static in depth. static is a key word in multiple programming languages, with multiple distinct but related meanings. The history The static…

Posted in Programming Tagged static Leave a Comment on static in depth

static in PHP

Posted on 2017-02-102017-04-01

static keyword is used to represent class members, i.e. members which are shared among the class, as opposed of instance members which is unique to an object instance, in many programming languages, including PHP. However, the static functionality in PHP is much…

Posted in Programming Tagged static Leave a Comment on static in PHP

Categories

  • Applications
  • Network
  • OSes
  • Programming
  • Security
  • Uncategorized

Archives

  • September 2024 (1)
  • May 2024 (1)
  • March 2024 (1)
  • November 2023 (1)
  • September 2023 (1)
  • November 2022 (1)
  • May 2022 (1)
  • April 2022 (1)
  • March 2022 (1)
  • November 2021 (1)
  • April 2021 (1)
  • April 2020 (2)
  • February 2020 (1)
  • March 2019 (1)
  • November 2018 (1)
  • April 2018 (1)
  • April 2017 (1)
  • February 2017 (1)
  • December 2016 (1)
  • April 2016 (1)
  • August 2015 (1)
  • February 2015 (1)
  • November 2014 (1)
  • November 2013 (1)
  • October 2013 (1)
  • July 2013 (1)
  • December 2012 (1)
  • December 2011 (1)
  • November 2011 (1)
  • September 2011 (1)
  • November 2010 (1)
  • October 2010 (1)
  • June 2010 (1)
  • April 2010 (1)
  • March 2010 (1)
  • February 2010 (3)
  • January 2010 (3)
  • December 2009 (1)

Blogroll

  • Development Blog
  • Documentation
  • MÄ«Kl
  • Plugins
  • Suggest Ideas
  • Support Forum
  • Themes
  • WordPress Planet

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
All rights reserved © Mikux Theme by Seos Themes