Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Version 1.10 needs to be treated as a first class citizen. #333

Open
timgws opened this issue Sep 9, 2015 · 0 comments
Open

Version 1.10 needs to be treated as a first class citizen. #333

timgws opened this issue Sep 9, 2015 · 0 comments
Assignees
Milestone

Comments

@timgws
Copy link
Collaborator

timgws commented Sep 9, 2015

Version 1.10 of jQuery Datatables has been released in May, 2014 and Datatables still does not properly support it.

I want to have support for 1.10 done by the end of the week. The plan is:

  1. Create a new class (Chumper\Datatable\InputEngine) which when initialized will determine if the query needs to be handled by Datatables (Datatable::shouldHandle) and will choose a class that implements the Chumper\Datatable\Response\VersionResponse interface.
  2. Create two implementations of the VersionResponse interface, one for v1.9, and another for v1.10.
  3. Abstract away all of the ordering, searching and limiting code away to the class implementing the VersionResponse interface
  4. Update the existing two engines to use the new VersionResponse implementations to get their ordering.
  5. Create a function inside VersionResponse that allows outputting data that the Datatables will be able to render.
@timgws timgws self-assigned this Sep 9, 2015
@timgws timgws added this to the 5.0 milestone Sep 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant