Jump to content

[Domain Manager] Unify Functions Action in modules

Blesta Addons

Recommended Posts

with the new domain manager , it would be better to unify the functions actions like getExpirationDate(), is the only unified function in domain registrar modules, something like getContacts(), updateContact(), getNameservers(), updateNameservers() .... ect

this way we can create more plugins/addons that interact with registrar modules with a unified function without care about the registrar module type. other competitors has this.



Link to comment
Share on other sites

1 hour ago, Jono said:

You are saying you would like more function similar to getExpirationDate() which are standardized across registrars?  I'd be interested in this.  Any other suggestions besides the methods you mentioned?

this is how all other software work, but i believe any public functions should be standardized across registrars, or at least the most used/important functions that i could think in it now could be :

getDomainInfo(), return domain info it can include some subfunction like getContact()
getContacts(), to get all or only one contact type
updateContact(), to update all contact or only one contact
getNameservers(), to get nemaservers return data should be like ["ns1" => xxxxx, "ns" => xxxxx, "ns"=> xxx, ...ect]
updateNameservers(), to update nameserver, $vars  data should a list of nameservers ["ns1" => xxxxx, "ns" => xxxxx, "ns"=> xxx, ...ect]
getEppCode(),  return string
ResendIRTPVerificationEmail(), to resend Verification emails
RegisterDomain(), function to send registration action to registrar, normally it called inside addService()
TrasferDomain(), function to send transfer action to registrar, normally it called inside addService()
RenweDomain(), function to send renew action to registrar, normally it called inside renewService()
DeleteDomain(), some registrar support release/delete command.
RestoreDomaine() some registrar support restore domain,
CreateChildNameServer(), used to create child namserver,
UpdateChildNameServer(), used to update child namserver info.
DeleteChildNameServer(), used to delete child namserver

and we must add function also for domain forwarding, email forwarding, dns management.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...