Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

[SOLVED] Re-use tables in other projects 06 Oct 2011 10:51 #118

  • Kevin
  • Kevin's Avatar Topic Author
  • Visitor
  • Visitor
It would be great if we were able to drag a table into another project.

I'm sure we all have some standard tables we use again and again.

This way we could create a project with all our favourite tables and drag them over when we need them.

Please Log in or Create an account to join the conversation.

Last edit: by admin.

Re: Re-use tables in other projects 06 Oct 2011 11:34 #123

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Yes, we already thought of this.
We will make disponible standard Joomla tables, Third project tables, and also let you the possibility to create third tables in your project that will be virtuals (not generateds in project).

The problem we face is for the sandbox. In facts, if the sandbox don't contain theses tables, it will lacks.
So, this work is in standby for now, and not a priority, but very nice functionality of course.


If you look in your code, you'll see how easy you can reach your datas and compose/filter the SQL query directly in the view file.
If the table you reach has been built with Cook, there are some added functionalites in the model (addJoin(), addWhere(), addOrder(), addGroupBy(), ... )
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Re: Re-use tables in other projects 06 Oct 2011 12:16 #126

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
And also for security reasons, we don't want you access to the sandbox tables ;-)

The #__users table is replaced with a fake users table when you run your project in sandbox.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Re: Re-use tables in other projects 06 Oct 2011 19:37 #141

  • Kevin
  • Kevin's Avatar Topic Author
  • Visitor
  • Visitor
Yes I understand,,,looking forward to this

Please Log in or Create an account to join the conversation.

[SOLVED] Re-use tables in other projects 11 Oct 2016 19:07 #14629

hi,
I was investigating new sql importer,
and was wondering if it works as virtual tables,

now I understand that is some other feature marked as "Third tables" in:
www.j-cook.pro/index.php/docs/feature-requests

Would it enable to integrate with other joomla components?

for example if I have a project with massive forking, from earlier versions of builder
and want to make a tiny modification in builder.

Super solution would be to move some functionality
to new component and only link to the proper tables form the main database.

making the story short:
I bump the topic ;)

Please Log in or Create an account to join the conversation.

[SOLVED] Re-use tables in other projects 12 Oct 2016 09:01 #14630

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Yes, this is the idea.

This will require you to import the SQL structure into a new component in the builder, even if that component is not downloaded. Just linked to your main component.
So, whatever if it is a Joomla extension or a split component, this will work the same.

This feature is very long to achieve because I need to implement a lot of things. Both in the generator and in the builder interface. Structural changes, so I need to be very accurate to implement it.
I know it is asked by a lot of people, and has a big score in the Features Requests.
Coding is now a piece of cake
The following user(s) said Thank You: krasy

Please Log in or Create an account to join the conversation.

[SOLVED] Re-use tables in other projects 12 Oct 2016 10:34 #14631

thx form reply,
to achive this for now I have been successfully experimenting with database views
mariadb.com/kb/en/mariadb/create-view/

its a workaround,
but it doesn't need any modifications in component,
only installation procedure of database changes a bit,
greetings and good luck!

Please Log in or Create an account to join the conversation.

Last edit: by krasy.
  • Page:
  • 1
Time to create page: 0.075 seconds

I've evaluated lots of other Joomla Component Dev tools such as Shell Manager (J)enesis Danny's Joomla! 1.5 MVC Component Code Generator Marco's Component Maker and I must admit that I love what I see on your site! Lots of potential... Otherwise Great Job and keep up the good work!!!
Clifton (forum)

Get Started