HDF Web-Browser Plug-in
Peter Cao, National Center for Supercomputing Applications

This work is supported in part by a Co...
Outline




Plug-in Basics
Development issues
An example: windows plug-in for IE5

HDF and HDF-EOS
Workshop VIII, Octob...
What Is HDFView




A browser plug-in is a software program that extends
the power of Web browser by adding more feature...
Reasons for a HDF Plug-in


Click-and-view: by clicking on or drag-drop a HDF file,
the browser will recognize and displa...
How Plug-ins Works
A standard set of plug-in APIs are defined for
communication between applications and the browser
 Net...
Implementation Challenge
Plug-ins are platform and browser dependent


Platforms







Windows
Mac
Linux
Solaris

B...
Implementation Challenge

continue

Since Microsoft has removed support for Netscape plug-ins
from IE 5.5 SP 2 and beyond,...
Choice: Microsoft ActiveX
Pros:




Better performance (speed and memory)
Easy installation (one piece software)
Works ...
Choice: Java Pluglet API
A Pluglet is a Plug-in that is written in Java and a close
1:1 implementation of the C++ Plug-in ...
Choice: Java Pluglet API

continue

Pros:



Support all major platforms
Easy maintenance (reuse HDFView code)

Cons:

...
Short Demo: Plug-in For IE

HDF and HDF-EOS
Workshop VIII, October 2628, 2004

11/12
Questions

HDF and HDF-EOS
Workshop VIII, October 2628, 2004

12/12
Upcoming SlideShare
Loading in …5
×

HDF Web Browser Plug-in

365 views

Published on

The main goal of the HDF browser plug-in is click-and-view HDF files remotely and locally from popular web browsers. Different options of how to implement the plug-in will be presented for comments.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
365
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

HDF Web Browser Plug-in

  1. 1. HDF Web-Browser Plug-in Peter Cao, National Center for Supercomputing Applications This work is supported in part by a Cooperative Agreement with the National Aeronautics and Space Agency (NASA) and National Center for Supercomputing Applications (NCSA) HDF and HDF-EOS Workshop VIII, October 2628, 2004 1/12
  2. 2. Outline    Plug-in Basics Development issues An example: windows plug-in for IE5 HDF and HDF-EOS Workshop VIII, October 2628, 2004 2/12
  3. 3. What Is HDFView   A browser plug-in is a software program that extends the power of Web browser by adding more features and supporting more types of content than what the standard browser provides An HDF browser Plug-in is a windowed Plug-in that is launched from Web browser to display HDF4 and HDF5 files Web Browser New Datatype Plug-ins New Feature HDF and HDF-EOS Workshop VIII, October 2628, 2004 3/12
  4. 4. Reasons for a HDF Plug-in  Click-and-view: by clicking on or drag-drop a HDF file, the browser will recognize and display the file (much like the acrobat reader plug-in for pdf files)  Easy install and update: downloading and installing the plug-in is just a simple click. No uninstall and reinstall is necessary for new release. Users will be asked for automatic update when a new version is released  Browse remote files: with predefined the MIME type, the plug-in will take the advantage of the web browser to browse HDF files over the internet HDF and HDF-EOS Workshop VIII, October 2628, 2004 4/12
  5. 5. How Plug-ins Works A standard set of plug-in APIs are defined for communication between applications and the browser  Netscape Plug-in APIs  Microsoft ActiveX controls Web Browser: Internet Explorer Netscape Mozilla Browser Side Plug-in API Plug-in Java C C++ Plug-in Side Plug-in API HDF Library HDF File HDF and HDF-EOS Workshop VIII, October 2628, 2004 5/12
  6. 6. Implementation Challenge Plug-ins are platform and browser dependent  Platforms      Windows Mac Linux Solaris Browsers   Internet Explorer Netscape or Mozilla HDF and HDF-EOS Workshop VIII, October 2628, 2004 6/12
  7. 7. Implementation Challenge continue Since Microsoft has removed support for Netscape plug-ins from IE 5.5 SP 2 and beyond, plug-ins developed in Netscape Plug-in APIs will not work on IE. Netscape/Mozilla does not support ActiveX controls NS Plug-in APIs Microsoft ActiveX Netscape/Mozilla IE 5.5 SP 2 + HDF and HDF-EOS Workshop VIII, October 2628, 2004 7/12
  8. 8. Choice: Microsoft ActiveX Pros:    Better performance (speed and memory) Easy installation (one piece software) Works best for IE, which has 80% of the users Cons:   Works only on IE and Windows. Maintenance and support HDF and HDF-EOS Workshop VIII, October 2628, 2004 8/12
  9. 9. Choice: Java Pluglet API A Pluglet is a Plug-in that is written in Java and a close 1:1 implementation of the C++ Plug-in API in Mozilla Pluglet Pluglet Engine (Java) JVM Pluglet Engine (C++) Plug-in API (NS API) Mozilla ActiveX IE HDF and HDF-EOS Workshop VIII, October 2628, 2004 9/12
  10. 10. Choice: Java Pluglet API continue Pros:   Support all major platforms Easy maintenance (reuse HDFView code) Cons:    Lower performance (Java  C) Requires Java Runtime Environment Installation (classpath, JNI path, security) HDF and HDF-EOS Workshop VIII, October 2628, 2004 10/12
  11. 11. Short Demo: Plug-in For IE HDF and HDF-EOS Workshop VIII, October 2628, 2004 11/12
  12. 12. Questions HDF and HDF-EOS Workshop VIII, October 2628, 2004 12/12

×