Hello,

Thank you for creating this module, it was a big help for a project I'm working on.

I have modified this module to add support for the Google Visualization API. The visualizations rely on a specially formatted JSON string as a DataSource URL. The format can be found in the Google Visualization API Reference.

My additions to this module add support for another JSON format (Google's) and add a function to output that format as a JSON DataTable. This feature is working now and recognizes numbers, dates, and strings. I should be able to create a patch in the next few days.

What is the roadmap for Views Datasource? Would you be interested in including my code or should I create my own module?

Comments

allisterbeharry’s picture

Sorry for getting back to you so late. It's great that you've added support for another JSON format and I'm definitely including your code.
As you may have noticed the module breaks a lot of rules wrt theming, so I have to split it up into the logical parts to make it a first class Drupal citizen. So your code is going in just in different places compared to the Alpha releases.

II've gathered enough info on how people use the module in the real world, so the next release which will be the first beta release will incorporate fixes and suggestions from issues filed and structured appropriately in the Drupal way.

bendiy’s picture

Great to hear. I think a full rewrite of the Datasource module is needed for it to be compliant.

I might be able to help you with it. So far my work on a Google Json Datasource has been mainly in getting it to work properly. However, I'm planning on refactoring my code and at that time implementing it in the proper Drupal fashion. I'll check in on your progress when I'm ready to start.

kenorb’s picture

Assigned: bendiy » Unassigned
Issue summary: View changes