Personium unit needs to handle various URL's such as:
Unit URL
Cell URL
Role URL
Box URL
etc...
Also personium now uses the following custom scheme
personium-localunit
personium-localcell
personium-localbox
Overmore, it now runs with the following two configuration modes.:
Subdomain-based cell url
Path-based cell url
In current implementation of personium-core, interpretation, conversion, normalization, and checking of these varieties of URL's are handled in various classes in various layers, which results in the complexity of the code.
Introduction of PersoniumUrl class
By introducing a new class PersoniumUrl, which handles all the interpretation, conversion, normalization, and checking against URL's handled in Personium, the whole code of personium-core will be more neat, organized and easy-to-maintain.
Variety of Personium URL's
Personium unit needs to handle various URL's such as:
Also personium now uses the following custom scheme
Overmore, it now runs with the following two configuration modes.:
In current implementation of personium-core, interpretation, conversion, normalization, and checking of these varieties of URL's are handled in various classes in various layers, which results in the complexity of the code.
Introduction of PersoniumUrl class
By introducing a new class PersoniumUrl, which handles all the interpretation, conversion, normalization, and checking against URL's handled in Personium, the whole code of personium-core will be more neat, organized and easy-to-maintain.