Rentering.com
Rentering.com

Reputation: 399

Angular Schema Form vs Roll Your Own

I am trying to use angular schema form, http://schemaform.io/ While I find it great, I think it is too much like a platform solution and I am having to dig into the code to truly understand it in order to get it doing what I need with custom decorators. I am also finding the 'shema=' vs 'form=' to be very confusing.

I am now leaning towards the 'roll your own', Can anyone recommend using another package other than angular-schema-form or going the home grown route to maintain control? I have a hard time relying on 3rd party products when I don't fully understand them (or would code them differently) or if they will suite our needs.

So any options out there besides schema-form or any good starter packages for a home grown form generator using angularjs?

Upvotes: 1

Views: 532

Answers (1)

Anthropic
Anthropic

Reputation: 711

Angular Schema Form at its core is a template manager to reduce effort and manage re-use easily via config. You are more than capable to make your own Angular components and pass information to them via the UI Schema.

To elaborate on the differences JSON Schema is a standard for defining data models and the UI Schema (form) definition in ASF is specifically for the presentation layer, this also includes overrides of some data model properties.

There is no point in rolling a custom solution when knowing the internal workings of an open source offering provides you the ability to contribute and improve the library which is an even better result that everyone doing their own thing and re-inventing the wheel each time.

Upvotes: 2

Related Questions