TQ
dev.com

Blog about software development

Subscribe

Handling GeoJSON tiles in Leaflet

20 Jul 2019 - by 'Maurits van der Schee'

Leaflet is world's most popular open-source JavaScript "Tiled web map" library offering Google maps like functionality on your own (or public) data. In the past weeks I have implemented a GeoJSON vector tile plugin for Leaflet...

Continue reading...

Lossless compression of PHP files

19 Jul 2019 - by 'Maurits van der Schee'

How small can a PHP file get? I was wondering this, while building PHP-CRUD-API, a full-featured API in a single PHP file. PHP has a really nice feature called 'halt_compiler', which allows you to have gzip contents in your PHP file. In the code below...

Continue reading...

Open source software pyramid

11 Jun 2019 - by 'Maurits van der Schee'

For us (professional software developers) there are open source libraries and tools that cover most of what we are doing. Even in commercial projects we can often leverage these as their licenses are often permissive towards commercial use...

Continue reading...

PHP-CRUD-API gets GeoJSON support

04 Jun 2019 - by 'Maurits van der Schee'

PHP-CRUD-API is an automatic API script: Upload a single PHP file and get an instant REST API to your PostgreSQL, MySQL/MariaDB or SQL Server database. Currently support for GeoJSON FeatureCollection views on tables has been added...

Continue reading...

Celebrating 3 years TQdev

09 May 2019 - by 'Maurits van der Schee'

Today I am celebrating the 3 years that the TQdev.com blog exists. In this period I have written 125 blog posts on various software development related topics. Best visited post was the "The "Boring Software" manifesto" with more than 33 thousand visitors...

Continue reading...

PHP templating engine from scratch

01 May 2019 - by 'Maurits van der Schee'

In a previous post I have introduced PHP templating in 165 lines of code with no dependencies. I have added several features since it's initial release and the line count has roughly doubled. This post gives you an overview of the added functionality...

Continue reading...

Split while respecting quotes in PHP

27 Apr 2019 - by 'Maurits van der Schee'

The PHP 'explode' function splits a string into an array based on a separator character (or separator string). This is not enough to build a parser for a template language on as most languages allow strings to contain any character...

Continue reading...

Automatic REST API for Laravel

22 Apr 2019 - by 'Maurits van der Schee'

This is the third post in a blog series on how to integrate PHP-CRUD-API (a single PHP file that adds a REST API to your database) into popular PHP web frameworks. In this post we integrate PHP-CRUD-API with Laravel...

Continue reading...

Automatic REST API for Symfony 4

21 Apr 2019 - by 'Maurits van der Schee'

I'm writing a series of blog posts on how to integrate PHP-CRUD-API (a single PHP file that adds a REST API to your database) into popular PHP web frameworks. In this post we integrate the PHP-CRUD-API (2k stars) with the Symfony framework...

Continue reading...

Automatic REST API for SlimPHP

20 Apr 2019 - by 'Maurits van der Schee'

Today, about 4 years after the initial commit, the promise of "upload a single PHP file to add a REST API to your database" is still very much alive. It is now possible to use PHP-CRUD-API (2k stars) as a library executed on an endpoint in the SlimPHP framework...

Continue reading...