Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5982181
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T22:03:01+00:00 2026-05-22T22:03:01+00:00

I am working on a software[runs on a public computer] which helps to create

  • 0

I am working on a software[runs on a public computer] which helps to create pdf files from word files. User have plethora of options for payment and specifying the properties of the final pdf output. Program now manages this situation using global variables.

I need to develop a user interaction object/class that will store information of every user activity in the program so that at the time of generation of output I’ve only one place to find all information. I will also record the path user selected to reach a particular point,errors happened,time spent,etc. An interaction/recording starts when user clicks on the button by storing the name of the button clicked and ends when the pdf is generated and money has debited from his account[Will store the amount debited,total pages converted,etc]. Eventually I may serialize this object.

I am contemplating about decorator pattern for implementing this module. Am I on the right path? Is there any better pattern/approach for this?

Thanks for the attention.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T22:03:01+00:00Added an answer on May 22, 2026 at 10:03 pm

    If the “user activity” is considered as set of methods he invokes so it looks like Command pattern here. Moveover you can add to the Command class a serialization mechanism and logging functionality.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some vb.net code which should print out labels using Teklynx LabelView software
I am currently working on network software. It has one main class, server which
I am working on a software development project that uses code written primarily in
My co-workers rarely (if ever) use XML Comments when working on our software (I
What software is recommended for working with and editing large XML schemas? I'm looking
When working on developing new software i normally get stuck with the redundancy vs
I am working with a PC based automation software package called Think'n'Do created by
I am working on a cocoa software and in order to keep the GUI
I'm working on some production software, using C# on the .NET framework. I really
I'm working on a free software (bsd license) project with others. We're searching for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.