Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Draft of the draft

...

Proposal Content Details :

Current Intentions

1.

...

In the model of implementation-widget-runtime-pojo - Luks pretty easy!

Important classes and function

RuntimeComponent - correspond to the component tag in the xml? have to debug and check.

2. Add some kind of switch on the composite file to change the classpath dependencies

  • ComponentJavaScriptGenerator.java contains

QName - This is used to identify different generators supporting different JavaScript frameworks. This is now present internally and configured as 

private static final QName NAME = new QName("http://tuscany.apache.org/xmlns/sca/1.1", "component.script.generator.dojo");

in DojoJavaScriptComponentGeneratorImpl.java

How can we bring it out and make it configurable in a composite file.

  • WidgetImplementationProvider.java contains ( Line 94) 

The code to start dojo provider if added to the class path

  • WidgetImplementationProviderFactory ( Line 51 ) - Utility function

Gernerating few js lines 

  • JSONRPCBindingJavascriptProxyFactory

3. Use the jQuery native ajax calls

Wiki Markup
Following are the popular ajax request present in jQuery \[1\]

  • load(): Load a piece of html into a container DOM.
  • $.getJSON(): Load a JSON with GET method.
  • $.getScript(): Load a JavaScript.
  • $.get(): Use this if you want to make a GET call and play extensively with the response.
  • $.post(): Use this if you want to make a POST call and don’t want to load the response to some container DOM.
  • $.ajax(): Use this if you need to do something when XHR fails, or you need to specify ajax options (e.g. cache: true) on the fly.

...

Wiki Markup
\[1\] 

...

Abstract

Apache Tuscany(TM) is a

2. Detailed Description

2.1 Minimal Restructuring

Removing some hardcoded values for pojo. 

2.2 Deliverables

Javascript Generator is used to implement the GUI features of the Luke application as it is Apache Licensed and can be used in the Lucene trunk.

Configuration Control

Tabbed pane is already done using Pivot API for the Luke application. There is a pane for plugins that is empty in the sandboxed version.A Tab Pane is added as a BXML file as :

2.3 Architectural outline

3. Timeline

Week

Dates

Work to be done

Week 0

July 20th to August 2nd

Familiaring with overall Tuscany architecture and specifically with widget implementation. Discussing and prototyping implementation aspects.

Week 1,2,

August 5th to August 25th

Implementation a of javascript code generator for jquery.

Week 3,4

August 26th to September 13th

Implement the the configuration option that the user can use to specify which js framework to use.

Week 6

September 6th to September 13th

Do the documentation for code till date
Mid term evaluation

Week 7,8

September 16th to September 30th

Implement integration test.

Week 9,10

September 30th to October 14th

Open for comments for improvements from mentor and community.

Week 11

October 14th to October 21st

Extra Week for catching up in case of delays. Code review.

Week 12

October 21st to October 28th

Do documentation for code till date
Submit final evaluation