Hi Jim

On Monday, September 28, 2015 at 9:03:57 PM UTC+2, Jim Porter wrote:
> The database backend was a similar case; we were able to copy it
> wholesale from the old app, but only because we'd spent time pre-NGA
> cleaning up the code. In fact, for the database, I think Service Workers
> specifically made some things *harder*. One nice feature of the old
> Music app was that we displayed results as we enumerated over them from
> indexedDB. Now, we have to wait until the entire query is finished so we
> can send the results back in one chunk. I've seen some talk that further
> enhancements to Service Workers will resolve this, but I'm not sure how
> soon we'll have it. It also remains to be seen how badly this will
> affect performance.

I suppose the problem you have now is that you make a request and you can not 
stream the response. Isn't it?

> 
> There are certainly some nice platform features in NGA, like web
> components (which I've been waiting for ever since I used XBL in XUL).
> However, I don't think any specific platform feature made the NGA app
> better. These features provide us some new ways to do things, but on a
> high level, they're things we should have been doing already. I think it
> would be unwise to treat any part of the technology as the reason the
> NGA Music app is better. It was the people working on it.
> 
> - Jim

_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos

Reply via email to