Page 1 of 1
Independed project with new path, php code and new database
Posted: Thu Mar 25, 2021 9:04 am
by stratisk
Hello!
May I create a totally new project with its path, php code and its own database or all must be contained in /nubuilder path and builder4 database?
Thank You very much
Stratis
Re: Independed project with new path, php code and new data
Posted: Thu Mar 25, 2021 10:18 am
by kev1n
Hi,
nuBuilder can just access one database, but what you can do is set up a separate instance that uses another db.
It works best if different subdomains are used, like:
https://nubuilder1.yourdomain.com
https://nubuilder2.yourdomain.com
In your web directory you would have a separate folder structure for each installation.
Instance 1:
nubuilder1/
nubuilder1/core
etc.
Instance 2:
nubuilder2/
nubuilder2/core
etc.
Re: Independed project with new path, php code and new data
Posted: Thu Mar 25, 2021 4:58 pm
by stratisk
Thank you for your prompt an helpful answer.
What about the code generation (php or other)?
Thanks
Stratis
Re: Independed project with new path, php code and new data
Posted: Thu Mar 25, 2021 5:10 pm
by kev1n
stratisk wrote:
What about the code generation (php or other)?
I don't quite get your question. Can you elaborate a bit?
Re: Independed project with new path, php code and new data
Posted: Thu Mar 25, 2021 5:33 pm
by stratisk
When I create forms with fields and other functions and objects, I am wondering if is produced some relative code and are created some .php files.
Additionally if I want to expand the project writing new php code how I can access the forms, objects, tables produced from nubuilder? Where I have to put these new php files and how to connect them with the core project.
Thanks
Re: Independed project with new path, php code and new data
Posted: Thu Mar 25, 2021 7:07 pm
by kev1n
stratisk wrote: I am wondering if is produced some relative code and are created some .php files.
stratisk wrote:
Additionally if I want to expand the project writing new php code how I can access the forms, objects, tables produced from nubuilder?
Everything (your forms, objects, code) resides in the database.
I probably still do not fully understand what you are trying to achieve...