Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2799C11C64 for ; Thu, 11 Sep 2014 20:51:12 +0000 (UTC) Received: (qmail 40936 invoked by uid 500); 11 Sep 2014 20:51:10 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 40813 invoked by uid 500); 11 Sep 2014 20:51:10 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 40791 invoked by uid 99); 11 Sep 2014 20:51:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Sep 2014 20:51:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aharui@adobe.com designates 65.55.169.81 as permitted sender) Received: from [65.55.169.81] (HELO na01-bl2-obe.outbound.protection.outlook.com) (65.55.169.81) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Sep 2014 20:51:03 +0000 Received: from BL2PR02MB500.namprd02.prod.outlook.com (10.141.95.147) by BL2PR02MB500.namprd02.prod.outlook.com (10.141.95.147) with Microsoft SMTP Server (TLS) id 15.0.1019.16; Thu, 11 Sep 2014 20:50:41 +0000 Received: from BL2PR02MB500.namprd02.prod.outlook.com ([10.141.95.147]) by BL2PR02MB500.namprd02.prod.outlook.com ([10.141.95.147]) with mapi id 15.00.1019.015; Thu, 11 Sep 2014 20:50:41 +0000 From: Alex Harui To: "users@flex.apache.org" CC: "dev@flex.apache.org" Subject: Re: [FlexJS] Presenting at the HTML5 Dev Conference Thread-Topic: [FlexJS] Presenting at the HTML5 Dev Conference Thread-Index: AQHPyHXjaXoe53qQq0unGM/J5pcsZZvw6GQAgAtq2ACAABLVAP//l6aA Date: Thu, 11 Sep 2014 20:50:41 +0000 Message-ID: References: <4D51E58C-1E71-4302-A816-530C41E27782@gmail.com> In-Reply-To: <4D51E58C-1E71-4302-A816-530C41E27782@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.4.140807 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [192.150.22.5] x-microsoft-antispam: BCL:0;PCL:0;RULEID:;UriScan:; x-forefront-prvs: 03319F6FEF x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(30513003)(377454003)(479174003)(199003)(51704005)(24454002)(189002)(50986999)(76482001)(85306004)(4396001)(83072002)(81542001)(90102001)(77982001)(76176999)(107046002)(106356001)(99396002)(19580405001)(2351001)(19580395003)(83506001)(36756003)(106116001)(74502001)(105586002)(66066001)(92726001)(79102001)(21056001)(64706001)(2501002)(92566001)(74662001)(86362001)(2656002)(83322001)(99286002)(95666004)(31966008)(85852003)(20776003)(93886004)(87936001)(97736003)(110136001)(80022001)(101416001)(46102001)(54356999)(81342001);DIR:OUT;SFP:1101;SCL:1;SRVR:BL2PR02MB500;H:BL2PR02MB500.namprd02.prod.outlook.com;FPR:;MLV:sfv;PTR:InfoNoRecords;A:1;MX:1;LANG:en; Content-Type: text/plain; charset="Windows-1252" Content-ID: <1E3F6517B1FE224A8614AF8E15AE1D08@namprd02.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: adobe.com X-Virus-Checked: Checked by ClamAV on apache.org Good questions. My thoughts: On 9/11/14 1:03 PM, "Harbs" wrote: >Some additional thoughts: (don=B9t know if you can fit this in =8B and I >don=B9t have the answers to all these points) > >FlexJS vs. Dart vs. Haxe. It seems that all three of these have points >for strong typing. I definitely try to make sure it doesn't sound like we thought of the idea of using a higher-level language for generating JS. I include GWT and TS in the list. I try not to set it up as a competition, but rather, a validation that strong-typing is important in building big things. We can all go down to the local lumber yard and hack together a dog house out of wood and nails, but folks who build skyscrapers use different tools and techniques. No high-rise buildings are made of wood and nails. > >Is there an advantage of ActionScript over those? (not sure) For dog houses, and probably one and two-story houses, there isn't any advantage. But eventually, as your application grows, and the team that is building it grows, the requirement most of these other languages have of needing all of the code in once place in order to type-check it becomes a practical limitation. Yes, these languages let you promise that some external thing will have a particular contract, but the ActionScript VM will verify the contract at the point of integration. The Dart VM might, I haven't checked, but the JS runtimes certainly won't. >Is there an advantage of MXML? (probably yes) I think HTML proved the advantages of declarative markup. > >Maybe some thoughts on the MXML approach vs. HTML/CSS approach? >advantages and challenges, etc. I could certainly see someone creating a way to generate HTML from MXML, so I don't see it as an either/or. We are just starting with MXML because we have it, and it is extensible. I'm still not clear what is happening with Web Components and HTML extensibility. But for sure, we have a better chance of working in IE9. > >What about TypeScript? Do we have advantages over that? What? IMO, having a markup language gives us advantages over TS. While it would be awesome if FlexJS became the most popular way to write HTML/JS/CSS apps, I will be more than happy just to be popular among enterprise or some other smaller market of folks building really big apps. The notion of having markup to basically have a diagram or schematic of your components, and better connectors in AS and the VM to ensure those components are connected properly, an IDE that understands all of that, a debugger that also understands that, and scalability up to really large applications whose source code cannot be gathered all in one place, and scaleability down to mobile apps so you can share business logic with the mobile companion apps should make us attractive to those who are thinking ahead. Once the requirement comes out to put a fifth floor on your wooden house, or add an addition to your house built in another country, you will find yourself worrying about a lot more things if you aren't using FlexJS. -Alex