Oct 1, 2024                       • Landon Gray          |        3 min read (551 words)                     Da

🍜 Dashi - A Streamlit like Framework for Rubyists [Preview]

submited by
Style Pass
2024-10-02 04:30:03

Oct 1, 2024 • Landon Gray | 3 min read (551 words)  

Dashi is a minimalist framework inspired by Streamlit, designed specifically for Ruby developers. It streamlines the process of creating data-driven and AI applications by providing an intuitive syntax and pre-built components. With Dashi, you can focus on the core functionality of your app without worrying about the boilerplate code usually associated with web development.

This line includes the Dashi framework into your Ruby script. By using require_relative, it tells Ruby to load the dashi.rb file located in the same directory as your script. This file contains all the necessary code for Dashi to function.

The Dashi.run method initializes the Dashi application. The block passed to this method contains the components and logic of your app. It’s within this block that you’ll define the user interface and functionality.

Leave a Comment