Pages
(Move to ...)
Home
Java
Android
Php
Cake PHP
jQuery
Grails
All Pages
▼
Saturday, April 21, 2018
Grails on Groovy > @Transactional does not rollback on checked exceptions
›
We’re using the Spring Framework in most of our grails applications to manage database transaction. One of the big advantages is ...
Friday, April 20, 2018
Extending from Laravel 5 core - SqlServerConnection | Extending The Connection Class In Laravel
›
The first thing the ConnectionFactory::createConnection() method does is to check if the db.connection.{$driver} alias is bound, and...
2 comments:
Thursday, April 19, 2018
How to get current time in milliseconds in PHP | Converting microtime() to milliseconds/seconds
›
The short answer is $milliseconds = round(microtime(true) * 1000); Use microtime(). This function returns a string separate...
Wednesday, April 11, 2018
Using PHP's glob() function to find files in a directory | Filter files in directory | Regex filter files in directory
›
The examples below look at a directory with the following, the same example directory as used in the read through directory post ...
Can a PHP script execute common code before exit() | register_shutdown_function | PHP execute a piece of code before process terminated by exit() or die() method
›
Registers a callback to be executed after script execution finishes or exit() is called. Multiple calls to register_shutdown_fun...
1 comment:
Friday, April 6, 2018
How to Make Async Requests in PHP | Methods for synchronous processes in PHP | Making synchronous function call in PHP | Make sure same function will not execute parallel
›
<?php function executeSync ( $key , $closure ) { $sem = getSemGetCustom( $key ); if (getSemAcquireCustom( $sem )) { ...
Friday, March 30, 2018
jquery select first x number of elements | Selecting the first “n” items with jQuery
›
Quick jQuery snippet to select first x number of elements. You can also use the jQuery .slice() function which can chop up element gro...
‹
›
Home
View web version