WikiturbineMain Page | About | Help | FAQ | Special pages | Log in

Printable version | Disclaimers | Privacy policy

Seti:ServersModel

From Wikiturbine

TIER 2 MODEL

Contents

[edit] Description

This module is for reporting up-to-date status of the servers contained within the IRC network.

[edit] Abstract Model

This section is designed for planning model functionality. The code implementation of this abstraction is listed in the CakePHP portion of this page.

[edit] Variables

Variables should have type, name and short description.
Example: string name - object's name

[edit] Methods

Actions we would like to perform with and on this model (this includes MVC's views and controllers together).

[edit] Views

Possible views we need to have the model be capable to support

[edit] CakePHP Implementation

[edit] Model

TBA

[edit] Controllers

TBA

[edit] Views

TBA

[edit] Notes

Obtaining status information

There are probably several methods about doing this.

  1. Have a cron job run a script which checks each server's status one by one (allowing for a 10-15 second timeout), and then record the resulting information in the database, along with a current timestamp. This can be implemented with a simple command line PHP script.
  2. Use a service already available to us (like trevorj's StatServ) to report the information. The only problem with this would be in the event that his server goes down.
    1. This seems to be the best method so far, and can easily be implemented with RSS feeds.
  3. Invent some crazy way of integrating this directly into CakePHP (who knows?)

Things to consider

Retrieved from "http://wiki.neoturbine.net/Seti:ServersModel"

This page has been accessed 76 times. This page was last modified 21:24, 25 April 2008. Content is available under GNU Free Documentation License 1.2.


Find

Browse
Main Page
Community portal
Current events
Recent changes
Random page
Help
Donations
Edit
Edit this page
Editing help
This page
Discuss this page
Post a comment
Printable version
Context
Page history
What links here
Related changes
My pages
Log in / create account
Special pages
New pages
File list
Statistics
Bug reports
More...