Scales

screenshot of Scales

Scales is a Web Component based UI framework written in Scala.js.

Overview

Scales is an innovative UI framework focused on providing developers a modular and comprehensive web development experience using Scala.js. This framework is specifically designed to streamline the creation of web components by combining the robust capabilities of Scala with the flexibility of web technologies. While currently in its proof-of-concept phase, Scales offers an appealing alternative for developers who prefer Scala over traditional JavaScript, allowing them to extend and customize components easily.

Despite being in the early stages of development, Scales presents exciting prospects for building modern web applications. With several key features planned for the future, it has the potential to significantly enhance the way developers approach UI design and component integration in their projects.

Features

  • JavaScript Wrapper: Provides a convenient wrapper for Web Components APIs, streamlining interaction with web elements using Scala.
  • Static Typing: Supports a statically typed custom component definition, improving code reliability and reducing runtime errors.
  • MVC Framework: A Model-View-Controller framework is in the pipeline, supplementing scalable application architecture.
  • Two-Way Data Binding: Planned functionality for binding component attributes, ensuring seamless synchronization between model and view.
  • Dependency Injection Container: Will facilitate automatic resolution of components and services, enhancing modularity.
  • Core UI Components: Future implementation of essential UI widgets and layout components to simplify development tasks.
  • Integrated Services: Planned services like Ajax, internationalization (i18n), and routing support to be embedded as native components for ease of use.