Pages about Learning
Don't forget to call your dad too
In Android development, there is a powerful feature called "flavors", that lets you create different variants of your app with very little effort. You can with little to no code change texts, images, feature flags, and even behavior of your app, based on its flavor. You can use this for creating series of similar apps, or for making ad-supported and paid apps in the same code base.
Don't forget to give the user a choice
Here I talk about how to read from Android's contact register using a contact picker, how to use some other standard widgets, and a bit about how you can get time and date input from the user. There is a lot of talk about how Intents are connected together, and how scheduled events can be stored.
Don't forget to build that app
This article describes the initial work needed to build the first useful version of the Call Mom and Call dad apps, including some thoughts about Java 7 and Java 8. I talk shortly about AndroidX and JetPack, how to achieve Android version compatibility, doing persistent storage and notifications in a new app.
Don't forget to call your mom
In this article, I describe why I started developing two apps called Call Mom and Call Dad. I also talk about what features those apps should have, and how I started to work on their implementation.
Content Warning: Death of a loved one
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.
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.
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.
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.