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'm working on a piece of C++ software which runs on all Windows versions
I'm working on a software project which several members are working from home and
I am using and working on software which uses MySQL as a backend engine
I'm working on pseudo-transport layer software that runs over UDP, providing reliable connection-oriented transmission,
I have a simulation software (C++) that runs on the command line. It is
I am currently working in a .Net project but from university I have also
I have a small problem while working on software for a Surface: I have
I am working on a software project and have found numerous examples where find_first_of(),
I have some vb.net code which should print out labels using Teklynx LabelView software
Im working on software that required psqlodbc drivers and postgresSQl 9.0 database, we have

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.