Programming Methodology

Hi all.

I´ve been thinked, about a Programming Methodology (PM) related to the development of Biggers Notes Application.

Is there some documented PM, to use on the development of applications?

I’m now developing a realy big app, with a lot design elements; tens of LS libraries; hundreds of functions and subs; and thousands of code lines… it´s impossible to keep in mind each of sentences all the time.

If there´s not any PM, I would like interchange experiences between us…

Subject: RE: Programming Methodology

Hi,

are you sure you want to develop a big app inside lotus notes?

My Best-Practices are:

  • Use naming conventions for design elements, fields, libs …

  • Use a modular design: small functions designed for reuse´

  • Better: use object oriented design

  • Assemble script libraries with functions of the self usage domain (logging functions in lib a, cross sectional functions in lib b, …)

  • Use comments in your code, inline comments and function headers

  • Make things configurable, if a change is required you only have to change a setup document not the code

  • Test your code and design elements

Otherwise: Every software engineering best practice is usefull.

Hope my comment is helpful

Timo

Subject: RE: Programming Methodology

I have been working some extremely large domino applications, and my best advice to you is to take regular backups of all your databases. The biggest problem we have faced has been corruption of design elements, when you have a database that is 100mb in size, just in design elements and no documents, then you can start to see things going wrong, like script libraries getting badly corrupted.

So keep very regular copies of the design! Also, in general keep things as simple as possible, don’t create too many views if you can make do with just one, for instance we have views for agents to run on to process data, and rather than creating a ton of views for each agent, we try to use just a handful or basic views to do the job, keeping the size of the ft index down as much as possible.

Tim Woods.

Subject: RE: Programming Methodology

100 MB worth of DESIGN!??! I can only presume that you’re using tons of images and COM objects embedded in the design. I simply cannot believe that someone would have an app with a legitimate CODE use of 100 MB.