watchdog is a python package uses to notify linux kernel subsystem to watch for any changes to the filesystem. This is very handy package Lets create a watcher using watchdog and save information to DB when any event occur. 1. Firstly I will write watcher class which look like import time import psycopg2 from watchdog.observers import Observer from watchdog.events import FileSystemEventHandler class Watcher: DIRECTORY_TO_WATCH =...
Read More
Problem scenario: You want to create a secure soap server with nusoap library. In the nusoap library there is no better way to make authentication Efficient solved scenario: There is 2 way to make authentication 1. You may create a custom function which works for authentication and you need to pass username and password in every call 2. You...
Problem scenario: Suppose you have a ecommerce site where customer can put an order. Then site will be notify you via sms or any device when new order found Efficient Solved scenario: You have to build a socket sever which check the new order and response you, then you will collect the new order from your e-commerce site Prerequisites PHP...
in wordpress you can create your widget in a simple manner, the process is so simple given below the widget plugins name is “widget-test”. you can modified that as your need /* Plugin Name: widget-test */ ##never forget this function configuration ##never forget add $before_widget,$before_title, $after_title and $after_widget ##...

