Git Product home page Git Product logo

formio-demo's Introduction

FormioDemo

This project was generated with Angular CLI version 13.0.3.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

Angular-Formio

In our day to day life we come across various forms on various web and mobile applications. As a developer while developing these forms it becomes difficulty to functionalise these form to work properly when there are n number of business logic need to be added in it. When we are going through the native way of developing these forms need to manually handel what kind of input need to be accepted, add various validations, change form view or controls according to certain value selections in the form and so on. If you are using Angular 2+ framework for developing the web application or mobile hybrid app and their is a very tight deadlines to develop the application which containes very big forms and with heavy amount for validation and business logic init in this scenario we can use angular-formio package.

What is angular-formio?

Angular-formio package provides an easy way to develop forms in the angular web or hybrid app. There is not much required of writing a code to develope any kind of complex form. It provides drag and drop feature to develope the forms and then render the developed form on the web application. So it containes two part Form Builder and Form Render.

What is formbuilder & formrender? Formbuilder: As the name suggest that using formbuilder we can create forms on the application. Here we are having various form controls using which we can drag these controls on the form and develop the entire form. If any kind of control is not there which we required, in this scenario we can develop our own custome form control and add it in the controls list. When we develop form on the builder a json is created which containes all the information of the developed form. This json can be used to render the form on the render.

Formrender: After creating the form using form builder now we need to render form on our angular application. By using json generated by the form buider we can pass that json to form render and render the form on our application. By default Formio render uses bootstarp frameworkf for form controls design, but formio have provided provision to customise form control design which we will seeing futher implimentation.

Advantages: 1) Easily form can be developed. 2) Any kind of form validation can be added. 3) Non software developer can also update the form with some amount of traning. 4) If the form is updated, no any kind of build release required. 5) One form design can be used in multiple applications such as if same form is required on web application and on hybrid mobile app no multiple development is required only one single form design can be used in multiple platform. 6) Time of developement is less than native development.

Disadvantages: 1) Increases in project package size. 2) Comparing to native performance will be less. 3) Performing async validation is difficulty 4) Handling some criticle scenarios might require more time.

How to start?

Builder:------ Adding form builder? Types of controls can be added. Component level settings can be added. Display Data Validation API Conditional Logic Creating Wizard Adding custom form control.

Render: Adding pre added data Events in render Adding data to controls.

Advantages Disadvantages

formio-demo's People

Contributors

shashidhar-hiremath avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.