Link to home
Start Free TrialLog in
Avatar of Kronikle66
Kronikle66

asked on

How can I store values globally over the internet?

Sorry about the vague title, I really didn't know any other way to word it.  Here's the problem: Yesterday my dad asked me to make a website for his work.  They deal with gas transmission lines and the like.  He wanted a private website he and his co-workers could use at work that would keep track of what valve was opened or released.

What my dad wants:
He will draw up a picture of the pipe lines.  He wants to be able to goto this website and click on a specific area of the pipe and the entire area will light up, and on the side will be displayed information about the name and whether or not the valve is open or not.  He then wants a toggle on/off switch to be used to change the value of it.  

This is just going to be a representation or a map of the pipes to keep track of everything.  No actual valves will be turned on or off with this :)  And probably the most important part, he wants the values to remain the same whether you log onto the site from home or office, whether you turn on or off your computer, etc.  Someone at his work should be able to map out that a valve has been released, then anyone else who accesses the site should be able to see the current status.

Now for the hard part, the actual programming.  I really have no clue how this is done, being that I only really know html.  Would I have to learn something like java or php for this kind of work?  Any ideas or tips would be greatly appreciated.  I have no clue where to begin.

-Kronikle
Avatar of Andy
Andy
Flag of United Kingdom of Great Britain and Northern Ireland image

Ideally you would use a database to store the pipe area information and the on/off status of the pipe. Most hosts provide the MySQL database. If you are just using your ISP provided webspace get your dad to fork over for a proper hosting package. You will then be able to write some code into your webpage that will retrieve the on/off status and the info from the database and display it to anyone at any time. When you dad changes the on/off status or the information about that area of pipe the page would execute a small piece of code to update those fields in the database. You could protect this action by requesting a password to execute the changes. Personally I use PHP to do this sort of stuff because I found it really easy to pick up.
ASKER CERTIFIED SOLUTION
Avatar of skullnobrains
skullnobrains

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial