Re: javascript transpilers

2018-02-05 Thread Mike Dewhirst
Much appreciated. I'll definitely take your advice. Cheers M On 6/02/2018 2:26 AM, Matemática A3K wrote: On Thu, Feb 1, 2018 at 8:27 PM, Mike Dewhirst > wrote: On 2/02/2018 12:54 AM, Jason wrote: https://caniuse.com/#feat=wasm  IIRC wasm

Re: javascript transpilers

2018-02-05 Thread Matemática A3K
On Thu, Feb 1, 2018 at 8:27 PM, Mike Dewhirst wrote: > On 2/02/2018 12:54 AM, Jason wrote: > >> https://caniuse.com/#feat=wasm >> >> >> IIRC wasm is not polyfillable or transpilable, so if you're targeting >> users on any of those red cells, then wasm is not for you. >> > > Agreed. I think it is

Re: javascript transpilers

2018-02-01 Thread Mike Dewhirst
On 2/02/2018 12:54 AM, Jason wrote: https://caniuse.com/#feat=wasm  IIRC wasm is not polyfillable or transpilable, so if you're targeting users on any of those red cells, then wasm is not for you. Agreed. I think it is interesting anyway but I already decided it is not within my event horiz

Re: javascript transpilers

2018-02-01 Thread Jason
https://caniuse.com/#feat=wasm IIRC wasm is not polyfillable or transpilable, so if you're targeting users on any of those red cells, then wasm is not for you. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Re: javascript transpilers

2018-02-01 Thread Mike Dewhirst
On 30/01/2018 6:33 PM, Andréas Kühne wrote: If you are using django in the "normal" way - you should just be able to add the message to the messages contrib package. Then the message should show when saving? Because when you click on the save button you should post your form and that method sho

Re: javascript transpilers

2018-01-31 Thread Mike Dewhirst
to:django-users@googlegroups.com] On Behalf Of Mike Dewhirst Sent: Wednesday, January 31, 2018 4:29 PM To: django-users@googlegroups.com Subject: Re: javascript transpilers On 30/01/2018 6:33 PM, Andréas Kühne wrote: 2018-01-30 5:18 GMT+01:00 Mike Dewhirst mailto:mi...@dewhirst.com.au>>: On 29/

RE: javascript transpilers

2018-01-31 Thread Matthew Pava
ango-users@googlegroups.com Subject: Re: javascript transpilers On 30/01/2018 6:33 PM, Andréas Kühne wrote: > 2018-01-30 5:18 GMT+01:00 Mike Dewhirst <mailto:mi...@dewhirst.com.au>>: > > On 29/01/2018 9:03 PM, Nick Sarbicki wrote: > > Going SPA when you don't

Re: javascript transpilers

2018-01-31 Thread Mike Dewhirst
On 30/01/2018 6:33 PM, Andréas Kühne wrote: 2018-01-30 5:18 GMT+01:00 Mike Dewhirst >: On 29/01/2018 9:03 PM, Nick Sarbicki wrote: Going SPA when you don't know JS is very much a baptism of fire. Angular is personally my favourite too and essen

Re: javascript transpilers

2018-01-29 Thread Andréas Kühne
2018-01-30 5:18 GMT+01:00 Mike Dewhirst : > On 29/01/2018 9:03 PM, Nick Sarbicki wrote: > >> Going SPA when you don't know JS is very much a baptism of fire. >> >> Angular is personally my favourite too and essentially forces the SPA >> model. But it has a much bigger learning curve compared to Vu

Re: javascript transpilers

2018-01-29 Thread Mike Dewhirst
On 29/01/2018 9:03 PM, Nick Sarbicki wrote: Going SPA when you don't know JS is very much a baptism of fire. Angular is personally my favourite too and essentially forces the SPA model. But it has a much bigger learning curve compared to Vue and React (the other two common names thrown about n

Re: javascript transpilers

2018-01-29 Thread Nick Sarbicki
Going SPA when you don't know JS is very much a baptism of fire. Angular is personally my favourite too and essentially forces the SPA model. But it has a much bigger learning curve compared to Vue and React (the other two common names thrown about nowadays). The others are also easier to not forc

Re: javascript transpilers

2018-01-29 Thread Andréas Kühne
If that is the case - I would recommend looking into creating a single page app - with Django restframework on the backend if you want to continue with Django. For the frontend you will however be required to learn some sort of JS framework - however this doesn't have to be THAT bad. I personally l

Re: javascript transpilers

2018-01-28 Thread Mike Dewhirst
That seems unanimous :( Jani asked what problem I need to solve. Without going into analytical detail, all the code is serverside and now the project needs to move towards AJAX for user experience reasons. M On 29/01/2018 5:44 AM, Nick Sarbicki wrote: Agree with everything already said. O

Re: javascript transpilers

2018-01-28 Thread Nick Sarbicki
Agree with everything already said. Only thing I want to add is that while js has historically been a horrible language, the modern standards have helped rectify this. Modern js can be almost pleasant to work with nowadays. I wouldn't spend time transpiling python to js. Just try to learn js and

Re: javascript transpilers

2018-01-28 Thread Avraham Serour
If you don't want and don't have the time to learn JS you may as well consider outsourcing the frontend work, I've worked in places that did just that and everybody was happy, the internal team liked python and the outsourced company people liked UX and JS. On Sun, Jan 28, 2018 at 6:09 PM, Jani Ti

Re: javascript transpilers

2018-01-28 Thread Jani Tiainen
Hi, You don't describe to what extent you need to use JavaScript - IOW, what problem you need to solve with JavaScript? Depending you needs you might get away with basic knowledge and usage of some helpful JavaScript library/framework. On Sun, Jan 28, 2018 at 12:44 AM, Mike Dewhirst wrote: > I

Re: javascript transpilers

2018-01-28 Thread Jason
I have to agree with Andreas about this. If you want to look at a somewhat successful project, consider the Google Web Toolkit project which allows developers to write large scale web applications in Java. The compilation process outputs JS, CSS and HTML. Its an ok and acceptable approach if

Re: javascript transpilers

2018-01-28 Thread Andréas Kühne
Hi, I think you are making things worse by adding a transpiler from python code to javascript. Yes you will be working in a language you are familiar with, but you will still need to understand the underlying javascript to debug issues (things will happen that are strange because of javsascripts u