• Scopes and Closures in JavaScript

    Scope Scope controls the visibility and lifetimes of variable and parameters. Most programing languages have block scope that is all variables defined in a block { … } are not visible from outside of the block. The good thing is variables defined in a block can be released when execution of the block finished but […]

    Read More
  • 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