Re: Nodejs and Apache Royale for server side

2020-05-22 Thread Ramazan Ergüder Bekrek
Check that thread title I make a link to the article. https://community.haxe.org/t/use-typescript-definitions-with-haxe-dts2hx-is-ready-to-use/2440/7I think there will be no need for manual externs definition anymore 

Re: Nodejs and Apache Royale for server side

2020-05-22 Thread Ramazan Ergüder Bekrek
This already is possible take a look at redtamarin open source project. Server side Actionscript Josh can you see if this thread can be useful for automatic externs generation via Haxe and some tool that Microsoft is also developing? I need your expertise on this thread. Typescript to Haxe externs

Re: Nodejs and Apache Royale for server side

2020-05-14 Thread Apache Royale
That's great. -Alina Kazi On Fri, 15 May 2020, 1:12 am Josh Tynjala, wrote: > You can use npm modules like Express in ActionScript. However, you need to > create type definitions for them. Here's a tutorial: > > https://apache.github.io/royale-docs/features/nodejs/external-modules > > -- >

Re: Nodejs and Apache Royale for server side

2020-05-14 Thread Josh Tynjala
You can use npm modules like Express in ActionScript. However, you need to create type definitions for them. Here's a tutorial: https://apache.github.io/royale-docs/features/nodejs/external-modules -- Josh Tynjala Bowler Hat LLC On Thu, May 14, 2020 at 12:30 PM Apache

Re: Nodejs and Apache Royale for server side

2020-05-14 Thread Apache Royale
That's really awesome if we can use Apache Royale on server side as well. Like we use mx s html jewel in namespaces and use them. Is it possible to use node similarly? What i wanted to know for both frontend and backend side. Like middleware express etc are the core of nodejs. Can we use them

Re: Nodejs and Apache Royale for server side

2020-05-14 Thread Josh Tynjala
Yes, it should be possible to write backend code with ActionScript and Apache Royale. It compiles to JavaScript, which must be run using Node.js. I don't think a lot of people are using Apache Royale with Node.js yet, so there won't be much documentation besides what you've already found, and

Re: Nodejs and Apache Royale for server side

2020-05-14 Thread Apache Royale
Thank you Josh. Can we use Apache Royale for both frontend and backend/serverside? As now people are using nodejs for backend as well. -Alina Kazi On Thu, 14 May 2020, 8:59 pm Josh Tynjala, wrote: > There really isn't going to be a serious performance difference between > running Node.js with

Re: Nodejs and Apache Royale for server side

2020-05-14 Thread Josh Tynjala
There really isn't going to be a serious performance difference between running Node.js with regular JavaScript versus running Node.js with ActionScript compiled to JavaScript. In the end, it all ends up being JavaScript. -- Josh Tynjala Bowler Hat LLC On Thu, May 14,

Nodejs and Apache Royale for server side

2020-05-14 Thread Alina Kazi
Hi, I have a question regarding this https://apache.github.io/royale-docs/features/nodejs