Can anyone tell me in short words the usecase of the dynamic code generation feature?
I only find any validation functions in source code, but no place, where codes are generated? or is the key, that the user has to know the used algorithm for dynamic code generation??
Thx a lot!
Thomas
Comments
Comment #1
aidanlis commentedThere is no code generation: codes are validated by a user defined algorithm but never stored on the system. Another example is pretty much all license and registration keys for computer software. The use case is a newspaper with 1,000,000 subscribers.
Comment #2
TS79 commentedOk, i try to summarize. There are two types of codes:
A) Predefined codes, which are generated by the admin via UI. These codes are stored to DB at generation time, they appear in admin overview immediately. A specific code can be used multiple times according to its specification. Only detailed information about the last usage is available for admin afterwards.
B) Dynamic Codes, which are defined via a pattern by the admin via UI. There is no code storage to DB at pattern definition time but only if a specific code, which meets the pattern, has been inserted by a user. A specific code can be used/inserted only for one time. Dynamic codes are benefitial for mass code generation. Detailed information about every usage is available for admin afterwards.
Is there no documentation with such an explanaition? I do not think, that the module features are that intuitive, that every user knows about it.
Comment #3
aidanlis commentedThat's a good summary, I'll think about a way to add this to the inline documentation.