Welcome, Guest
Username: Password: Remember me

TOPIC: Sandbox 3.9 / Roadmap to 4.0

Sandbox 3.9 / Roadmap to 4.0 17 Feb 2022 07:59 #15916

Just use "empty views" in Component Creator. They will add a new view with an empty default.php for you. In this add or require your custom code. Works perfect for both Joomla 3 and 4.
In the maincase I need backend database management in Joomla and have my own code in frontend. Empty views solves this perfectly. And I am happy that I got rid of JDom, because that had problem with other components.
Switched 7 components I needed so far including some that use the built-it functions for users to add items and this works perfect, too. One more advantage: Users can - if you activate it - only see their data.

My updates are a lot faster now. Just download a package for Joomla 3 and Joomla 4, add your code to the empty view and you're ready to go.
The administrator has disabled public write access.

Sandbox 3.9 / Roadmap to 4.0 17 Feb 2022 08:19 #15917

  • Romkabouter
  • Romkabouter's Avatar
  • Offline
  • Elite Member
  • Posts: 305
  • Thank you received: 128
  • Karma: 48
Yeah, but that will not work for me.

My forks involve models, views and controllers. So only on empty view is useless to me.
The administrator has disabled public write access.

Sandbox 3.9 / Roadmap to 4.0 19 Feb 2022 13:53 #15918

  • rnevins
  • rnevins's Avatar
  • Offline
  • Junior Member
  • Posts: 24
  • Thank you received: 6
  • Karma: 1
Component Creator apparently has recognized the need to better support custom code. They are considering use of event triggers rather than a forking system as described HERE.

Of course, that may or may not be delivered so you can't count on it. I've been able to use the empty view for a couple of my applications but they are relatively simple and of course you must abandon the MVC structure and put functions normally in the models, controllers or helpers in the empty view script. So it isn't very scalable for complex applications.

Just my opinion, I'm no expert!
The administrator has disabled public write access.

Sandbox 3.9 / Roadmap to 4.0 19 Feb 2022 15:18 #15919

  • Romkabouter
  • Romkabouter's Avatar
  • Offline
  • Elite Member
  • Posts: 305
  • Thank you received: 128
  • Karma: 48
rnevins wrote:
of course you must abandon the MVC structure and put functions normally in the models, controllers or helpers in the empty view script
That is exactly what I am forking a lot. I have checked CC out, but without forks I would have to copy and paste all my controllers and models every time I rebuild.
But, maybe I have no choice.
For another component I have switched to laravel, because I not need Joomla on that project.
The administrator has disabled public write access.

Sandbox 3.9 / Roadmap to 4.0 19 Feb 2022 20:50 #15920

  • rnevins
  • rnevins's Avatar
  • Offline
  • Junior Member
  • Posts: 24
  • Thank you received: 6
  • Karma: 1
Not to belabor this but you can keep all your custom code in a separate file (I put mine under the includes directory) and then in the empty view, just put something like the following:

<?php
// No direct access
defined('_JEXEC') or die;
include ("./includes/mycustomscript.php");
?>

I actually just also put these few lines in the comments section at the top of my custom scripts then when you install a new version of the component you just have to copy/paste these couple lines back into the empty views.
Last Edit: 19 Feb 2022 20:51 by rnevins.
The administrator has disabled public write access.

Sandbox 3.9 / Roadmap to 4.0 19 Feb 2022 21:44 #15921

  • Romkabouter
  • Romkabouter's Avatar
  • Offline
  • Elite Member
  • Posts: 305
  • Thank you received: 128
  • Karma: 48
True, I did not say it is impossible ;)
But then I would have to make a copy and then add my custom code.
With forks, the majority of the generated code is intact and I can extend it with custom code.
The administrator has disabled public write access.

Sandbox 3.9 / Roadmap to 4.0 20 Feb 2022 11:10 #15922

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3708
  • Thank you received: 984
  • Karma: 140
Dear subscribers,

Sorry again

I feel a deep pain facing my lack or commitment these last years

When I started Cook Self Service, I never realized to cost of the responsibility that involve such project. I should have built a team since the beginning, instead of keeping working alone. I have enjoyed a lot this freedom of mind, where I can work from any place, and decide for the roadmap.

But along the way, I have been asked for working on others jobs, such as construction, electricity, shows, and it was difficult to maintain my focus and attention on the web-developpement.

The 4 last years started to become chaotic but I still keep Cook for some personal projects, or assisting associations.
Repeating myself...., “I keep that stuff, no way”, but reality is that I lack of time for this project which is of second interrest now.

The enthousiast of the community has always been my motivation engine, and I would like to keep Cook on this friendly-based environment.

Today I am facing a choice. I will stop to maintain the service and not be able to commit my engagement for the V4, but the service can continue

If some of you are interrested to take the baby into github as an open-source project, then I’ll furnish you some support to make it happen.
If some of you would like to buy it, and keep it on a commercial basis, just tell me and we can talk.

The money has never been my motivation. It has always been YOU the people.

The most important is to keep the thing running for all, whatever could be the solution.
Coding is now a piece of cake
The administrator has disabled public write access.

