[ 
https://issues.apache.org/jira/browse/TUSCANY-2568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631567#action_12631567
 ] 

Dan Becker commented on TUSCANY-2568:
-------------------------------------

The first thing I did when assessing this requirement was to search the web for 
existing JavaScript libraries that could model and parse items in the Atom 
Publishing Protocol. Unfortunately, most of the links I found seemed to be 
poorly maintained, proprietary, or little support. If people have a favorite 
JavaScript/APP library, please let me know.

The one exception to my search was the Google GData JavaScript client. They 
have support for atom feeds in the google.gdata.atom package. I think that part 
of the GData API can be used to parse and display Atom feeds and would help 
facilitate client side programming for Tuscany when using the Tuscany Atom 
Collection APIs.

The other option I am evaluating is writing a Tuscany JavaScript library from 
scratch. Although users of the Abdera Java library might think the model 
library is huge, in reality the Atom Pub Protocol has very few main objects: 
Category, Email, Entry, Feed, Generator, Id, Link, Name, Person, 
Published/Updated, Text, and Uri. If most of these items are modeled as Strings 
and Dates, a home grown Tuscany JavaScript library is not very large, and 
certainly will not  be as detailed and in-depth as the Abdera Java model.

So the tradeoff is use a popular API from Google and have a dependency on an 
external provider, or use a home grown API. I am still evaluating both, but I 
think I am leaning toward the later (homegrown Tuscany JavaScript library). The 
whole goal is aid Tuscany client programming. What do others think which route 
is more desireable and which features are needed?



> Javascript model for Atom binding collections and entries
> ---------------------------------------------------------
>
>                 Key: TUSCANY-2568
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2568
>             Project: Tuscany
>          Issue Type: New Feature
>          Components: Java SCA ATOM Binding Extension
>         Environment: All
>            Reporter: Dan Becker
>            Assignee: Dan Becker
>             Fix For: Java-SCA-Next
>
>
> - A proper Javascript object model for an Atom collection and Atom entries to 
> facilitate the use of Atom in Javascript clients, modeled after the Abdera 
> model for collection and entry.
> - A Javascript model for Atom collections and entries mirroring the Tuscany 
> Java data.Collection interface, providing simple access to business data 
> objects in an Atom collection.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to