Differences between revisions 4 and 5
Revision 4 as of 2008-05-30 21:46:22
Size: 635
Editor: KeiichiroOno
Comment:
Revision 5 as of 2008-05-30 22:37:00
Size: 1297
Editor: KeiichiroOno
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
Command layer contains mechanism to make Cytoscape functions easily accessible from application layer. This layer should be separated from application layer and can be used in any mode: Desktop application, server version, and command line version.
Line 13: Line 13:
==== Multiple Language Support ====
 Commands should be easily accessible dynamic (scripting) languages, including Python, Ruby, and JavaScript.

=== Functions Encapcelated as Command ===
In general, most of the classes in '''''cytoscape.actions''''' will be converted into Commands.
 
Line 24: Line 30:

=== OSGi Service ===

=== Dynamic Language Support on JVM ===
 * Jython
 * JRuby
 * Rhino (JavaScript)
 *

(This page is under construction)

Command Layer Definition

Command layer contains mechanism to make Cytoscape functions easily accessible from application layer. This layer should be separated from application layer and can be used in any mode: Desktop application, server version, and command line version.

Requirments

  • Command layer should be separated from application or UI.
  • Commands should be accessible from scripting (dynamic) languages.
  • Should be manageable by Undo manager (in application layer).
  • Extensible. Plugin writers and developers use Cytoscape as library can add their own commands.

Multiple Language Support

  • Commands should be easily accessible dynamic (scripting) languages, including Python, Ruby, and JavaScript.

Functions Encapcelated as Command

In general, most of the classes in cytoscape.actions will be converted into Commands.

Design

  • attachment:commandLayer1.png
  • Each command will be represented as an OSGi service.
  • Command executes the function through the OSGi service registory.

Implementation

OSGi Service

Dynamic Language Support on JVM

Outdated_Cytoscape_3.0/CommandDiscussions (last edited 2011-02-24 15:33:09 by PietMolenaar)

Funding for Cytoscape is provided by a federal grant from the U.S. National Institute of General Medical Sciences (NIGMS) of the Na tional Institutes of Health (NIH) under award number GM070743-01. Corporate funding is provided through a contract from Unilever PLC.

MoinMoin Appliance - Powered by TurnKey Linux