Sunday, January 28, 2018

Re: javascript transpilers

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 you're working on an enterprise project with little to no in-house knowledge of Javascript, nor time to learn.  However, there are some significant caveats about usability and complexity, which I think 95% of GWT projects never needed to be done in GWT.

On Sunday, January 28, 2018 at 9:05:35 AM UTC-5, Andréas Kühne wrote:
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 untyped nature). You will still need to understand the fundementals of DOM handling. Also, because python-browser isn't widely adopted, you will be stuck searching for answers to your problems....I think you are better off learning the amount of javascript that you need to learn and stick with it. 

Regards,

Andréas

2018-01-27 23:44 GMT+01:00 Mike Dewhirst <mi...@dewhirst.com.au>:
I have avoided javascript like the plague. However it seems I have to bite the bullet. Interestingly, there are now a number of Python -> Javascript transpilers.

http://stromberg.dnsalias.org/~strombrg/pybrowser/python-browser.html

Where would be a good place to start a discussion on the topic?

I am self-employed  with multiple demands on my time so I cannot afford to allocate sufficient time to learn it let alone undertake formal Javascript training. My hope is to pick it up by osmosis and wonder if a transpiler would help.

Thanks for any pointers

Mike

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/fa0e9f0b-fece-344d-74f2-5b9470b40657%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/df354e59-1103-4109-87c7-bef1cbaee757%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment