You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by zantafio <Ap...@krankenstein.net> on 2017/03/17 16:43:17 UTC

Pouchdb integration for FlexJS

Hello,

Alex Harui suggested to open a thread in this list, since I am interested in
how to get pouchdb integrated into a flexjs project.

/>Hi, 
>Josh Tynjala creates a utility called "dts2as" which transpiles TypeScript 
>to AS3 [1]. 
>There already exist TypeScript definitions for PouchDB [2][3]. 
> 
>Maybe some of the pros here are able to assess if this could work? 

dts2as is one way to do it. 

We are working on another way where you define the API in ActionScript. 
If you are interested in that, please start a thread on the dev@ mailing 
list. 

Thanks, 
-Alex /

thanks for any ideas.



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/Pouchdb-integration-for-FlexJS-tp60552.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: Pouchdb integration for FlexJS

Posted by OK <po...@olafkrueger.net>.
Thanks Alex, just read the top.html article, it is well written and very
helpful!
Looking forward to check it out by myself...

Olaf



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/Pouchdb-integration-for-FlexJS-tp60552p60556.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: Pouchdb integration for FlexJS

Posted by Alex Harui <ah...@adobe.com>.

On 3/17/17, 12:03 PM, "OK" <po...@olafkrueger.net> wrote:

>Alex it seems to me that this is the wrong link?
>

It's sort of the right link. One of the links in the commit is to top.html
[2] which is the "article" about the BatchScanner example and how I
created a "typedefs" SWC for a 3rd-party JS library.  It's all that I have
right now on short notice.

Top.html and the related files are all in the flex-tourjs repo.

https://git1-us-west.apache.org/repos/asf?p=flex-tourjs.git

Look in the develop branch, get a tree view and look in
cordova/BatchScanner.

HTH,
-Alex

[2] 
https://git1-us-west.apache.org/repos/asf?p=flex-tourjs.git;a=blob;f=cordov
a/BatchScanner/BatchScanner/src/main/resources/top.html;h=abe6211b2278b86ab
02e11db269cadc297bd659b;hb=b80d

>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.2333347.n4.nabble.com%2FPouchdb-integration-for-FlexJS-tp605
>52p60554.html&data=02%7C01%7C%7C8d13df721808490c55c008d46d6956b4%7Cfa7b1b5
>a7b34438794aed2c178decee1%7C0%7C0%7C636253746577094760&sdata=Yifb%2Fl26oD0
>GTjhVETv%2FvImlpHBXPkVSBWgDzaldjiA%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Pouchdb integration for FlexJS

Posted by OK <po...@olafkrueger.net>.
Alex it seems to me that this is the wrong link?



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/Pouchdb-integration-for-FlexJS-tp60552p60554.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: Pouchdb integration for FlexJS

Posted by Alex Harui <ah...@adobe.com>.
Hi,

Thanks for moving the discussion to dev@.  In theory, users@ is where we
discussed released code, and dev@ is where we discuss stuff we are working
on.

Anyway, besides dts2as, we have recently tweaked the compiler to be able
to generate 3rd-party JS library SWCs from ActionScript code.

[1] is the beginnings of a writeup and example I put together.  Try
starting there and ask questions if you get stuck.

Thanks,
-Alex

[1] 
https://git1-us-west.apache.org/repos/asf?p=flex-tourjs.git;a=commit;h=b80d
fab0


On 3/17/17, 9:43 AM, "zantafio"
<Ap...@krankenstein.net> wrote:

>Hello,
>
>Alex Harui suggested to open a thread in this list, since I am interested
>in
>how to get pouchdb integrated into a flexjs project.
>
>/>Hi, 
>>Josh Tynjala creates a utility called "dts2as" which transpiles
>>TypeScript 
>>to AS3 [1]. 
>>There already exist TypeScript definitions for PouchDB [2][3].
>> 
>>Maybe some of the pros here are able to assess if this could work?
>
>dts2as is one way to do it.
>
>We are working on another way where you define the API in ActionScript.
>If you are interested in that, please start a thread on the dev@ mailing
>list. 
>
>Thanks, 
>-Alex /
>
>thanks for any ideas.
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.2333347.n4.nabble.com%2FPouchdb-integration-for-FlexJS-tp605
>52.html&data=02%7C01%7C%7C9d8852f8fb2046a6e97008d46d61dda9%7Cfa7b1b5a7b344
>38794aed2c178decee1%7C0%7C0%7C636253714474800887&sdata=U8cjrrCj%2FAbi8DNvw
>jiSSArScKmzGQvHBkarAoCAUvI%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.