Message Boards Message Boards

How can I write and deploy a GUI DB application with Mathematica?

Posted 9 years ago
POSTED BY: M G
6 Replies
Posted 9 years ago
POSTED BY: M G
Posted 9 years ago

I think that there is one possibility missing in your list: If you need to access a database (engine) which can't be accessed by an API over http you could to buy a license of CDF Player Pro per seat (roughly priced a little lower than 10% compared to a full commercial mathematica license, probably cheaper if you buy many). You can think of that as a "Runtime Environment" of Mathematica, it will allow to run notebooks, CDF documents and packages with no restrictions applied, that means you can use DatabaseLink` to access the database and will not have any restrictions on inputfields (in CDF Player I think you can only have numeric inputfields). If you have a huge number of users, you can also consider the Enterprise version of Mathematica which lets you create CDF-Documents which are signed in such a way that they work in a free CDF Player as if that would be a CDF Player Pro. You should be aware of the fact that it needs some expertice to deploy your application in a way that non-Mathematica users can easily use them with that constellation (it's not really difficult but it is a little hard to find all relevant stuff in the documentation).

Whether or not Mathematica is a good choice for such an application depends on a lot of factors and it is certainly not possible to answer that questiong without having much more information. There are certainly good alternatives but my experience is that the main factor about success/failure of such projects is whether the authors/developers, operators (IT personal) and users support/accept the chosen technology. If someone in that chain dislikes the choice and wants to to proof his point, the project will fail. Unfortunatly Mathematica and CDF Players are not very well known as a platform among most of these groups so it will ususally take some effort to convince everyone in that chain that it is a good choice. I honestly would hope that WRI would show more effort to change that situation, but for the moment much of that burdon will be on your shoulders...

POSTED BY: Albert Retey
Posted 9 years ago

M G,

The most appropriate solution for your scenario is where you, the developer, purchases an Enterprise version of Wolfram Mathematica, develops your database gui/dashboard in a notebook, and generate Enterprise CDF documents from that notebook. Your users will then use the free Wolfram CDF Player and the EnterpriseCDF file to interact with the databases.

EnterpriseCDFs are a special version of CDF documents that allow database-connectivity functionality (DatabaseLink functions). See this comparison chart for details (the page is for Wolfram CDF Player Pro software, but contains the info you need):

https://www.wolfram.com/player-pro/how-player-pro-compares.html

Regards,

Igor

POSTED BY: Igor A

Igor,
Thanks for your remark on the Enterprise CDF. If I understand correctly you can generate CDF player pro versions (free player plus enterprise CDF file) for every user of your application. So itÂ’s like having an unlimited amount of player pro licenses available without having to manage licenses.
The ability to use JDBC is an advantage because native sql for your database local or in the cloud can be used (no urlfetch or json needed). The distribution of enterpriseCDF is only internally allowed. Is internally also my company and my customers?
check this video starting 16.38 on EnterpriseCDF http://www.wolfram.com/broadcast/video.php?sx=cdf&v=798

Posted 9 years ago

Pieter,

I'm not familiar with the exact licensing details for deployment of EnterpriseCDF externally and what "externally" really means. For that you'd have to review this (http://www.wolfram.com/cdf/adopting-cdf/licensing-options.html) and likely talk to someone at Wolfram.

My generic understanding is that If I create an EnterpriseCDF file, I can distribute it to anyone within my corporation. I can also distribute it to the public/my customers if it's available for free. If I want to sell my CDF file, then it's a different type of licensing agreement. You'll have to check though, as I'm not certain.

Igor

PS: Note a distinction. Your statement " CDF player pro versions (free player plus enterprise CDF file)" is not correct.

"Wolfram CDF Player Pro" is a different software. It's in between "Wolfram CDF Player" and "Mathematica." FreeCDF and EnterpriseCDF are licensing models for .CDF files.

POSTED BY: Igor A
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract