Database

Reset postgres sql auto increment key

Sometimes after you have imported data in to postgres sql database you might find the new inserts are failing as the generated unique sequence keys are conflicting with existing records. You could fix this by setting the new sequence value to the next values by checking the highest number already exists in records. Please run […]

Codeigniter

Removing index.php from CodeIgniter URLs

If you have developed CodeIgniter application and want to remove the index.php file from the application generated URLs, you can follow this simple steps. As a first step you need to go to the config file and remove the index.php. If you have deployed the website to apache web server please make sure the mod_rewrite […]

CSS

Which CSS framework to choose in 2022?

I have started using Bootstrap framework so many years back for styling my websites and apps. It really helped me to easily style things same way across the browsers as there were more differences how each browsers handled the styles. We had to use lot of browser specific markups. But things have changed a lot […]

Low Code PHP

Creating a CodeIgniter website using website generator

There are many website generators but most of them provided as SaaS. So you will not be able to download the generated website but the code is hosted in the provider side. So you have to keep paying monthly payment as long as you are running your website. Also the customizations are very limited as […]

Javascript React JS

React JS Tags component

I was looking for some light weight Tags component found Tagify to be interesting. But then figured out it got many features which I will not use. So I wanted to create something very minimalist. I found athe following article to follow as I wanted save time while creating this. https://jerrylowm.medium.com/build-a-tags-input-react-component-from-scratch-1524f02acb9a But that article was […]

Javascript React JS

Implement form builder with React JS Drag and Drop (DnD)

I am working on a form builder which is part of my CodeIgniter 4 website builder going to be available at https://thephpcode.com. The current website builder uses old UI and generates website in CodeIgniter 3. While doing that I had many challenges as I was using the React DnD for the first time. Here I […]

Javascript React JS

Avoiding form fields loosing focus issues when using redux

I am working on revamping my dynamic website generator thephpcode.com. Last time when I implemented 10 years ago, I choose KnockoutJS for binding data model to the UI as there were not many options at the time. But this time planned to migrate to React JS. I still loves the KnockoutJS for its minimal library […]

Back To Top