Some Codeigniter templates for Netbeans that I use regularly. The CRUD controller template makes a few assumptions:
- You're using the Codeignited framework (https://github.com/xylude/codeignited).
- You're using DataMapper
- The view file matches the name of the method in your controller, and the view's folder matches the name of the class.
- That you plan to sanitize the GET/POST data in _create_or_update() to make sure that people can't update fields you don't want them to.
- That you read the above ^^. Seriously _create_or_update() has a major security issue, if you use this - make sure to check the input data first.