Welcome, Guest
Username: Password: Remember me

TOPIC: [HOW TO] Create a custom JDom Class

[HOW TO] Create a custom JDom Class 05 Dec 2012 10:15 #5832

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hi @admin and fellow cooks,

I just wondered whether anyone could share any of their knowledge on how to create a custom JDom class.

Specifically, I need to create an abstraction layer to use an ajax data-grid instead of the default grid and in all honest, I have no idea where to begin. I intend to implement a data-grid called OpenJSGrid - a jQuery/PHP/AJAX grid that allows inline editing of table rows. The grid itself has a php class, a whole bunch of jQuery methods and can handle complex queries to join data from other tables simply.

The biggest problem for me at the moment is working out exactly how to abstract all of the calls and methods on the grid in a JDom class as the structure of the JDom files/folders has changed drastically since I last looked at it a fairly long time ago now.

BTW, I did mention this in another post a while back but it's not until now that I've got around to looking at it! For more info on OpenJSGrid, please see my other post here: www.j-cook.pro/forum/7-design-your-appli...ith-data-entry-#4421
See OpenJSGrid in action:
OpenJSGrid Site (Updated since my last post as they've released version 2.0): square-bracket.com/openjs

Any help would be massively appreciated.

Many thanks,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: [HOW TO] Create a custom JDom Class 05 Dec 2012 11:54 #5834

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
  • Karma: 30
I'm interested too. Will look into that tonight.
The administrator has disabled public write access.
The following user(s) said Thank You: JoomGuy

Re: [HOW TO] Create a custom JDom Class 06 Dec 2012 07:43 #5859

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Well, here a french tutorial I finished this week, and I need now in english for the website :

www.j-cook.pro/files/workshop.zip

JDom is explained inside.

Have fun.
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: JoomGuy

Re: [HOW TO] Create a custom JDom Class 02 Jan 2013 14:11 #6313

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hi @admin,

Just translated them into English and sent PDFs, Pages and Word Docs of first drafts to you via email...

Hope they're OK,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: [HOW TO] Create a custom JDom Class 02 Jan 2013 15:37 #6315

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Now available in English :

www.j-cook.pro/docs/tutorials

Thank you audibleid
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.111 seconds

Get Started