Thursday, October 30, 2014

Re: Do you think Django's future is threatened by JS frameworks in both client & server?

On Thu, Oct 30, 2014 at 2:54 PM, bobhaugen <bob.haugen@gmail.com> wrote:
> On Wednesday, October 29, 2014 12:26:01 PM UTC-5, Chris Hawkes wrote:
>>
>> All this being said, there is definitely a trend towards SPA's.
>>
>
> Does anybody else besides me hate the SPA trend? I much prefer apps that
> are separated into logical components where each component has its own URL,
> rather than an a seemingly-infinite scroll.
>

SPAs can (should) be separated into logical components that have their
own URLs - the fact that those distinct URLs load an SPA in to
specific states is desirable.

The trouble with SPAs is that people get tempted to do "un-webby"
things - SOLR's web interface springs to mind, the "application"
regularly polls the server to see if it is still there. If it is not,
it shades the page, making everything on the page unselectable and
says "instance gone away". All you can do then is reload the page when
it comes back, which loses anything input to that page.

OTOH, gmail is a SPA with deep links that work correctly and don't
ever cause problems. It does paging instead of infinite scroll.

Cheers

Tom

--
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFHbX1JwEtY1odiyuiXu8e_bexpNzF43MDeUM-e4e8Uued%3DnsA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment