FlowMarker System Documentation

FlowMarker System Documentation

Postby Otto » Fri Sep 27, 2024 12:35 am

FlowMarker System Documentation
We tailored "FlowMarker," a custom documentation model, specifically to our needs. It is a system designed to document data flow within code in a structured and traceable way. Using unique identifiers (DATAFLOW numbers) and annotations, it indicates whether data is being input, processed, or output, while also referencing predecessor and successor steps. This approach provides clear traceability and helps maintain a comprehensive understanding of data handling throughout the code.

To implement a consistent and trackable way to document data flow within your code, especially when adding or modifying fields in your database, you can adopt a clear commenting system. Here’s a suggested approach:

Comment Structure:
Prefix: Use a prefix like DATAFLOW followed by a unique identifier, such as a sequence number, e.g., DATAFLOW-001.
In/Out Indicators: Indicate if the data is being "Input," "Processed," or "Output," e.g., IN, PROC, OUT.
Description: Provide a short description of the action or the data involved, e.g., Fetching data from DB, Processing user input, Saving to DB.

Predecessor/Successor Indication:
Reference the previous and next steps in the flow, such as Prev: DATAFLOW-002 and Next: DATAFLOW-004. This will help trace the entire process step-by-step. Total: total number of flow markers used.

This method provides clarity, ensuring anyone maintaining the code can quickly understand how data flows through your program, especially when introducing new fields or updating existing ones.

Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6327
Joined: Fri Oct 07, 2005 7:07 pm

Re: FlowMarker System Documentation

Postby Antonio Linares » Fri Sep 27, 2024 3:41 am

Dear Otto,

Use a GIT repo on github. Thats the simplest and more secure way to go
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42078
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FlowMarker System Documentation

Postby Otto » Fri Sep 27, 2024 4:50 am

Dear Antonio,
thank you.
Please take a closer look at the approach. Flow Marker has a different purpose.

This method isn't commonly found in mainstream documentation styles, but it offers a clear, systematic way to trace data flow, especially in scenarios where understanding the journey of data through various processes is crucial.

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6327
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 19 guests