Helma development boosted with an integrated prototyping approach.
Some time ago, I thought about adding more meta data to the type.properties, to have a kind of typing for Hop-Object properties. A few weeks ago, I stumbled over
Rabbit. A nifty implementation of some prototyping functionality. Rabbit is great to build up your Helma App from scratch. But there are a few things I missed in Rabbit:
- A kind of database abstraction (MySql support in specific)
- More ellaborated form generation
- Input validation (serverside as well as clientside)
- Allow to build the central "Model" from different sources (Database, Existing-Sourcecode, JS-Object). Specifically: Use type.properties as a model definition
I also wanted an approach to blend more with the further development process or even existing applications. The idea is to have a prototyping engine, that delivers core functionality for Web-Frameworks while letting the user overwrite/replace/extend this functionality in later development stages. So I took the Rabbit-Code as a base but changed most parts to my need.
Here is a first "alpha" to be discussed/continued. Just try the sample application and see the code for further insights.
rocket source v.0.1 (1, 32 KB)
Features
- Metadata for Hop Object prototypes
- Automatic form/input generation
- DB/Table generation (MySql)
- Creation of the model from existing source
- Creation of folders/type.properties from the model
- Basic permission management/access control
- Basic List / Object viewer