Welcome, Guest
Username: Password: Remember me

TOPIC: [ADDED] ONE copy of JDOM per joomla installation

ONE copy of JDOM per joomla installation 09 Oct 2013 10:21 #11345

  • Tomaselli
  • Tomaselli's Avatar
  • Offline
  • Elite Member
  • Posts: 293
  • Thank you received: 87
  • Karma: 46
If we have 2 or more j-cook generated components, we'll have 2 or more JDOM copies in the same joomla installation.

Why don't add JDOM as library in joomla and use just ONE copy of JDOM for all the j-cook generated components (and not only)?

this will avoid probable conflicts and will allow us to easily use JDOM anywhere in joomla.
The administrator has disabled public write access.

ONE copy of JDOM per joomla installation 09 Oct 2013 12:23 #11347

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
This is true.
I am gonna make a plugin soon.
Coding is now a piece of cake
The administrator has disabled public write access.

ONE copy of JDOM per joomla installation 09 Oct 2013 13:12 #11349

  • Tomaselli
  • Tomaselli's Avatar
  • Offline
  • Elite Member
  • Posts: 293
  • Thank you received: 87
  • Karma: 46
I'm just making it right now, because I need it soon, I can post it here, if you want. it's almost done, I just need to test it.
The administrator has disabled public write access.
The following user(s) said Thank You: admin

ONE copy of JDOM per joomla installation 09 Oct 2013 13:27 #11350

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Great !
I will focus on dates...
Coding is now a piece of cake
The administrator has disabled public write access.

ONE copy of JDOM per joomla installation 09 Oct 2013 16:54 #11355

  • Tomaselli
  • Tomaselli's Avatar
  • Offline
  • Elite Member
  • Posts: 293
  • Thank you received: 87
  • Karma: 46
here the plugin

it's a first release, done with a bit of hurry, but it works, surely can be written better, maybe moving the postflight body to each single task function, and it also keep track of the jdom version and the WILL of the user.
let me know what you think.
Last Edit: 09 Oct 2013 16:54 by Tomaselli.
The administrator has disabled public write access.

ONE copy of JDOM per joomla installation 04 Nov 2013 19:30 #11537

  • Tomaselli
  • Tomaselli's Avatar
  • Offline
  • Elite Member
  • Posts: 293
  • Thank you received: 87
  • Karma: 46
I just saw now, in the JDOM there are few calls to the component is using it (for example the component helper), so it's not fully working as standalone library.

Why don't you put JDOM on github?
it would be easier to get help in the development.
The administrator has disabled public write access.

ONE copy of JDOM per joomla installation 07 Nov 2013 17:38 #11549

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Thank you very much for your talents.

I've putted on gitHub under MIT License.
I am now integrating the plugin in the generated component and handle all the details.


I have loved the way you parameter the upgrade of JDom because the 3 possible cases are very usefull. (Always, Never, If newer)

github.com/Cook-Self-Service/JDom

K+++
Coding is now a piece of cake
Last Edit: 07 Nov 2013 17:39 by admin.
The administrator has disabled public write access.
Time to create page: 0.069 seconds

Get Started