Simple Realtime Notification System Using PHP, Node and Socket.io
Programming #NodeJS

A simple Realtime Notification System using PHP, NodeJS and Socket.io.

Requirements

  1. PHP
  2. 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 // Database connection
   +--HelperClass.php //Helper class 
   +--install.php //for installing the table 
+--_css ( Required all Css Files )
+--_js
   +--_node_modules( Containing all node module files )
   +--bootstrap.min.js
   +--jquery.min.js 
   +--nodeClient.js //Handling all client side request and actions
   +--nodeServer.js //Noder server which handles realtime socket 
   +--pnotify.min.js //for desktop and custom notifications
+index.php //Home page

Instructions

Download the zip and follow the instructions mentioned in the README.md file.

Download Zip

less than a minute read 2nd May 2016

About

A entrepreneur, running an early stage venture, VizitDoc and a MVP-First Service Based Companay ThecodeWork.

A dreamer, having care for alternative education.

Archives - 1

  • Code

    20 Articles

    List of code snippet and articles I wrote when I started blogging in early 2016 😃