Progressive web application issue

Hello! Im trying to create progressive web application with scriptcase. And im following video from Scriptcase tutorial. That guy there is using html file from scriptcase, but actually scriptcase doesnt have index.html file. It has only index.php file as main one. Im wondering if anyone have created PWA already, and could tell me if i should create html file by myself, or it can be found some where.

Also i noticed that this index.html file is located outside the main folder with applications.

Okay, where to start. There really isn’t a concept of a “progressive web application” in scriptcase. There’s plenty of forum posts discussing this topic. That being said, if you are prepared to use scriptcase as a sort of PHP IDE and leverage their macros and framework (sort of a framework) you can let your progressive web application development imagination run wild. Let me explain.

When I started off with scriptcase I wanted a quick way to develop a web application. Now, if you’re okay with keeping within the guard rails of scriptcase’s philosophy, you’ll be able to create an application with very little need for traditional coding. However, try and be contemporary or a little creative you’ll end up creating a nightmare of inconsistencies both visual and methodological. I found myself in this quagmire very early. My project stalled and my blood pressure rose. I wanted more than the “out of the box” solution allowed. So, close to going back to another PHP framework, or even JS framework like Vue, which allows progressive web application development, I did a stock take on what scriptcase can offer; rather than give up on it. We’ll my short answer is, plenty. I’m going to write an in-depth post in the future about my journey, but what I can say now is, blank applications+macros+internal/external libraries+code snippets, just to name a few very useful time saving features, and you can create amazingly unique, feature rich progressive web applications to compete with any other development framework.

2 Likes

Alright, understood. Thank you for your answer, will wait for ur post in futurer

Could you kindly provide the community with what you found about PWA with ScriptCase, I am trying my best to search how to do but still lost. It will be much appreciated, thank you.

In essence, PWA has nothing to do with the back end, its a matter of the front end. A full PWA can run locally on your mobile device without a connection to the internet. For real-time web applications that is not convenient, but the idea is that you can verify the connection in JavaScript, generate a decent message when the connection is not there, and continue as soon as the connection exists. It is pure a matter of storing a minimum amount of JavaScript, html and css for a basic PWA functionality. The back-end can be anything that produces a webpage and that can be Scriptcase or any other server hosted environment. The problem with SC is not that it is not capable to create a PWA. The webinar around it is not very clear, is making use of a lot of 3rd party stuff that needs to be downloaded and installed. That makes it hard for people to understand.

If you want to see how the principle of PWA work, then start here:https://github.com/g105b/pwa