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
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Independed project with new path, php code and new database
-
- Posts: 3
- Joined: Thu Mar 25, 2021 8:52 am
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Independed project with new path, php code and new data
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.
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.
-
- Posts: 3
- Joined: Thu Mar 25, 2021 8:52 am
Re: Independed project with new path, php code and new data
Thank you for your prompt an helpful answer.
What about the code generation (php or other)?
Thanks
Stratis
What about the code generation (php or other)?
Thanks
Stratis
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Independed project with new path, php code and new data
I don't quite get your question. Can you elaborate a bit?stratisk wrote: What about the code generation (php or other)?
-
- Posts: 3
- Joined: Thu Mar 25, 2021 8:52 am
Re: Independed project with new path, php code and new data
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
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
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Independed project with new path, php code and new data
stratisk wrote: I am wondering if is produced some relative code and are created some .php files.
Everything (your forms, objects, code) resides in the database.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?
I probably still do not fully understand what you are trying to achieve...