Describe the basic ajax technology from both client side and server side with useful examples