Project

General

Profile

Actions

Task #1969

closed

nfd-status-http-server: add JS-based interactive features

Added by Alex Afanasyev about 11 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Tools
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Since we cannot do much with XSLT, we can do some interactive things with JS. Like showing face information for face id. Adding links from one block to another, etc.


Files

ndn15hack_NfdWebControlPanel.pdf (52.7 KB) ndn15hack_NfdWebControlPanel.pdf Junxiao Shi, 10/04/2015 03:14 PM
Actions #1

Updated by Junxiao Shi about 11 years ago

  • Subject changed from nfd-status-http-server: The displayed page need to have some JS-based interactive functions to nfd-status-http-server: add JS-based interactive features
  • Start date deleted (09/05/2014)

Can we drop support for non-scriptable browsers, and require a JavaScript-enabled browser?

Can we require a browser that can run NDN-JS?

Actions #2

Updated by Alex Afanasyev about 11 years ago

Where do we have the requirement of non-scriptable browsers?

Actions #3

Updated by Junxiao Shi about 11 years ago

The current page works on non-scriptable browsers.
There is neither a requirement to support these browsers, nor a decision not to support them.

I want to completely drop support for them, which means the page won't work at all in non-scriptable browsers at all.
This would allow a better page to be designed.

Actions #4

Updated by Junxiao Shi about 11 years ago

20141008 conference call decides that it's acceptable to require JavaScript and NDN-JS in the web browser.
The page must work at least on recent version of Chrome, Firefox, and Safari.

Actions #5

Updated by Junxiao Shi about 11 years ago

20141103 conference call decides that it's acceptable to require WebSocket in HTTP status page, and it's acceptable to use a different web server than Python (such as NodeJS, PHP, etc).

According to Lixia's suggestion, we should allow the status page to work (probably in reduced mode) without WebSocket connection.
One way to achieve this is to write out the nfd-status -x XML document under a certain URI.

Actions #6

Updated by Joao Pereira over 10 years ago

Using NodeJS I implemented something that could be used to solve this.
It uses NDNjs and Express as Server.

The source is in https://github.com/joaopapereira/nfd-status.git

There you can find also the instructions to install it.

Is this what was expected from this requirement?

Actions #7

Updated by Junxiao Shi over 10 years ago

Answer to note-6:

Not exactly.

But joaopapereira/nfd-status looks like a useful project, and it deserves a place in NFD wiki or documentation.

Actions #8

Updated by Joao Pereira over 10 years ago

What were you expecting? Just javascript that called an HTML to make the page interactive?

If I get a clearer idea on the requirements maybe I can adapt what I have or create something different. Or this is not something that you need for now?

Actions #9

Updated by Junxiao Shi about 10 years ago

For information: NFD Web Control Panel, a proposed project at NDNcomm2015 hackathon, is intended to be a replacement of nfd-status-http-server.

Actions #10

Updated by Junxiao Shi over 2 years ago

  • Status changed from New to Closed

This is now provided in external project that can be installed into nfd-status-http-server:
https://yoursunny.com/p/NDNts/NFD-status-page/

Actions

Also available in: Atom PDF