Difference Between Webapps and Dataiku Applications¶
Their names and use cases might be similar, but Dataiku applications and webapps are different and have different purposes in Dataiku DSS.
- In summary:
Webapps are great for developers who want to create custom or interactive visualizations.
Dataiku applications are ideally suited for business teams who need to create and share business applications with many users across an organization.
Let’s look at each of these in more detail.
A developer uses code to build a webapp so that it can be consumed by other Dataiku DSS users. One common use of webapps is to create advanced visualizations or custom applicative frontends.
The following example demonstrates a webapp in Dataiku DSS:
A webapp can be written in many different programming languages:
Standard (written in HTML/CSS/JS, and optionally with a Python backend),
R (using the Shiny library),
Python (using the Bokeh or Dash libraries).
Knowledge of at least one of these technologies is required to create a webapp. While webapps offer flexibility, the developer has to write their own frontend and backend.
The following example demonstrates the creation of a webapp using Bokeh:
Developers create webapps within a Dataiku DSS project. Any user with the correct permissions can access the webapp. Developers can also share their webapps with non-DSS users.
While Dataiku DSS does not automatically allow concurrent usage of a webapp, the developer can implement code to allow more than one user to access the same webapp at the same time.
A Dataiku application is a project that has been packaged by a Dataiku DSS designer as a visual application. For example, this sales forecasting application started out as a project. It was packaged by the designer of the project to allow users to build their own sales history dashboards by entering information into a custom field:
The purpose of a Dataiku application is to package a Dataiku DSS project and share it with other users, such as business analysts, so they can complete specific tasks without having to run the recipes in the project itself.
While coding skills are not required, application designers may need strong knowledge of Dataiku DSS. The application designer simply accesses the Application Designer from their project in Dataiku DSS when they want to create a Dataiku application:
Let’s say a data-driven marketing team relies on a single data scientist to build dashboards for monitoring performance by region and quarter. The data scientist receives multiple requests each day for up-to-date data using different input parameters.
Instead of manually resolving each request individually, the data scientist can package her project into an easy-to-use Dataiku application, so the members of the marketing team can choose the parameters they want and in a few seconds, get the insights for their business needs.
Each application contains a description at minimum. The designer of the application can include input fields, such as a method for a user to input a dataset, action buttons, and results such as dashboards, output datasets, or file and folder downloads. Since the designer of the application can package any Dataiku DSS project, the application can execute code recipes, train models, and execute remote connections such as Kubernetes.
In addition, Dataiku DSS allows multiple users to run a Dataiku application at the same time using different data or parameters. Dataiku DSS users can find applications on the home page in a dedicated Applications section or access them from the Applications menu. To manage access, the application designer can configure the execute permissions for the application.
Finally, an application designer can package their application in a recipe so that it can be executed externally via the public REST API.