Web Framework Advice

Status
Not open for further replies.

The_Lynx

Smack-Fu Master, in training
50
Subscriptor++
I am a long time lurker and infrequent poster but I am looking for advice.

I have been tasked with making an in-house web application to monitor the status of a number of network attached devices. The function of the application is to email certain members of staff if a device sends a notification or a device looses connectivity.

The service needs an admin interface to add devices, manage device groups and change who gets emailed e.t.c. This interface should also have a status area where non admin users can look at the current status of their devices and their devices history.
At the moment most of the work seems to be with the admin interface. I have had a brief look at various web frameworks which seem to be focused at delivering content (blog posts articles e.t.c) and don't seem to be a great fit for the problem.

Does anyone have any advice for what I should use or do I have to code it all from scratch?

Thanks
 

DebtAngel

Ars Scholae Palatinae
1,027
Not sure why you wouldn't just buy a solution, as this is a solved problem, but I'm guessing that decision was made above your pay grade.

What sort of server will the monitoring be run from, and what development tools do you have available to you? We're pretty .NET/Microsoft-centric where I work, so we'd probably use ASP.NET with MVC for the admin portal, a Windows Service (also written in .NET) to do the actual monitoring, and an SQL database in the middle.
 

The_Lynx

Smack-Fu Master, in training
50
Subscriptor++
The devices we are monitoring are custom medical devices running Windows XP and Android. They run our custom software and apart from that are locked down.

The desire is to have a solution which allows notification describing the problem (which can be anything from loosing connection to a sensor to a potentially dangerous situation) to the clinical team if one of these devices has a problem (which is fairly common).

We therefore need a solution which allows the device to send a notification to a group of people defined through a central interface. The solution also needs to notify the clinical team if one of the devices looses connectivity.

I am primarily *nix focused. The program which it will monitor is written in C++ for windows and Java/C++ for Android. I am open to off the shelf solutions but it must cope with both Android and XP, be able to integrate with the program and must have an easy to use user interface ( it needs to be used by Doctors not IT professionals).

I hope this helps.

EDIT:

The devices are internet attached not necessarily attached to the local network
 

Zanshin

Ars Praefectus
4,460
Subscriptor
To me, the difficult part is the interface between the devices and your web app, not the web app itself. Your devices have to be web aware (meaning they can send http messages out to the network). If they in turn receive messages back from your central web app, that means that essentially each device must have its own web server.

Now imagine the software life cycle of such a setup, especially since web security changes so rapidly, and you mentioned that some of the messages go out over the www, and are not confined to a LAN or VPN (and are thus, not kept in a sterile environment). It gets hairy pretty quickly.

To manage access to "things", with authorization, authentication, and notifications is largely a solved problem in any web framework of sufficient mind share. Not saying its necessarily easy, but that many people have solved it before. And don't worry about all the intro tutorials teaching you to set up blogs. Coding a blog is the web framework equivalent of hello world.
 

ShuggyCoUk

Ars Legatus Legionis
10,387
Subscriptor++
The devices are internet attached
custom medical devices running Windows XP and Android

This smacks of epic fail, in a corporate manslaughter charges way...
I'm just going to note on XP I hope you have a migration plan to get off this well before 2014 (I trust you have the extended support contract with MS) but exposing something hosted on it to the wider internet without a full security certification and continuing monitoring of the stack is madness.

You do not want to be doing this yourself, if you have to ask on a forum your company needs to bite the bullet and hire a company/consultant in with the backing behind them to cover the associated lawsuit you would face on failure causing death of a patient.

I don't mean this in a CYA manner (though it does that) I mean that you should definitely find an genuine honest to $DEITY_OF_CHOICE expert in this because if you don't it sounds like you are putting patients information and well being at risk.

We often joke on here that a lot of the quibbles brought up really don't apply in the majority of cases as we aren't writing nuclear power plant control or medical equipment but you *are*.
 
Status
Not open for further replies.