View Issue Details

IDProjectCategoryView StatusLast Update
0012690mantisbtcode cleanuppublic2014-11-07 17:01
Reportersveyret Assigned To 
PrioritylowSeverityfeatureReproducibilityhave not tried
Status newResolutionopen 
Product Version1.2.3 
Summary0012690: Mantis object classes
Description

When I write a patch or a plug-in for Mantis, I often notice that a lot of code is re-used again and again in the different APIs. Especially, API managing objects (bugs, projects, users, etc.) often have the same basic functions, written the same way.
As I wanted to avoid this copy-paste, with always the risk not to modify something that should be, and as I am always worrying of forgetting something somewhere, I wrote a couple of classes which I can re-use for each object.

These classes could be included with the standard Mantis classes.

Hope this can help others.

Additional Information

Please find the classes, examples and readme in the attached tgz file.

TagsNo tags attached.

Activities

sveyret

sveyret

2011-01-17 03:31

reporter  

MantisObject.tgz (9,901 bytes)

Issue History

Date Modified Username Field Change
2011-01-17 03:31 sveyret New Issue
2011-01-17 03:31 sveyret File Added: MantisObject.tgz
2011-01-27 11:24 grangeway Assigned To => grangeway
2011-01-27 11:24 grangeway Status new => assigned
2014-11-07 17:01 atrol Assigned To grangeway =>
2014-11-07 17:01 atrol Status assigned => new