[FlexJS] Browser compatibility

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[FlexJS] Browser compatibility

Olaf Krueger
Hi,
I'd like to write some docs about the browser compatibility of FlexJS and wonder how this technically works.
Is there some magic implemented within the compiler or is an external lib used or is there whatever mechanism to ensure that the transpiled code works fine with most of the browsers?

How we take care of being compatible with future browser versions.

Is an overview of supported browsers/versions available?

Thanks,
Olaf


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [FlexJS] Browser compatibility

Harbs
I think it’s IE9 or later.

> On Aug 12, 2017, at 9:10 PM, Olaf Krueger <[hidden email]> wrote:
>
> Hi,
> I'd like to write some docs about the browser compatibility of FlexJS and
> wonder how this technically works.
> Is there some magic implemented within the compiler or is an external lib
> used or is there whatever mechanism to ensure that the transpiled code works
> fine with most of the browsers?
>
> How we take care of being compatible with future browser versions.
>
> Is an overview of supported browsers/versions available?
>
> Thanks,
> Olaf
>
>
>
>
>
>
> --
> View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Browser-compatibility-tp63828.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [FlexJS] Browser compatibility

Olaf Krueger
But what mechanism takes care of the compatibility with the main browsers like IE, Edge, Chrome, Firefox, Safari and all those particular versions?
Or is there no magic needed and it just works for whatever needed?

Thanks,
Olaf
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [FlexJS] Browser compatibility

Olaf Krueger
And if there's nothing already implemented to ensure browser compatibility what could folks do if they have issues with some browsers?
Is there something like a conditional compiling for different browsers?

Thanks,
Olaf
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [FlexJS] Browser compatibility

Harbs
There’s nothing really built in, but there is a class that does browser sniffing so it’s possible to write conditional code.

Check out BrowserInfo.

> On Aug 12, 2017, at 9:37 PM, Olaf Krueger <[hidden email]> wrote:
>
> And if there's nothing already implemented to ensure browser compatibility
> what could folks do if they have issues with some browsers?
> Is there something like a conditional compiling for different browsers?
>
> Thanks,
> Olaf
>
>
>
> --
> View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Browser-compatibility-tp63828p63832.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [FlexJS] Browser compatibility

Olaf Krueger
>There’s nothing really built in

Mhh... but I wonder if FlexJS can not guarantee consistency through different browsers and different platforms, could we really speak about a cross platform framework then?
Or do I miss something?

Thanks,
Olaf
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [FlexJS] Browser compatibility

Harbs
You might have misunderstood me.

Thee are quite a few inconsistencies worked around already.

The advantage of the framework code is that we can include workarounds so end developers don’t need to.

For example:

Today I ran into flexbox inconsistencies in layouts. Safari behaves different than everyone else for nested flexboxes.

I found one work-around for one scenario and I’m investigating another for a different one.

Once I have the workarounds worked out, I will be able to fix the FlexJS layouts so it will work consistently across browsers.

Basically, we can treat cross-browser inconsistencies as bugs to be fixed on the framework level.

Harbs

> On Aug 13, 2017, at 10:36 PM, Olaf Krueger <[hidden email]> wrote:
>
>> There’s nothing really built in
>
> Mhh... but I wonder if FlexJS can not guarantee consistency through
> different browsers and different platforms, could we really speak about a
> cross platform framework then?
> Or do I miss something?
>
> Thanks,
> Olaf
>
>
>
> --
> View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Browser-compatibility-tp63828p63851.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [FlexJS] Browser compatibility

Olaf Krueger
>I found one work-around for one scenario and I’m investigating another for a different one.
What do you mean with work-around?
Is it the approach to find some code that works with all browsers or do you're using browser sniffing (Class BrowserInfo as you mentioned above)?

Thanks,
Olaf

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Re: [FlexJS] Browser compatibility

after24
In reply to this post by Harbs
Bonjour,

En congés jusqu'au 4 septembre, je prendrais connaissance de votre message à mon retour.

Cordialement,

Vincent/AFTER24



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [FlexJS] Browser compatibility

Harbs
In reply to this post by Olaf Krueger
Very often there’s more than one way to achieve a goal. When given a choice between approaches, I’d pick the one which has the best browser compatibility.

Given no other choice, I’d fall back to browser sniffing.

> On Aug 14, 2017, at 9:25 AM, Olaf Krueger <[hidden email]> wrote:
>
>> I found one work-around for one scenario and I’m investigating another for a
> different one.
> What do you mean with work-around?
> Is it the approach to find some code that works with all browsers or do
> you're using browser sniffing (Class BrowserInfo as you mentioned above)?
>
> Thanks,
> Olaf
>
>
>
>
>
> --
> View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Browser-compatibility-tp63828p63861.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [FlexJS] Browser compatibility

Olaf Krueger
I've got it, thanks!

Olaf
Loading...