Seeking some advice how to best handle the following situation, I am a sole-programmer.
I am currently developing a C# Winforms application, new functionality that I am writing allows a user to create Processing.js sketches for data analysis purposes. I have built a Processing.js IDE (working) which allows the user to write and test Processing.js sketches and HTML code.
The final piece of the puzzle is to expose data from the database to the sketches.
What is the best approach I should investigate to acheive this?
Data resides in a Firebird database and is accessed/manipulated using NHibernate. Data access is written in C#, methods in the data access layer return objects from the database that are used throughout the application. Ideally I would like to access this data for the purposes of creating Processing sketches.
The Processing.js IDE also includes the jQuery library. How is it possible to retrieve database data using jQuery. Can I call the C# methods located in the data access layer.
Any advice is appreciated.