Categoria: WebDev

How to use navigator.sendBeacon with PHP 7

Recently I needed to send a request on the unload of a page (save where the user left), and regular POST requests via js aren’t a very good option, due to either hanging the browser

GULP 4 + Browser-Sync + gulp-connect-php

Simple gulpfile.js for local PHP server development with autoreload. Posting it here since I couldn’t find a ready solution for Gulp 4, feel free to ask any questions. Photo by Kobu Agency on Unsplash

PHP Blade beautifier

I couldn’t find a proper one online, but https://ctrlq.org/beautifier/ solves the problem. It considers the PHP part as text, not counting in the indentation, which has the result of outputting HTML with the proper indentation,

rede de backlinks

A importância do contexto nos links para SEO

Todo mundo sabe que o Google ta cada dia mais esperto. Uma tempestade de backlinks ainda funciona, mas vai funcionar muito melhor com um contexto que faça sentido (na falta do almejado link orgânico). O

pt_BRPortuguese
en_USEnglish pt_BRPortuguese