Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
Javascript/HTML example, dynamic server monitor

There are times I want to keep an eye on our servers, but I don't really want to redraw my whole browser window (or even a frame!) to do it. So I've written a Javascript application to run in my browser (source code here) that calls up a tiny piece of PHP on the server (source code here) and replaces just the changing part of the page every 10 seconds.

Ajax to monitor servers This is a screen capture of the changing part of the display - which has been kept small to make it very smooth indeed, and as the page is primarily for staff use there's no need to provide long descriptions within the table. You can try it out here, and I have added some static examples and descriptions to help you along if you're looking to do something similar.

If you would like to do something like this yourself, but aren't sure of the PHP - have a look at our PHP course. If you're happy with PHP basics, but aren't sure of how to apply techniques in examples like this, our PHP Techniques Workshop can help. If you need to learn Javascript - please email me and I'm sure I can help ;-) by providing some training for you.

(written 2008-09-28)

 
Associated topics are indexed under
H307 - PHP - Web2 and caching
  [3458] On this day ... one PHP script with three uses - (2011-09-26)
  [3186] How to add a customised twitter feed to your site - (2011-02-27)
  [3094] Setting your user_agent in PHP - telling back servers who you are - (2010-12-18)
  [3029] PHP data sources - other web servers, large data flows, and the client (browser) - (2010-11-04)
  [2545] Scraping content for your own page via PHP - (2009-12-21)
  [2321] Uploading and Downloading files - changing names (Perl and PHP) - (2009-08-04)
  [2196] New Example - cacheing results in PHP for faster loading - (2009-05-24)
  [1995] Automated server heartbeat and health check - (2009-01-16)
  [1926] Flash (client) to PHP (server) - example - (2008-12-06)
  [1813] Ajax - going Asyncronous and what it means - (2008-09-28)
  [1812] Starting Ajax - easy example of browser calling up server data - (2008-09-27)
  [1733] memcached - overview, installation, example of use in PHP - (2008-08-02)
  [1647] Exchange Rates - PHP with your prices in your users currency - (2008-05-19)
  [1633] Changing a screen saver from a web page (PHP, Perl, OSX) - (2008-05-06)

W510 - Web and Intranet - Executable Content
  [2628] An example of an injection attack using Javascript - (2010-02-08)

W602 - Web and Intranet - Client Side Technologies
  [3128] How does your browser find out about itself? - (2011-01-11)
  [2390] Dynamic / changing images on your web page - (2009-09-01)
  [1749] Using server side and client side programming together - (2008-08-11)
  [1681] Adding a button to a web page to print the page - (2008-06-18)
  [1322] Flash - is it available to your web page? - (2007-08-26)
  [522] Javascript events - a good example - (2005-12-09)
  [411] Javascript examples (some PHP and MySQL too) - (2005-08-13)


Back to
Ajax - going Asyncronous and what it means
Previous and next
or
Horse's mouth home
Forward to
Hotel Guest Surveys
Some other Articles
Icelandic Badge
Marc Schneider is still having email trouble
Holt on holt
Hotel Guest Surveys
Javascript/HTML example, dynamic server monitor
Alternative URLs using % symbol encoding
Middle aged subsidise young and old
Coming home tonight
3603 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2012: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 899360 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/mouth/1814_Jav ... nitor.html • PAGE BUILT: Fri Feb 3 14:16:04 2012 • BUILD SYSTEM: wizard