Will MXML ever be "compiled" in html5?

My question may be stupid, but I think it is not.

I use flex with Ruby on Rails support to develop rich internet applications. Recently, a flash has been attacked, an example is Steve Jobs's thoughts on Flash .

I think flex is a great tool, but to be honest, I would rather have an effective tool like flexible, but compatible with open standards.

For me, in an ideal world, I would encode in MXML the same way as now, and Flex Builder will create a clean html5 interface.

My question is: is this possible? He is allowed to dream something, right ... :-)

+4
source share
3 answers

Is it possible? No.

Is it allowed to dream, yes.

MXML is an XML vocabulary for generating ActionScript, which is the main language of Flash. Because ActionScript is based on ECMAScript, the same standard as JavaScript, it is possible that MXML can be adapted for JavaScript output. But the reason for this is not that JavaScript does not yet have the same capabilities as ActionScript.

+1
source

I doubt MXML or Flex will ever have HTML output. To do this, they will need the HTML version of the Flex Framework, which is likely to be written in JavaScript. It seems very unlikely to me.

I believe one of the sneak peaks at the last Adobe Max conference showed that Flash Professional animations are exported to HTML5.

[Start speculating] I assumed that the HTML version used Canvas elements in HTML5, and the resources were most likely PNG.
[Complete speculation]

But I honestly have no idea how this works.
You can probably find the videos online. Good luck

0
source

Simple MXML was introduced to replace HTML. I doubt that they will come where you can generate the code generated by HTML 5. Impossible, and I doubt that even makeup will come too.

-1
source

Source: https://habr.com/ru/post/1334857/


All Articles