Welcome Guest, Not a member yet? Register   Sign In
Store Notification Messages
#2

IMO, the library is a better solution than using constants.php mostly because the library provides a clear separation of concerns. Even with the library I would probably use a separate file that contains the actual constant definitions.

An alternative approach might be to use a config file where the messages are accessed by using keys into the config array.
Reply


Messages In This Thread
Store Notification Messages - by chrismartinez99 - 11-16-2017, 08:03 AM
RE: Store Notification Messages - by dave friend - 11-16-2017, 08:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB