Looking for a reliable partner to bring your project to the next level? Whether it’s development, design, security, or ongoing support—I’d love to chat and see how I can help.
As a PHP developer, I’ve seen firsthand how proper coding standards can transform a messy codebase into a thing of beauty. Tools to fix PHP coding standards have saved my bacon countless times over my 20-year career. Let me walk you through the essential tools that will clean up your code and make your development […]
INTRODUCTION This is not a tutorial, but more like sharing a nice geeky road-trip ;) I have a pretty good understanding of the Youtube Data API, as I have actively used it on portalZINE TV in the past, to upload videos and dynamically link them to my local post-types. For one of my latest customer […]
What Google Drive Sharing offers us! I am doing a Podcast on portalZINE.TV since last year and always host a backup of the MP3 episodes on Google Drive. The link that you create, when enabling file sharing on Google Drive, can not be used to actually embed it on your website. The link looks something […]
PAPA PARSE Papa Parse is a powerful, in-browser CSV parser for the big boys and girls :)If you do need easy CSV parsing and conversion back to CSV, take a look at it! // Parse CSV string var data = Papa.parse(csv); // Convert back to CSV var csv = Papa.unparse(data); // Parse local CSV file […]
Excel needs to know that you are using non-ASCII characters in your CSV or it will not display them correctly :) Add the BOM(Byte Order Mark) to the first line, notifying Excel that you are offering a UTF-8 encoded file. //headers header(‘Pragma: public’); header(‘Expires: 0’); header(‘Cache-Control: must-revalidate, post-check=0, pre-check=0’); header(‘Content-Description: File Transfer’); header(‘Content-Type: text/csv’); header(‘Content-Disposition: attachment; […]
Updated 25.03. : Some function names changed in the latest beta version. IN BETA ACF 5.8 Beta introduced an easy way to create your custom Gutenberg blocks. I am already using it heavily for a current project, to easily organize content and media assets. Really powerful, when combined with Timber as well, which has been the foundation of many […]
CodeCombat is a multiplayer programming game for learning how to code. The ultimate goal of CodeCombat is to bring more users into the field of computer programming by making the logic and syntax more accessible and enjoyable to learn. The end game is to educate a whole new generation of computer programmers that started their […]
Due to Google AMP (Accelerated Mobile Pages) , I have been looking for a way to effectively do Syntax Highlighting without Javascript in pure PHP. I was about to write my own, when I found an older article from phoboslab. Thanks Dominic for saving me some time ;) Its not perfect, but close enough. A simple Syntax Highlighting Class that does just that. […]
Again another Google AMP article, this time dealing with Syntax Highlighting. If you have a code centric website, this is important. In one of my last articles I talked about a Generic Syntax Highlighter. This time I want to show you, how to add Syntax Highlighting with GeSHi to a custom template in AMP-WP. FIRST SOME RESOURCES Please read up on […]
easily build out your own REST API or use the long available HTTP REST API 1.0+ for WordPress. But with the new HTTP REST API 2.0+ its getting really easy to build out your own REST API Namespace and assign routes for all your JSON needs. The new REST API will make its appearance in WordPress 4.4, but […]
PORTALZINE® NMN
Alexander Gräf
Stettiner Str. Nord 20
DE-49624 Löningen