Resources mentioned in PHP Core Improvements
Here is the links and code that Ramesh Jangid shared in his talk ‘PHP Core Improvements‘ at PHPCamp 2024.
- Performance comparison PHP vs Node.js
- Heavy JsonEncode
- Heavy JsonDecode
- Buffered and Unbuffered queries
- No limit rows CSV export.
Code sample for Async principles of JavaScript
<html>
<head>
</head>
<body>
<div></div>
<script>
function loadDoc() {
// Create an XMLHttpRequest object
const xhttp = new XMLHttpRequest();
// Define a callback function
xhttp.onload = function() {
// Here you can use the Data
}
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
alert('AJAX Response');
}
};
// Send a request
xhttp.open("GET", "ajax_info.txt");
xhttp.send();
};
function test()
{
loadDoc();
alert('Hello world');
}
test();
</script>
</body>
</html>
RELATED NEWS
You Might Be Interested
September 25, 2024
1 min read
The third instalment of PHPCamp Online offered a comprehensive look into PHP sessions and the WordPress HTML API. Attendees learned about securing PHP sessions from attacks, exploring the WordPress HTML...
August 06, 2024
1 min read
The August edition of the PHPCamp online event was a hit! We had a great time hanging out with fellow PHP lovers from all over the country. Let’s...