hi guys
i want create a modular system,
i need help for create better system
for language: use define or use array variables?
i need better solution
thank you so much
2 replies to this topic
#1
Posted 12 October 2011 - 04:39 PM
|
|
|
#2
Posted 12 October 2011 - 05:04 PM
Both are good.
But I prefer using a xml file. It's easier for sending to the translator/corrector.
But if you don't need that, array or define will do the same job
But I prefer using a xml file. It's easier for sending to the translator/corrector.
But if you don't need that, array or define will do the same job
#3
Posted 12 October 2011 - 05:56 PM
You can always put hard coded configuration (database credentials, access right levels, etc.) in definition for ease of use, it really depends what you are doing.
A definition cannot really be an "array", so a variable may be more useful dependent on what it holds.
A definition cannot really be an "array", so a variable may be more useful dependent on what it holds.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









