FormAlchemy

Software Screenshot:
FormAlchemy
Software Details:
Version: 1.4.2
Upload Date: 14 Apr 15
Distribution Type: Freeware
Downloads: 22

Rating: nan/5 (Total Votes: 0)

FormAlchemy greatly speeds development with SQLAlchemy mapped classes (models) in a HTML forms environment. It eliminates boilerplate by autogenerating HTML input fields from a given model. FormAlchemy will try to figure out what kind of HTML code should be returned by introspecting the model's properties and generate ready-to-use HTML code that will fit the developer's application.

Of course, FormAlchemy can't figure out everything, i.e, the developer might want to display only a few columns from the given model. Thus, FormAlchemy is also highly customizable.

Features:

  • Generates HTML form fields and tables from SQLAlchemy mapped classes or manually added Fields
  • Works with declarative or classic mapper definitions
  • Render and edits single objects or collections (grids)
  • Handles object relationships (including many-to-many), not just simple data types
  • Synonym support
  • Composite and custom type support
  • Supports all composite primary keys and most CFKs
  • Pre-fills input fields with current or default value
  • Highly customizable HTML output
  • Validates input and displays errors in-line
  • Syncs model instances with input data
  • Easy-to-use, extensible API
  • SQLAlchemy 0.4 (0.4.5 or later) and 0.5 compatible

What is new in this release:

  • WebOb1.2 compat
  • Add some HTML5 renderer
  • Improve fsblob deletion. issue 16
  • Add support for fanstatic in pytlons (thanks to Bruno Binet aka inneos)

What is new in version 1.4.1:

  • Implemented WebOb-like request passing to FieldSet directly.
  • Also implemented request passing to Grid
  • Added support to set .html_options with Field.set(html={'some': 'thing'})
  • Added support for set(validators=[validator1, validator2]) which adds the specified validators.
  • Fixed the set(null_as=...), was nul_as and badly wired in.
  • Improved documentation for the Field.set() method
  • Support zope.schema.Password
  • Fix issues 9, 10, 11, 12

What is new in version 1.4:

  • Fix issue 5, 7
  • Allow to binf form to a webob like request
  • Add Column wrapper to store some form options in models
  • Field label translation

What is new in version 1.3.9:

  • Fix unicode issue with non webob based framework

What is new in version 1.3.6:

  • Fix issues 150, 151, 153, 161, 162
  • Added field.label() and field.label_tags()
  • Major refactoring. The base module no longer existe.

What is new in version 1.3.5:

  • No longer use Binary type. Use LargeBinary instead.
  • Fix issues 145, 147

What is new in version 1.3.4:

  • renderer._value is deprecated. Use renderer.value
  • added renderer.raw_value
  • Model.__html__() (if any) is used to render model in read_only mode.

What is new in version 1.3.3:

  • renderer._value is deprecated. Use renderer.value
  • added renderer.raw_value
  • Model.__html__() (if any) is used to render model in read_only mode.

What is new in version 1.3.2:

  • Added .value_objects to both Field and FieldRenderer objects. Returns the objects instead of list of primary keys when working with ForeignKeys.
  • add IntervalFieldRenderer
  • switch back to WebHelpers
  • add Hungarian translation (125)
  • fix bug with latest version of couchdbkit
  • update paster template to Pylons 1.0b1
  • fix issues 123, 124, 127, 128

Requirements:

  • Python

Limitations:

  • Currently, only handles composite foreign keys of primitive Python types

Similar Software

Rikulo
Rikulo

19 Feb 15

casuarius
casuarius

15 Apr 15

Glade3
Glade3

19 Feb 15

Comments to FormAlchemy

Comments not found
Add Comment
Turn on images!