Need advice about which tool to choose?Ask the StackShare community!

Onsen UI

40
136
+ 1
11
RIBs

35
78
+ 1
0
Add tool

Onsen UI vs RIBs: What are the differences?

  1. Architecture: Onsen UI follows a hybrid architecture, combining both native and web technologies, allowing developers to create cross-platform applications using web technologies like HTML, CSS, and JavaScript. On the other hand, RIBs uses a modular architecture that breaks down the application into small, reusable components called RIBs, providing more flexibility in managing complex UI flows.

  2. Component Library: Onsen UI offers a rich set of UI components that are designed to mimic native look and feel across various platforms, making it easier for developers to create visually appealing and user-friendly apps. In contrast, RIBs focuses more on app architecture and workflow, providing tools and patterns to organize and scale UI components effectively while maintaining a clear separation of concerns.

  3. Data Binding: Onsen UI has built-in support for two-way data binding, allowing developers to establish a connection between the UI elements and the data model, ensuring that changes in one are reflected in the other automatically. RIBs, on the other hand, emphasizes unidirectional data flow, where data changes flow down the hierarchy of components, making it easier to track the state of the application and prevent unexpected side effects.

  4. Navigation: Onsen UI offers a powerful navigation system that supports various navigation patterns, such as stack navigation, tab navigation, and side menu navigation, making it easy to create complex navigation structures in mobile applications. RIBs, however, provides a more structured approach to navigation, using a tree-like hierarchy of components to define the flow of the application and manage the navigation state more efficiently.

  5. Testing: Onsen UI comes with built-in tools and utilities for testing mobile applications, including support for automated testing frameworks like Appium and Selenium, making it easier for developers to write and execute tests to ensure the quality and reliability of their apps. RIBs, on the other hand, focuses on testing at the component level, providing tools and strategies to isolate and test individual components in isolation, allowing for more thorough and targeted testing of the application.

  6. Community Support: Onsen UI has a large and active community of developers and contributors, providing extensive documentation, tutorials, and support forums to help developers get started and troubleshoot any issues they encounter while building their apps. In comparison, RIBs is relatively newer and has a smaller community but is backed by a dedicated team and offers comprehensive documentation and resources to support developers in adopting and implementing the RIBs architecture effectively.

In Summary, Onsen UI and RIBs differ in architecture, component library, data binding, navigation, testing, and community support, offering developers distinct approaches to building cross-platform mobile applications.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Onsen UI
Pros of RIBs
  • 3
    Hybrid mobile
  • 3
    Works with any JavaScript framework
  • 3
    Allows for rapid prototyping
  • 2
    Free
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    What is Onsen UI?

    Onsen UI helps you develop both hybrid and web apps. If developing hybrid apps, you can use it with the Cordova / PhoneGap command line, or with Monaca tools (CLI, Monaca IDE - cloud-based IDE for Cordova, Localkit - desktop GUI).

    What is RIBs?

    RIBs is the cross-platform architecture framework behind many mobile apps at Uber. The name RIBs is short for Router, Interactor and Builder, which are core components of this architecture. This framework is designed for mobile apps with a large number of engineers and nested states.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Onsen UI?
    What companies use RIBs?
    See which teams inside your own company are using Onsen UI or RIBs.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Onsen UI?
    What tools integrate with RIBs?
      No integrations found

      Sign up to get full access to all the tool integrationsMake informed product decisions

      What are some alternatives to Onsen UI and RIBs?
      Ionic
      Free and open source, Ionic offers a library of mobile and desktop-optimized HTML, CSS and JS components for building highly interactive apps. Use with Angular, React, Vue, or plain JavaScript.
      React Native
      React Native enables you to build world-class application experiences on native platforms using a consistent developer experience based on JavaScript and React. The focus of React Native is on developer efficiency across all the platforms you care about - learn once, write anywhere. Facebook uses React Native in multiple production apps and will continue investing in React Native.
      Framework7
      It is a free and open source mobile HTML framework to develop hybrid mobile apps or web apps with iOS native look and feel. All you need to make it work is a simple HTML layout and attached framework's CSS and JS files.
      Bootstrap
      Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web.
      jQuery Mobile
      jQuery Mobile is a HTML5-based user interface system designed to make responsive web sites and apps that are accessible on all smartphone, tablet and desktop devices.
      See all alternatives