• Simple Realtime Notification System Using PHP, Node and Socket.io

    A simple Realtime Notification System using PHP, NodeJS and Socket.io. Requirements PHP Node Js It will be helpful if your application is on native php and want to implement Realtime Notification System using node and socket.io Directory Structure . +–_ajax +–insertNewMessage.php //For inserting new Message or Notification +–readNotification.php //For Marking the notification read +–_class +–Database.class.php […]

    Read More
  • A javascript class that allows us to register several different functions to execute a single common callback function

    The purpose of the class is to execute all the registered functions asynchronously and then, once all of them are finished, It should execute the defined callback function. (function() { function Batch(functions, completionHandler) { this._functions = functions; this._completionHandler = completionHandler; } Batch.prototype.execute = function execute() { var i; var functions = this._functions; var length = […]

    Read More