Differences between revisions 2 and 5 (spanning 3 versions)
Revision 2 as of 2008-05-30 19:58:29
Size: 213
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 1: Line 1:
(This page is under construction)
Line 3: 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 8: Line 10:
 * 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.
Line 10: Line 27:


== References and External Links ==

=== 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