Generated AppGini as "portable" Php DB application

Wish to see a specific feature/change in future releases? Feel free to post it here, and if it gets enough "likes", we'd definitely include it in future releases!
Post Reply
agerhardt
Posts: 9
Joined: 2021-11-06 15:36

Generated AppGini as "portable" Php DB application

Post by agerhardt » 2022-04-06 09:21

Hello AppGini Team,

is such a great thing for "non programmers" to create a very great and functional DB application!

Is this possible to make the generated AppGini code to run on the Server in a specific folder, to make it like a "portable Php application?

For another multilingual DB project I want to introduce every language Version of a application in a specific folder on the server.
The german version in the applicatin in the folder root/de/, the polish version in the folder root/pl/ etc. etc.

This don't work.

So, that's my opinion that this will be a great enhancement for the AppGini.

Many regards, Adrian

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1635
Joined: 2018-04-01 10:12

Re: Generated AppGini as "portable" Php DB application

Post by pbottcher » 2022-04-07 20:34

Hi,

not sure if that would work, but did you try to use something like

- rootdir
--- de (dir)
--- pl (dir)
--- en (dir)
etc..

Create your app in your languages and store the in the subdirs.
In the rootdir you create a redirect to the index.php of one of the subdirs.

In each app you have you language selector that will take the current url and redirect to the respectivce "new" language dir.

eg. you are in rootdir/de/sometable_view.php and select pl as language, then you redirect to rootdir/pl/sometable_view.php.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

agerhardt
Posts: 9
Joined: 2021-11-06 15:36

Re: Generated AppGini as "portable" Php DB application

Post by agerhardt » 2022-04-09 09:10

Hello Mr. Pöttcher,

yes, this is a possible solution.

Another one can be working with Subdomains.
I can set in my server admin software that subdomains should be folder in the root.

Thank you.

Best regards, Adrian

Post Reply