PDA

View Full Version : Not sure what language (network real time list)


katalyst
11-11-2007, 06:14 PM
Hey coders, need some help here

Background:
network environment (xp machines) on same workgroup (about 6 pcs if it matters)
we get calls from stores stating they are going to be accessing a fire exit, so we log it on a notepad

The Goal:
what id like to do is have a web page (preferably) or a program that we can pull up and in real time so that we can all see what calls have been called in so we dont have to shout across the room to ask if so-and-so called.

not sure where to start or what language to code it in. id like to have it on a webpage or webapp that we can all pull up from our department website.
basically it will pull up a "Notepad" type application where it would update in real time anyone adds something to it. for example: PersonA types "Store 6 called and is going out hte door", it would show up in the app on PersonB's computer as well.

Can this be done? i know it might be hard because of the networking... basically an IM almost...

Rappa
11-11-2007, 06:38 PM
At first i was confused at what you were asking, but if all you want to do is have someone post to a page an have everyone else see it, or post something as well. Then don't you think thats similar to the way forums and commenting systems work? You can use any server side language, id try PHP because i think its the easiest. If i am understanding what you want done correctly, its not that difficult, probably just involve some trial and error, or if worst comes to worst download some script off the internet and customize it to your needs.

sage45
11-11-2007, 06:56 PM
Rappa is correct... When it comes down to it, what you are asking is not really that difficult...

Using ASP.NET (if you have a Microsoft Server) or PHP is really just depended upon what language you are more familiar with...

ASP.NET languages (VB.NET and C#)
PHP is it's own language

Whichever you choose would be the front-end (what is actually presented to the user)

As for the backend, you could use any number methods: SQL, MySQL, Oracle, etc...

-saige-

katalyst
11-11-2007, 07:51 PM
i think theres some confusion.
a forum type solution would involve "refreshing" constantly to see updates and things.

what i would like is for everyone to just be able to type in a "Notepad" type "application" or "textarea" on a webpage and have it appear on everyones "Notepad" or "textarea" as well (so it shows up in real time)

sage45
11-11-2007, 11:33 PM
The way you accomplish your task requires a refresh...

This can be programmed as a client refresh or a server-side refresh...

-saige-

katalyst
11-11-2007, 11:42 PM
ahh ok. that makes sense

is there a way i can do this with a "textarea" or inputbox on a webpage?

Inigoesdr
11-12-2007, 01:10 AM
Yes, using AJAX you can do that.