Refactor: Registry Classes

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Refactor: Registry Classes
Date: 2021-06-18 20:09:47
Message-ID: CAG7mmoz=wOOc3QiZDZuSwonFue_sowcZRtZLK_M0o839ZPnJ_Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Akshay,

We do have a couple of classes, which does automatic registration of the
base classes,
and which creates single-ton objects for these base classes, when needed.

I would be working on a patch sooner, which will be using similar
functionality for loading
the multi-factor authentication.

I realized - it will be a duplicate code at three places for the same
functionalities.
Hence - I worked on refactoring this registry class.

Please find the patch for the same.

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company
<http://www.enterprisedb.com>

*http://www.linkedin.com/in/asheshvashi*
<http://www.linkedin.com/in/asheshvashi>

Attachment Content-Type Size
refactor_registry_class.patch application/octet-stream 18.2 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Ashesh Vashi 2021-06-19 05:57:19 Re: Refactor: Registry Classes
Previous Message Dave Page 2021-06-17 13:56:35 Re: [pgAdmin][RM6130] React based framework for properties dialog and port Server Group, Server and Database dialogs