Page 1 of 1

Generated AppGini as "portable" Php DB application

Posted: 2022-04-06 09:21
by agerhardt
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

Re: Generated AppGini as "portable" Php DB application

Posted: 2022-04-07 20:34
by pbottcher
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.

Re: Generated AppGini as "portable" Php DB application

Posted: 2022-04-09 09:10
by agerhardt
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