Best practices for developing a crud application

Hi, I'm fairly new to development work but know my way around various frameworks etc. I'm currently building an app which is heavy on forms and performs a lot of CRUD actions.

I'm using codeigniter MVC framework, bootstrap, jQuery amongst other things.

One thing I'm struggling with is the best way to handle all the crud operations without repeating code or having files etc which are so full of stuff they are difficult to manage and it's taking me an age to get through stuff which is simple to do. So I was wondering what approach others take to developing apps with heavy crud functionality?

I'm thinking I should build one form and then use that for updates and deletes, but put some logic into my controller which specifies which type of form to generate and the actions to take? Is this this approach others would take? But this still means I will end up generating about 30 or more forms for all the different elements.

Is there another way?

Thanks for reading.

submitted by /u/lemonadewithlemons
[link] [comments]

from Software Development – methodologies, techniques, and tools. Covering Agile, RUP, Waterfall + more! https://ift.tt/9acz640

Leave a comment

Design a site like this with WordPress.com
Get started
search previous next tag category expand menu location phone mail time cart zoom edit close