Going SPA when you don't know JS is very much a baptism of fire.
Figure what's the minimum requirement first ;-).
On Mon, Jan 29, 2018 at 9:15 AM Andréas Kühne <andreas.kuhne@hypercode.se> wrote:
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 like angular 5 - which is written in typescript - a javascript based language - that actually removes most of the pain. HOWEVER JS knowledge is good to have anyway....There are other frameworks that don't require that much JS knowledge and Jason suggested GWT which sounds like it could be worth a shot, as long as it doesn't add to much complexity. The main reason for using that would be a large user base, so you can get help. The python transpiled JS versions don't really have the greatest user base :-)Regards,Andréas--2018-01-29 0:00 GMT+01:00 Mike Dewhirst <miked@dewhirst.com.au>: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.
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 maybe transpile from a modern standard to the browser standard. It's almost as easy as python to pick up.
Django compressor helps greatly in the last case.
On Sun, 28 Jan 2018, 16:49 Avraham Serour, <tovmeod@gmail.com <mailto:tovmeod@gmail.com>> wrote:
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 Tiainen <redetin@gmail.com
<mailto:redetin@gmail.com>> wrote:
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
<miked@dewhirst.com.au <mailto:miked@dewhirst.com.au>> wrote:
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
<http://stromberg.dnsalias.org/%7Estrombrg/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+unsubscribe@googlegroups.com
<mailto:django-users%2Bunsubscribe@googlegroups.com>.
To post to this group, send email to
django-users@googlegroups.com
<mailto: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/fa0e9f0b-fece-344d-74f2-5b9470b40657%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.
-- Jani Tiainen
- Well planned is half done, and a half done has been
sufficient before...
-- 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
<mailto:django-users+unsubscribe@googlegroups.com>.
To post to this group, send email to
django-users@googlegroups.com
<mailto: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/CAHn91od4EbPY210baiuJq59cf2nEue6TQ1-3wiU8auk-uLKCYQ%40mail.gmail.com
<https://groups.google.com/d/msgid/django-users/CAHn91od4EbPY210baiuJq59cf2nEue6TQ1-3wiU8auk-uLKCYQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
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
<mailto:django-users+unsubscribe@googlegroups.com>.
To post to this group, send email to django-users@googlegroups.com
<mailto: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/CAFWa6tJ_kfQ6RdW_d_QmXXTPt%2Bpt7HKPtnt_7eie17O60yaoaQ%40mail.gmail.com
<https://groups.google.com/d/msgid/django-users/CAFWa6tJ_kfQ6RdW_d_QmXXTPt%2Bpt7HKPtnt_7eie17O60yaoaQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
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 <mailto:django-users+unsubscribe@googlegroups.com>.
To post to this group, send email to django-users@googlegroups.com <mailto: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/CAGuvt90b-QZ54tvfNAKDBMUV-saEMXsb4G72gLiRSp2tzxjqKw%40mail.gmail.com <https://groups.google.com/d/msgid/django-users/CAGuvt90b-QZ54tvfNAKDBMUV-saEMXsb4G72gLiRSp2tzxjqKw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
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/f92268fe-a077-a2d1-f8d4-64810031e2ae%40dewhirst.com.au.
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/CAK4qSCescFKH4vTrxSy1E3-HJ4n5-BZd5iw7%2BDQmuSkDqiua-g%40mail.gmail.com.
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/CAGuvt91kwYH89pHpMCEV8gOzztNVddRCfCho8dBse4yGH900EA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment