This question is directed to people who must validate apps for either regulatory or business mandates. I’d love to hear from small development groups that deal with these issues.
I realize this is a very general question so I’m not looking for all of your policies and procedures, just some sense of how you go about wrapping up all the stuff that is not the app into a nice neat package (requirements specs, design docs, plans, reports, directions, etc) . I’m also not talking here about rem statements within the code - I’m looking for the formal kinds of documents you’d produce along with the app.
Fer instance: A Notes form has 10 fields, 3 buttons in the main part of the form and two in the action bar. Several of the fields and buttons use hide whens that are dependant on the user role, the state of the document (read/edit) and the value in a Status field. What would you create to adequately describe this form? A series of screen shots in every possible state, a table that describes each hide/when element and all of the values that drive the behavior, a simple text description of the overall design intent or something else?
Along this line of thought, how do you plan your regression testing? If the form above is modified, do you have some clever way to know quickly what is likely to be impacted by the change or do you just slog through the form design and look for trouble spots?
As a single person design/deployment/app manager/admin, I struggle with how to best balance the amount of documentation I create to keep me out of trouble with the amount of documentation needed to handle the ‘what to do if Doug hits the lottery’ situation.
Finally, do you have a sense of the amount of time you spend actually building an app as compared to the time spent creating all of this other stuff that goes along with the app?
I’m also a sigle developer/admin in a mid-size (1,000 employees) company. Our mail is on Exchange, I do mostly development for Domino as web server.
To your questions:
Balance is the key word. It does not make sense to write dozens of pages, flow charts, etc. for a vanilla app with 3 forms and 5 agents. There is a common misconcept that quality should be maximized - quality should be optimized instead.
Good design paractices greatly reduce the need of documentation. Rem statements are just one example. The code should be written for readability (unless there are real performance issues, which is rare), views should be marked as user/internal, forms should follow uniform design, etc.
For my apps, I usually create an “about” page (regular page, not About document, since those tend not to replicate). I call it “1.About…” so it’s always on the top of the list. I describe:
supported server/client releases
external dependancies
security/ACL
general architecture
known issues
changes log
Again: If well written, Domino app should be pretty much self-describing. If there is anything unusual - then describe it.
I don’t have any clever regression testing method. I usually create a test copy of the db, then use test users with different access rights.
I’m currently working on a kind of project management Domino application, which is supposed to help in lottery hit situations. The app is like a home page for the IS department (people/teams, responsibilities, applications, projects, inventory, calendar, etc.). The idea is to apply to SW development/maintenance some pre-defined rules. For example: You create a “project”, define requirements, SOW, etc., complete a checklist. Project’s milestones, changes are also tracked. When completed, the project becomes an “application”, with description and changes also documented.
HTH a little,
Simeon
P.S. There is “Hit by a truck” case besides “Hit the lottery”; We’re doing okay!
Subject: RE: How do you document your applications?
I had to laugh at the ‘hit by a truck’ comment. A while back, I put together my ‘WTDIFGHBAB’ (What To Do If Doug Gets Hit By A Bus) db for a similar case. In it I tried to document the general design concepts and philosophies I use along with some db specific gotchas and point to all of the resources I use to keep my self in order.
While we’re at it, it’s probably reasonable for me to describe what I do.
I built a db that lists any design element used by ‘outside’ dbs. The API db is a simple place for me to go whenever I’m thinking about changing something like a view to make sure that the view isn’t used by some other app. I don’t bother documenting which apps use which views, just that the view is used.
I have a db of navigators that provides a graphic representation of how dbs are linked and what those links are (PN comes from DB_A, DB_B, DB_C, and DB_D use the PN). Ugly as sin but it works.
Help Using is the directions for use, including admin and any design issues that are critical.
I’m beginning to build more robust design document packets.
I have conversations with developers periodically and find that they tend to be of two minds when it comes to managing/maintaining codes or apps created by others. Simple change they just slog through the actual app behavior and tweak it to add new features. For complex changes, they spend a day reading everything they can find about the app, then build it all over from scratch…
Doug, that was a great post! I can so relate to everything you’re talking about. I’m in the same predicament, dev/admin/this/that u name it i do it (part of the ‘percs’ of working for med-sized company).
really depends on ur manager, and structure of the company. some small (smart) companies put alot of time/effort in planning and documentation before development even begins.
As the only resource where i work documentation comes last. Basically what i do is put remarks in the code (for any future coders, and even for myself cause 1 month later i tend to forget what the hell i was writing that for!). for the users / official documentation I create an FAQ that basically covers all* aspects of the app in an ‘easy’ to read way.
as a one man show you cant do everything (well). certain things will have to suffer, better it be the documentation then the app itself!
Subject: RE: How do you document your applications?
If it’s any help, I work as a technical consultant for a small business partner whose main business at the moment is Domino.Doc systems. I always use a custom Notes database for some of my documentation. I record things like design elements that I have added to the system, design elements which I have modified and I also keep a revision history for these items. I also keep project notes in the database.
I have to say that I also keep other documentation in the form of Technical Design Guides, Software Release Notices (SRNs) etc.
A variant of this question came up during the Gurupalooza! session at Lotusphere 2005. The question was “Is there a standard development methodology for Lotus Notes”. I drew some laughter with my pre-answer that is too lengthy to poast here.
In your case, it is not documentation for the sake of documentation, but to make sure your applications meet regulatory or business mandates. As such, the focus of documentation are the elements of the design architecture/elements that relate to specific business process rules that have been set. For example, if adhering to Part 11 requires that a certain level of signature be obtained, that should be documented in how it works, ideally in flowchart format. If later changes are made to the application, these changes should also be documented in the same way. By doing this, it becomes easier to not only understand the intent of the change, but the impact of the change on the original design to support a regulatory driver or business rule.