Offline support for 3.3 ?

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.2.x. If you need support for phpBB 3.2.x please visit the 3.2.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Post Reply
Ghostfly
Registered User
Posts: 1
Joined: Sat Nov 24, 2018 10:27 am

Offline support for 3.3 ?

Post by Ghostfly » Sat Nov 24, 2018 10:30 am

Hi !

It would be awesome if PhpBB could support Offline using service workers like Workbox

https://developers.google.com/web/tools/workbox/

I can't find any post talking about that, so, just wondering if anything is in progress ? I plan to try to implement it through a plugin maybe, but could be also directly in PhpBB or at least, in Prosilver

User avatar
DavidIQ Online
Customisations Team Leader
Customisations Team Leader
Posts: 1787
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: Offline support for 3.3 ?

Post by DavidIQ » Sat Nov 24, 2018 5:45 pm

Nope. And it would probably not be something we would pursue as workbox is, generally speaking, for websites that provide mostly static content, which a forum is not. Note how in the benefits they don't mention site data.
Image

User avatar
david63
Registered User
Posts: 253
Joined: Mon Feb 07, 2005 7:23 am
Location: Lancashire, UK

Re: Offline support for 3.3 ?

Post by david63 » Sun Nov 25, 2018 9:11 am

Isn't "offline support" an oxymoron? If it is offline and cannot be accessed then how can you support it - or am I missing something?
David
Remember: You only know what you know -
and you do not know what you do not know!

User avatar
DavidIQ Online
Customisations Team Leader
Customisations Team Leader
Posts: 1787
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: Offline support for 3.3 ?

Post by DavidIQ » Sun Nov 25, 2018 12:33 pm

Offline support is for so called web applications often used in Progressive Web Apps. The idea is for you to "install" the web application via a shortcut and after you load it the data that it's supposed to display will be downloaded locally as storage for the site and used if for some reason the device isn't online or the site is unreachable. This can happen, for instance, if the device is a tablet that doesn't have a 4G card or if the site is an intranet application only accessible through VPN or while on the company's wifi. This only works with small subsets of data though. I can't imagine the entirety of what is displayed for a forum to be downloaded locally. Browsers wouldn't allow that much data to be downloaded for a site, at least not easily.
Image

User avatar
david63
Registered User
Posts: 253
Joined: Mon Feb 07, 2005 7:23 am
Location: Lancashire, UK

Re: Offline support for 3.3 ?

Post by david63 » Sun Nov 25, 2018 12:54 pm

So it is not really support but a copy of a site at some point in time which may or may not be relevant to any problem that the site is currently having - sounds like a waste of time to me!
David
Remember: You only know what you know -
and you do not know what you do not know!

User avatar
DavidIQ Online
Customisations Team Leader
Customisations Team Leader
Posts: 1787
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: Offline support for 3.3 ?

Post by DavidIQ » Sun Nov 25, 2018 1:04 pm

There are some web applications where this makes sense (think about a company phone directory, or a schedule of events, or even a kitchen menu for a work location), but certainly doesn't sound very useful for a forum that has thousands of posts, topics, and users where the data would be constantly changing.
Image

User avatar
david63
Registered User
Posts: 253
Joined: Mon Feb 07, 2005 7:23 am
Location: Lancashire, UK

Re: Offline support for 3.3 ?

Post by david63 » Sun Nov 25, 2018 1:43 pm

DavidIQ wrote:
Sun Nov 25, 2018 1:04 pm
but certainly doesn't sound very useful for a forum that has thousands of posts, topics, and users where the data would be constantly changing.
... as would/could be configuration settings.
David
Remember: You only know what you know -
and you do not know what you do not know!

Post Reply