Welcome to the nuBuilder Forums!

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

Questions related to using nuBuilder Forte.
Post Reply
stratisk
Posts: 3
Joined: Thu Mar 25, 2021 8:52 am

Independed project with new path, php code and new database

Unread post 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
kev1n
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

Unread post 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.
stratisk
Posts: 3
Joined: Thu Mar 25, 2021 8:52 am

Re: Independed project with new path, php code and new data

Unread post by stratisk »

Thank you for your prompt an helpful answer.

What about the code generation (php or other)?

Thanks
Stratis
kev1n
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

Unread post by kev1n »

stratisk wrote: What about the code generation (php or other)?
I don't quite get your question. Can you elaborate a bit?
stratisk
Posts: 3
Joined: Thu Mar 25, 2021 8:52 am

Re: Independed project with new path, php code and new data

Unread post 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
kev1n
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

Unread post 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...
Post Reply