Come, hear me!

Posts Tagged ‘MIS

Engineering good software

leave a comment »

I have done C++ coding before in my DDP, but that involved more of thinking various geometry related algorithms and mathematics and then coding them to see the results. I have absolutely no experience in software engineering and design as such. Now that I am slowly re-implementing the school MIS to make it more robust and very encompassing, I am finding that if I dive into C# without having a proper plan, it proves to be very messy at the end of the module and often several bugs remain. Overall, the module turns out to be non robust. In order to address these issues, I have laid down a workflow checklist for myself and any team that I incorporate in future course.

  1. Clearly define the aim(s) of the module. It should be very clear (in writing) the motivation what is expected to be accomplished by the given module.
  2. Plan out the general workflow (for the user) of the module.
  3. Plan out User Interaction for the module.
  4. Plan how to implement the given module.
  5. Plan out Class Hierarchy.
  6. Very clearly plan out what classes (along with member variables and functions)will be required. Make it in writing too.
  7. Plan out validation rules. Think carefully and plan out what validation rules will be required.
  8. Plan out what forms (windows) will be required.
  9. Design the UI of these forms
  10. Plan what reports and their will be required out of the module.
  11. Implement class structure with all the validation rules in place.
  12. Implement the forms with all the validation rules in place.
  13. Implement reporting solution.
  14. Plan out all regular/weird test cases and test the module.
  15. Update doc for the code.
  16. Write doc for the user.
  17. Give training to the user.
  18. See if any errors are coming up during regular/daily usage. Correct them and re-install.

As I said, I am no software engineer, though I slowly plan to read some books and get some ideas. Till then, this rough checklist ought to do the job. If any expert reading this has any suggestions, I would much appreciate and feel thankful if you could either mention them here in comments or offline to me.

Written by virtualmic

August 28, 2009 at 4:57 pm

Visual Studio 2008 still not ready for WPF development

leave a comment »

WPF designer in Visual Studio 2008 breaks down, if I try to reference a class library outside the current project. This is not a good sign for me, as my classes reside in a “Data” Class-Library project outside my main project. That means most of my development I will have to do without a WYSIWYG editor, unless I think about getting Expression Blend 2. That for now, seems improbable.

But now that I have sworn my allegiance to WPF already, I don’t want to turn back. However, if another nasty surprise of such magnitude is thrown at me, I would really have to re-think my UI technology.

Written by virtualmic

June 11, 2009 at 4:37 pm

Posted in MIS, WPF

Tagged with ,

WPF: Adding helper background text to textboxes/ comboboxes.

leave a comment »

Till my last school MIS project (which was basic implementation of Activity Bank), I was using Winforms. For my upcoming project, I am planning to use WPF, the new MS UI technology.

I am reading a lot about it, these days, and am finding it to be quite intriguing. At certain places, for textboxes, comboboxes, we need to have helper text in the background, which avoids the use of helper labels in front of them.bgHelperText

For Winforms, I was using Enter and Leave events for the Textbox, to achieve the same. Almost  using the same but more refined and elegant approach, this guy has achieve the same in WPF, using triggers.

Written by virtualmic

June 8, 2009 at 4:53 pm

Posted in MIS, WPF

Tagged with ,

Follow

Get every new post delivered to your Inbox.