site for data tables sandbox - code examples and demos?

site for data tables sandbox - code examples and demos?

fbasfbas Posts: 1,094Questions: 4Answers: 0
edited August 2011 in General
It can be pretty hard to help debug someone's code without being able to see a working site - but not everyone is at liberty to post their production or test sites due to confidentiality or firewalls. It's also not always easy to explain and provide code on the forums to fully demonstrate a solution. We would probably benefit from some space online somewhere where we have access to 1) datatables and jquery javascript libraries, 2) a db for read and maybe (limited) write access (especially if a pre-made sample table and a limited writable table is already set up), 3) a few PHP scripts to connect the two.

Some have used jsfiddle, and that might be an interesting solution, but I want to get people's feedback to see if there are better suggestions, sites, or if someone wants to host a site for this.

If jsfiddle or some other site is our best option, perhaps someone can give a quick lesson on how to use it, quickly and efficiently set up a datatables problem set or solution set, etc.

Thoughts?

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    jsfiddle is the one I've been using a fair amount recently, but obviously there is no MySQL db available for testing. I could possibly open a test db with world readable access on this server, although I'm slightly reluctant to do that (just paranoid!). Ideally a second sandbox server could be brought online to do just that with something like jsfiddle running on it - it is certainly a very nice idea!

    Ideally it would be great to get DataTables onto a CDN so it can be included nice and quickly. A template setup for jsfiddle would be nice as well - or even a way to clone the examples into something like jsfiddle. That would be very useful indeed. I'll look into options, but I suspect it will come down to the cost of running and the time to develop and maintain it.

    The schema and data for the test db I use is available here if you are interested: http://datatables.net/development/server-side/sql .

    Regards,
    Allan
  • ShatyUTShatyUT Posts: 6Questions: 0Answers: 0
    jsfiddle is great! I use it all the time to test another javascript framework that we use. It would be very helpful to have a version of datatables to point to from jsfiddle. I'm currently looking into a bug I'm seeing and would like to reproduce it there so that you can take a look. I'm only seeing the issue in Chrome and it's a recent development which I'm thinking is tied to some recent Chrome update. My code hasn't changed around this part of my site.

    I'd be happy to set up a template on jsfiddle if there were an external link to the datatables js and css files.

    Jason
This discussion has been closed.