1256 1281 1317 1362 1403 1986 1354 1848 1930 1620 1653 1516 1599 1391 1594 1095 1472 1846 1639 1471 1396 1302 1957 1968 1471 1831 1929 1797 1486 1450 1523 1712 1480 1777 1834 1359 1851 1405 1655 1738 1240 1106 1380 1084 1188 1613 1379 1157 1627 1532 1242 1624 1734 1733 1146 1878 1794 1118 1496 1188 1801 1699 1715 1324 1055 1426 1383 1356 1202 1164 1386 1559 1196 1689 1424 1122 1960 1517 1759 1826 1184 1370 1462 1425 1739 1878 1993 1130 1216 1451 1215 1387 1369 1705 1155 1920 1771 1343 1830 PHPnews.io | The amazing payoff goes here

PHPnews.io

Overview for 'evertpot'

On syntactic sugar

Written by Evert Pot / Original link on Aug. 13, 2022

Ever so often the term ‘syntactic sugar’ comes when people discuss language features, and it’s not uncommon to see the word ‘just’ right in front of it; some examples: Why Async/Await Is More Than Just Syntactic Sugar JS classes are not “just syntactic sugar” The ‘just’ has a lot of meaning here.…


A new OAuth2 client for Javascript

Written by Evert Pot / Original link on Jun. 20, 2022

Frustrated with the lack of well maintained, minimal OAuth2 libraries, I wrote my own. This new OAuth2 library is only 3KB gzipped, mainly because it has 0 dependencies and relies on modern APIs like fetch() and Web Crypto which are built in Node 18 (but it works with Polyfills on Node 14 and 16).…



Log4j, Faker and Black Swan Events

Written by Evert Pot / Original link on Mar. 4, 2022

In December log4j, a library that’s used by a massive amount of projects had a major vulnerability, and in January the author of ‘Faker’ and ‘Color’ went nuclear, released a intentionally buggy version that broke a lot of projects (temporarily). A lot has been said about both of these, but I wanted…


Request bodies in GET requests

Written by Evert Pot / Original link on Jan. 29, 2022

12 years ago I asked on Stack Overflow: Are HTTP GET requests allowed to have request bodies?. This got a 2626 upvotes and a whopping 1.6 million views, so clearly it’s something lots of people are still curious about, and in some cases disagree with the accepted answer. Because it keeps popping up…


Hello 2022!

Written by Evert Pot / Original link on Jan. 6, 2022

Yesterday I received an email from a reader asking ‘Are you ok?’. It’s been nearly 8 months since the last time I wrote here. In that last post I celebrated blogging on this website for 15 years with some consistency, so perhaps it’s a bit ironic for that to be immediately followed by complete sile…