Wisej.mobile year 2018?

0
0

Hi,

I very need a wisej solution for develop responsive webapp. Is it possible to use it? alpha too?

I read about it in 2016

regards

Cristian

  • You must to post comments
0
0

Have you had much luck with your service worker? Tested it out much?

I tried using a service worker with my WiseJ progressive web app, but it resulted in all of the files being cached permanently. Even when I would rebuild and publish to server, clear browser cache, etc, it will still show up as old versions of the file.  When not configured fully and properly, SW can be very problematic if you end up caching a resource that you then update. And your clients will be stuck on the old version until they unregister the faulty SW.

regards,

Andrew

 

  • Cristian Zerbinati
    Now I’m testing about cache, and yes I have your same problem. We update as soon as I found solution
  • Cristian Zerbinati
    Hi Andrew, for now the cache problem seems solved server side, simply adding the following meta in the default.html HTTP-EQUIV = “Expires” CONTENT = “0” HTTP-EQUIV = “Pragma” CONTENT = “no-cache” HTTP-EQUIV = “Cache-Control” CONTENT = “no-cache” and obviously no files in the service worker self.addEventListener(‘install’, e => { console.log(‘PWA Service Worker installing.’); let timeStamp = Date.now(); e.waitUntil( caches.open(‘eprime_service_worker’).then(cache => { return cache.addAll([ ]) .then(() => self.skipWaiting()); }) ) });
  • Andrew Niese
    I am still trying to figure out how to cache files the “right” way. It seems to be a very powerful feature. For example, if you are on a bad 3G connection, all of the WiseJ resources can be cached for you automatically — and your app will load much faster. But if done the wrong way, the cache will be permanent and your resources will never update.
  • You must to post comments
0
0

I do a test with the responsive sample and PWA standard! Very good!!! Now don’t need to create native app 😀

Test pwa link https://www.eprime.it/pwa

Thanks

Regards

Cristian

  • You must to post comments
0
0

well, the bouncing in Iphone is fixed with css.

in Android with firefox there is a little problem of scrolling, but with chorme it is impossibile to scroll

is it fixable?

thanks

Cristian

  • Andrew Niese
    I assume you are talking about scrolling problems with the ListView control on mobile, which as you know only scrolls a few rows at a time, and results in a chaffed thumb from repeated motion & contact with the screen. This is because of the virtual scrolling / virtual paging system ListView uses… per Luca, “When you scroll down the client asks for the new rows, removes the ones at the top and generates the new ones. That’s how it works now and it can handle unlimited rows.” The “drag momentum scrolling” we desire only works “if the elements to scroll already exists, like in a ListBox”… WiseJ is aware of the problem but say it is a low priority, and relatively difficult because of the large amount of code involved. As a workaround they suggested “1) use a lazy loading panel 2) use a third party grid/list that fills all the rows without virtual scrolling. 3) use a scrollable panel with child controls.” Hopefully this will be fixed soon, because ListView is awesome & ubiquitous, and useful for mobile web apps (provided it can scroll correctly) Hope this helps and is informative
  • Tiago (ITG)
    There is a ticket WJ-9082 “Improve touch scrolling for DataGridViews and ListViews (in detail mode)” but I don’t know when it’s scheduled to be fixed.
  • Cristian Zerbinati
    @Andrew: thank you, you have well explained the problem, I will use a panel or at least a tablelayoutpanel, I will lose the resizable Header, patience. @Tiago: I hope soon… and news about mobile framework?
  • You must to post comments
0
0

Hi Tiago,

thank you, not bad! it is displayed well

with Samsung Galaxy S7 is a bit flicker, with Iphon 8 it’s smooth but when you scroll down, the whole page goes down next bounces

is it possible to improve these things?

very thank you

Cristian

  • You must to post comments
1
0

Hi Cristian,

Please have a look at Responsive example in GitHub.

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.