Sandbox 3.9 / Roadmap to 4.0 20 Feb 2022 13:17 #15923

  • Romkabouter
  • Romkabouter's Avatar
  • Offline
  • Elite Member
  • Posts: 305
  • Thank you received: 128
  • Karma: 48
Hey Jocelyn,

Great you have found good ways to provide you with money to keep a living.
I fully understand your choice, such a tool takes a lot of commitment and time for one person.
That is why I am interested in putting it out on git-hub as opensource.
You can drop me a PM or email here or on git-hub, or set some things up in git-hub.
The most interesting part for me on this point is on how to create a local builder or something, because I can imagine that there will not be a server available so everybody has to spin up a private server.

Thank you for you hard work so far and hopefully we can open-source this great tool.
The administrator has disabled public write access.
The following user(s) said Thank You: admin, Nicolas

Sandbox 3.9 / Roadmap to 4.0 20 Feb 2022 13:29 #15924

  • Nicolas
  • Nicolas's Avatar
  • Offline
  • Premium Member
  • Posts: 82
  • Thank you received: 12
  • Karma: 6
Dear all
I followed the subject here with great attention and I can hardly think of the end of the project. I would therefore be available to help. I learned a lot thanks to all of you and I can't stop to think about that we can take it further together.If I can help, let me know
The administrator has disabled public write access.

Sandbox 3.9 / Roadmap to 4.0 20 Feb 2022 17:38 #15925

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3708
  • Thank you received: 984
  • Karma: 140
@Romkabouter you are right, migrating open-source means running on localhost. It is possible but it is a huge machinery at the moment.

In order to be releasing on github, I need to scrap a lot of things around, such as the (complex) sandboxes, the payement gateway, the admin interface for customers,...
I need to unplug it all into all into a new fresh environment first.
Cook Self Service is a joomla component itself, so it will no be difficult to install. It is written into a fork over a cook generated component. You can rebuild to core architecture and keeping customs.

This migration need my presence and involvment, because I need to polish some stuff and also coding the data migration scripts.
In facts, by moving localhost, you will need to re-install your projects, coming from the actual production database.
Coding is now a piece of cake
Last Edit: 20 Feb 2022 17:38 by admin.
The administrator has disabled public write access.

Sandbox 3.9 / Roadmap to 4.0 21 Feb 2022 10:23 #15926

  • Romkabouter
  • Romkabouter's Avatar
  • Offline
  • Elite Member
  • Posts: 305
  • Thank you received: 128
  • Karma: 48
Ok, hopefully you can free up time to get those wheels turning :)
Let me know if I can do something to help
The administrator has disabled public write access.

Sandbox 3.9 / Roadmap to 4.0 29 Mar 2022 12:29 #15932

  • gremonasplet
  • gremonasplet's Avatar
  • Offline
  • New Member
  • Posts: 14
  • Thank you received: 1
  • Karma: 1
I have bought www.component-creator.com/ membership and I am very disappointed :(
What I have done in j-cook I can't done in component-creator.com.
I love j-cook, and I am very sad because there is no J4 support :(
The administrator has disabled public write access.

Sandbox 3.9 / Roadmap to 4.0 29 Mar 2022 21:21 #15933

  • jonathanbell
  • jonathanbell's Avatar
  • Offline
  • Premium Member
  • Posts: 145
  • Thank you received: 4
  • Karma: 1
Let me know what else is needed? Server space? I don't know what I can add, but I do know I want this to still be available as it is an awesome tool.
The administrator has disabled public write access.

Sandbox 3.9 / Roadmap to 4.0 30 Mar 2022 17:19 #15934

  • gremonasplet
  • gremonasplet's Avatar
  • Offline
  • New Member
  • Posts: 14
  • Thank you received: 1
  • Karma: 1
From the component in J-cook you can create a menu item and for the menu item preselect the desired filters. This is awsome :))) I use this a lot in my few components...
i.imgur.com/jVCkgKF.jpeg

This is something I expected to be in every component creator!!!! and it is not :(((

That's why J-Cook is the best component creator ever!!!!

What do we have to do for someone to upgrade J-cook to be compatible with J4?
The administrator has disabled public write access.

Sandbox 3.9 / Roadmap to 4.0 30 Mar 2022 20:18 #15935

  • rnevins
  • rnevins's Avatar
  • Offline
  • Junior Member
  • Posts: 24
  • Thank you received: 6
  • Karma: 1
I've gotten a fair amount of experience now with Component Creator. I agree that J-Cook is more powerful, especially with the forking system. However, at least for my purposes, I'm managed to make CC work for me. To address the menu filter feature you mention, I used the technique described here and it worked for me: joomla.stackexchange.com/questions/24803...-with-filter-options

I have also been making fairly extensive use of placing the template files that need to be customized in the templates/my-template/html directory tree so this doesn't require reapplying changes after reinstall of the component. I've also created custom plugins that fire when an item is saved, triggered on either onTableBeforeStore or onTableAfterStore, for cases where I need to make some other database updates after a save. This only requires one small change on re-install of CC to invoke the PluginHelper to import my custom plugin.

From a structural standpoint, doing things in the template file and through a plugin violate the MVC structure but it gets the job done.
The administrator has disabled public write access.
The following user(s) said Thank You: gremonasplet
Time to create page: 0.146 seconds

Get Started