Writings
I share what I have learnt and provide information around technologies I use and I'm involved with.
- Supabase JavaScript library is not a ORM or a query builder, it's a RESTful API URL constructor supabase-js constructs a restful API url for the server to make request to resources you are requesting.
- First things I do when setting up a Supabase project
- Integrating Supabase Storage with Payload CMS Using S3 Compatibility
- Performing full text search with the Supabase Python library Doing full text search with Supabase inside of your Python project
- Your database is the source of truth Your database is the source of truth and not your schema migrations
- Writing more, procrastinate less Write more, spend less time procrastinating
- Using PowerShell to remove a directory and its content PowerShell is a wonderful piece of software once you start to learn the correct commands.
- How to use dotenv with Svelte 3 Separate your environment configuration by using dotenv, these can save you the hassle of having a configration object store inside of your project repository.
- Creating a reusable component with Svelte 3 Svelte 3 has a small API surface and allows you to create components as simple as you want. You can also create complex components with a bit more effort. Reusable components is one of the goal's of all major frontend framework and Svelte is no stranger to this. When I talk about reusable components I mean components that you can define what action it should take and how it looks.
- Props vs event dispatcher with Svelte 3 Depending on what other component libraries you've used, you may be used to handling events by passing callback functions to component properties, or using a special event syntax – Svelte supports both, though one is usually more appropriate than the other depending on your situation. This post explains both ways.
- Multiple zsh configs in iTerm Having multiple zsh configs are useful when you need a different profile for work and home or in my case, for screen recording.
- Switching from Dropbox to OneDrive The process of switching from one cloud storage provider to another.
- Writing Process The steps I take when writing a post for my blog.
- How to bulk delete Firebase authentication users Deleting multiple users from the Firebase authentication system.
- Protecting routes using Regex in Amber Framework How to protect your complex routes using regex in the Amber Framework.
- Rendering a different template with a Controller in Amber An explaination of how template rendering works in the Amber Framework.
- How to use Google Analytics with Sapper Adding Google Analytics to any website should be pretty straight forward once you have the code snippet that Google provides you with. But when you want to dynamically populate the actual tracking id it gets a bit harder, especially when using a Universal Javascript framework.
- Dynamic import in Sapper There are times that you will need to use a library that is purely client side in Sapper and some of these libraries make use of client side properties that are not available on the server. i.e. document
- Creating a Twitter tweet box with Svelte Today I want to go about creating a Twitter tweet box with Svelte. But before I start on this, I want to just point out some of the features that the official Twitter tweet box provides.
- How to do web scraping with Cheerio This past weekend (13 August 2017) I started on a quest to get some data from a cinema website here in Accra, Ghana. I thought this would have been easy, since the data is available publicly. I immediately opened the Chrome web inspector to see some markup like I have not seen in years.
- Getting started with Svelte Svelte is not a framework like the other conventional Javascript frameworks. Svelte is an Ahead Of Time (AOT) compiler, so in the end the code that get shipped is just plain old Javascript with minimal runtime overhead.
- Refactoring to a service in Trails Since I started working with Trails, I have come to like its approach to a lot of things. I feel its what I have always been looking for in a Node web framework.
- Social Auth with Trails using hapi and bell This is my first time using Trails and I decided to follow to the guides. However as I continued I wanted to test it out on my own ideas.
- Passing Static Attributes Down With RactiveJS I really like RactiveJS and how the inner workings work most of the time. I recently ran into an situation where I needed a component to behave a particular way and this was a challenge at first but with the help of Rich Harris (creator of RactiveJS) I was able to find a solution.
- List of Slim 3 middlewares Recently folks have been asking about what middlewares are available for Slim 3. Although Slim 3 is still in RC stage, there have been a number of developers who have decided to create middlewares already.
- Lazy loading your controller action In many popular frameworks these days you can lazy load your actions in order to not invoke every action unless it is the one matched that should be dispatched.
- Why is Slim 3 not so slim anymore There is a common misconception that Slim 3 has plenty of files and is no longer slim. Slim 3 does indeed contain more files than Slim 2 and this has been the result of being more flexible and moving away from the Not Invented Here (NIH) philosophy.
- Aura Di service aliasing I have been working on a legacy application and wanted to remove the old process of how it lookup its services from file name and database entry to using a service locator container instead.
- Slim PHP 101 - Using Laravel config package Over the past few years Laravel have become a popular full stack PHP framework and with its latest version (L4) the framework have been componentized.
- Slim PHP 101 - How to use multiple view parsers In this post we will go through setting up Slim to work with multiple view parsers, for this example we will look at using Slim's PHP view library and the Twig view library.
- Why no promise AngularJS 1.2.0+ In the latest version of AngularJS (1.2.0+) there seem to have been a change which will probably break most app which have in the past relied on the view unwrapping the promise object and showing the results directly in the view.
- Using Schema Builder with CLI Migrations The PHP Framework market landscape has changed recently with the anticipation of Laravel 4, the most expressive PHP Framework to have come out of the techworks.
- More is coming for MODX Over the past few months some interesting development have been happening in the MODX community.
- Yet Another CMS/F Thingy called MODX Some of you might have seen my many rants on Twitter about the state of MODX, I have grown weary and have now decided to fork it.
- Build Awesome This article is not about building the next rad web app, if you are after that then you might want to go check out some of Drew Wilson's work, otherwise continue reading.