Skip to content
ict-man logo
ict-man.me

Adventures in Technology

 Menu
  • Home
  • C# Library
  • About Me
  • Home
  • C# Library
  • About Me

Category: Coding

Coding

Screenshot of CCS Editor in a WordPress Widget
  • Coding

CodeMirror in a WordPress Widget – Update

  • David
  • 16 Aug 202116 Aug 2021

In January I blogged how to create a WordPress widget that uses CodeMirror for editing CSS.  Last month WordPress 5.8 was released.  This changed the way traditional/existing widgets are rendered to enable them to co-exist with the new Guttenberg Widget Block editor. The fully amended blog can be found here.

C# Logo
  • Coding

C# Nulls – Part 3 – Null Coalescing and Conditional

  • David
  • 8 Mar 20218 Mar 2021

In Part 2 we covered the enabling C#’s nullable option to subtly change how we handle reference types.  Once enabled reference types are by default no longer [expected] to be nullable.  In this final part of the series, I will be covering the use of the Nullable Reference Type, Null-Conditional and Null-Coalescing operators that we briefly introduced in Part 1….

C# Logo
  • Coding

C# Nulls – Part 2 – Nullable Reference Types

  • David
  • 21 Feb 202121 Feb 2021

What Are Nullable Reference Types? In Part 1 I dove into various improvements with the C# language in relation to null handling and new operators. In this part, I am going to discuss Nullable Reference Types. The direction in how C# has evolved has provided better tools and constructs to assist with the creation of safer code.  In my view,…

C# Logo
  • Coding

C# Null; Nullable; Null Operators; Null-Coalescing – Part 1

  • David
  • 7 Feb 202121 Feb 2021

The C# language has developed to include a better toolset and compiler warnings. Thus, assisting development in producing null-safer code with a more robust approach.

Screenshot of CCS Editor in a WordPress Widget
  • Coding

Using CodeMirror CSS Editor in a WordPress Widget

  • David
  • 24 Jan 202116 Aug 2021

WordPress uses CodeMirror for the CSS editor within its Customiser. CodeMirror provides support for syntax highlighting, linting, and code competition. Would it not be great to be able to use that in your own Widget? >>> This article has been updated following the release of WordPress 5.8. WordPress 5.8 introduced the block editor to widget areas. Traditional widgets were still…

Posts navigation

1 2

Recent Posts

Screenshot of CCS Editor in a WordPress WidgetC# LogoC# LogoC# LogoScreenshot of CCS Editor in a WordPress WidgetBlue whale Docker logoHowards Camera Eye from Infinity ChamberWordPress W LogoPHP 8 Logo
Screenshot of CCS Editor in a WordPress Widget
CodeMirror in a WordPress Widget – Update
In January I blogged how to create a WordPress widget that uses CodeMirror for editing CSS.  Last month WordPress 5.8 was released.  This changed the way traditional/existing widgets are rendered...
Unit Testing Private Methods
Should we be unit testing private methods? Good practice says no. Are there reasons why having this ability in our toolbox is desirable?
C# Logo
C# Nulls – Part 3 – Null Coalescing and Conditional
In Part 2 we covered the enabling C#’s nullable option to subtly change how we handle reference types.  Once enabled reference types are by default no longer [expected] to be...
C# Logo
C# Nulls – Part 2 – Nullable Reference Types
What Are Nullable Reference Types? In Part 1 I dove into various improvements with the C# language in relation to null handling and new operators. In this part, I am...
C# Logo
C# Null; Nullable; Null Operators; Null-Coalescing – Part 1
The C# language has developed to include a better toolset and compiler warnings. Thus, assisting development in producing null-safer code with a more robust approach.
Screenshot of CCS Editor in a WordPress Widget
Using CodeMirror CSS Editor in a WordPress Widget
WordPress uses CodeMirror for the CSS editor within its Customiser. CodeMirror provides support for syntax highlighting, linting, and code competition. Would it not be great to be able to use...
Blue whale Docker logo
Windows Docker Container with PHP, Apache and MariaDB
The new year saw me refreshing one of my popular development stacks. My main system is Windows 10 (2004) and for some project work, I use Docker to enable the...
Howards Camera Eye from Infinity Chamber
Infinity Chamber – Film
Infinity Chamber is an excellent independent Sci-Fi film in the great dystopian traditional of man versus machine.  In this case, it is a take on AI where the main protagonist,...
WordPress W Logo
The Impressive Success of WordPress
Did you know that WordPress is said to be powering over a third of the web? WordPress’ domain (pun intended) over how content is managed, organised and displayed to web...
PHP 8 Logo
Named Arguments and Union Types in PHP 8.0
I am itching to get my hands dirty on PHP 8.0 that was released last week.  Unfortunately, I cannot make the big jump immediately but there are some language improvements...
David at Whitby Brewery

Hi, I’m David Pullin, a professional software developer with a love of coding and crafting ICT solutions...more...

© ict-man.me 2020

  • Cookie Policy

Masonry Blog, WordPress theme by Perfectwpthemes