awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
justinfrench avatar

justinfrench/formtastic

0
View on GitHub↗
5,215 星标·625 分支·Ruby·MIT·6 次浏览

Formtastic

Formtastic is a Ruby on Rails plugin designed to automate the creation of semantic and accessible web forms. By mapping database models directly to form fields, the library generates structured HTML markup that adheres to accessibility standards, ensuring that labels and inputs are correctly associated for assistive technologies.

The library utilizes a domain-specific language to abstract complex form structures into concise method calls. It distinguishes itself through a metadata-driven approach that inspects database schemas and validation rules to automatically select appropriate input types. Developers can further extend the system through a modular registration process, allowing for the creation of custom input classes to handle specialized data requirements.

Beyond basic generation, the framework provides integrated support for internationalization and error management. It resolves display text for labels, hints, and buttons through a hierarchical translation lookup system and automatically renders context-aware validation error messages. The project is distributed as a Rails engine, providing a standardized environment for building consistent, accessible data entry interfaces.

Features

  • Form Builders - Provides a Rails-integrated form builder that maps database models to accessible, semantically structured web forms.
  • Form Validation - Provides automated validation error messaging to assist users in correcting input mistakes.
  • Forms and Inputs - Supports the creation of specialized form controls to handle unique data entry requirements.
  • Plugin-Based Input Extensions - Offers a modular registration system for developers to inject custom input classes.
  • Model-Driven Form Generators - Generates accessible web forms by automatically mapping database fields and relationships to appropriate input types.
  • Schema-Driven Input Mapping - Inspects database schemas and validation rules to automatically select appropriate input types.
  • Validation Error Reporters - Automatically renders context-aware validation error messages for specific data fields.
  • DSL-Driven Generation - Provides a domain-specific language to abstract complex form structures into concise method calls.
  • Data Entry Forms - Simplifies the creation of complex data entry forms within the Rails framework.
  • Custom Input Overrides - Allows developers to create custom form controls or modify existing ones for specialized data entry.
  • Localized Form Components - Supports multi-language translation for form labels and hints using a structured lookup system.
  • Web Accessibility Compliance - Ensures web forms follow semantic markup standards to improve usability for assistive technologies.
  • HTML Markup Templates - Enforces consistent HTML output by wrapping form controls in standardized fieldsets and lists.
  • Markup-Independent Form Generators - Produces clean, accessible markup for web forms to improve screen reader compatibility.
  • Internationalization - Translates form labels, hints, and button text into multiple languages using a structured lookup system.
  • Key-Based String Localizations - Resolves display text for labels, hints, and buttons through a hierarchical translation lookup system.
  • Form Builders - Generates semantically rich and accessible form markup.
  • UI and View Helpers - DSL for building semantic HTML forms.

Star 历史

justinfrench/formtastic 的 Star 历史图表justinfrench/formtastic 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Formtastic 的开源替代方案

相似的开源项目,按与 Formtastic 的功能重合度排序。
  • heartcombo/simple_formheartcombo 的头像

    heartcombo/simple_form

    8,229在 GitHub 上查看↗

    Simple Form is a Ruby on Rails form builder that provides a domain specific language for generating HTML forms mapped to database models. It functions as an automatic model input mapper, selecting the appropriate HTML input element based on the database column type of a model. The project employs a markup independent approach to separate business requirements from final HTML rendering and CSS. It provides a customizable form component library consisting of extensible builders and wrappers to standardize layout structures and input behaviors. The library covers database-driven form generation

    Rubydslform-builderrails
    在 GitHub 上查看↗8,229
  • formtastic/formtasticformtastic 的头像

    formtastic/formtastic

    5,215在 GitHub 上查看↗

    Formtastic is a Ruby on Rails form builder that provides a domain-specific language for generating semantically rich and accessible HTML forms. It functions as a model-driven framework that automatically maps database schema attributes and associations to corresponding input fields, streamlining the creation of data entry interfaces. The framework distinguishes itself through a hierarchical lookup system that manages internationalized labels, hints, and action buttons across different model and attribute namespaces. It also supports complex data relationships by recursively processing nested

    Ruby
    在 GitHub 上查看↗5,215
  • surveyjs/survey-librarysurveyjs 的头像

    surveyjs/survey-library

    4,782在 GitHub 上查看↗

    This project is a JSON-based form rendering framework and visual creator designed for dynamic data collection. It provides a JavaScript form builder library that transforms JSON schemas into functional web forms and multi-step wizards, with a dedicated visual survey creator for designing layouts and branching logic without writing code. The library is distinguished by its bidirectional PDF integration, which allows the conversion of JSON schemas into fillable PDF documents and the extraction of structured data from existing PDFs. It also features advanced capabilities for creating scored asse

    TypeScript
    在 GitHub 上查看↗4,782
  • coreui/coreui-free-bootstrap-admin-templatecoreui 的头像

    coreui/coreui-free-bootstrap-admin-template

    12,220在 GitHub 上查看↗

    CoreUI Free Bootstrap Admin Template is a pre-built, responsive admin dashboard template built on Bootstrap 5 for constructing back-office interfaces. It provides a library of UI components with native wrappers for React, Vue, and Angular applications, alongside a Sass-based theming system for managing brand colors, dark mode, and design tokens via variables and CSS custom properties. The template includes a set of advanced form controls such as autocomplete, date pickers, and multi-step wizards with built-in validation, and supports switching the entire interface between built-in dark and li

    HTMLadminadmin-dashboardadmin-panel
    在 GitHub 上查看↗12,220
查看 Formtastic 的所有 30 个替代方案→

常见问题解答

justinfrench/formtastic 是做什么的?

Formtastic is a Ruby on Rails plugin designed to automate the creation of semantic and accessible web forms. By mapping database models directly to form fields, the library generates structured HTML markup that adheres to accessibility standards, ensuring that labels and inputs are correctly associated for assistive technologies.

justinfrench/formtastic 的主要功能有哪些?

justinfrench/formtastic 的主要功能包括:Form Builders, Form Validation, Forms and Inputs, Plugin-Based Input Extensions, Model-Driven Form Generators, Schema-Driven Input Mapping, Validation Error Reporters, DSL-Driven Generation。

justinfrench/formtastic 有哪些开源替代品?

justinfrench/formtastic 的开源替代品包括: heartcombo/simple_form — Simple Form is a Ruby on Rails form builder that provides a domain specific language for generating HTML forms mapped… formtastic/formtastic — Formtastic is a Ruby on Rails form builder that provides a domain-specific language for generating semantically rich… surveyjs/survey-library — This project is a JSON-based form rendering framework and visual creator designed for dynamic data collection. It… coreui/coreui-free-bootstrap-admin-template — CoreUI Free Bootstrap Admin Template is a pre-built, responsive admin dashboard template built on Bootstrap 5 for… pmndrs/leva — Leva is a React GUI control panel and real-time parameter editor used to monitor and tweak application state and… taiga-family/taiga-ui — Taiga UI is an Angular UI component library and accessible design system used for building enterprise web interfaces.…