This question is more theoretical in nature. I'm building a web application using Angular as the front-end and it will have hundreds of different forms with different number and types of fields, but generally I think I can generalize them into 4-5 different views. Right now, I create a new view for each and every form because the fields are different and the validations etc are different so in the end I would be left with hundreds of different views for the various forms alone, which is kind of a maintenance nightmare if I need to change the layout or structure. I want something scalable where I build 4-5 different views and then I can pass on 'parameters' defining the number and types of fields or something like that and have it create all the different forms I need. Is this possible? If so, where can I read more about it or how do I go about this. I'm new with Angular and want to understand the implications of building in this architecture.
Aucun commentaire:
Enregistrer un commentaire