dimanche 2 mai 2021

Csharp design patterns [closed]

The relation between publisher and subscriber can easily be understood as an analogy to magazine subscription.a.A magazine (publisher) isthe business and publishes magazines (data).b.Ifa customer (subscriber) interested insubscription(subscribe/register), the magazine gets delivered to the customer each month after new edition ispublished.c.(unsubscribe/unregister), disconnects subscription and stops sending new editions to the customer as he/she remains no longer a subscriber after unsubscribing.d.Publisher doesn’t know who the customer areand how theyuse the magazine, hejust delivers magazines to the customers because both are bound in a relationship(loose coupling).Actual Problem StatementAssuming, in a real-world publishing business, HyperMediapublishing company hires you as developer and assigns you task to automate their magazine business. The magazine data consists title, number of pages,publishing dateand content.HyperMediawants anyone who is interested in magazine subscription, to facilitate subscribe/register and unsubscribe/unregister online. The subscribers will be sentan online digital copyin a PDF format each month when it gets published.Required SolutionUsing C# write a solution for HyperMedia publishing business by understanding the above written problem statement in the analogycontext.The solution you provide must be implementing the required design patterns that justify the reusability, extensibility, and maintainability.

Aucun commentaire:

Enregistrer un commentaire