Quote from: smashingred at May 17, 2012, 08:17 AM
Not having access to clear information of the snippet and its use is far worse than the idiosyncrasies between naming of properties where one developer might use "levels" and another "depth" both could mean the same thing but no one is better than the other and making one a standard to me is missing the point.
Actually, this is the reason why I encourage the property naming standard.
Imagine all the confusion we have to deal with because of this, and just like you mentioned, we have to google the DOCS countless just to find the correct parameters for the particular snippet.
We have more unnecessary clone properties other than those
levels and
depth, like template directives. @CHUNK/CHUNK/modChunk ? @CODE/@INLINE/inline ? Do we really need to define the
&tplPath?
I agree the importance of the DOC+examples.
Also agree that for some reason, as you mentioned, the devs don't give a complete documentation for a simple snippet
(btw, flagging is a great idea, leaving a notification to other devs for a help).
But if it happens and luckily they use the same property's names, I bet the other users don't have to wonder what their meanings are, what the property names are, how to write it down
(camelCase, PascalCase, with_underscore?). Even for the snippet's names, eg: getResources/getPage, UltimateParent/FormIt, simplx_rpc. Is it good to use number in it? eg: [!easy2!]
Another interesting thing is that they are all written in ASCII (I could not imagine to have a [ [галерея]] snippet, including the non-ASCII properties).
But is it wrong to have one? No, if the user target is indeed only for that particular area, like Tax counter or ZIP look up.
If that's only a technical reason, no problem. Let's say that on the standard.
If one day someone finds a work around on that matter, let's improve the standard again.
(AFAIK, some people in asia countries don't use english not because of the ability, but the accessibility. Please don't say MODX ignores them. They are a good market.)
It's not about judging which one is better, but it's about to make
an agreement to use the same property name for the same purpose. It's what a
standard stands for.
An agreement.
Just like you have the left steering wheel cars in your country, and we have the right steering wheel in here. Both are correct, because they are applied to each road standard.
We can choose to use different one, with an awareness that we would have difficulties for the position dependence, like paying the toll gate.
@Bob,
Do you care to elaborate more about the
Code Quality?
AFAIK, some people stand for a different code styling. Is that the case?
Btw, that's a people like you who has a great reputation on MODX usability, but
not in the MODX's core team inner circle, can start a valid and independent review (although it should be opened for more responses).
At the end,
If the SNIPPET will be a subject for the certificate examination, then
it is no doubt that we must have a BASIC STANDARD for that, including the docs and proper examples like @Jay said.
Otherwise, I'm saying it frankly, it's only a joke.
I will not take any exam based on a loose subject.
I don't mind to take the core questions, as it only has
one standard.
Please see this one as a whole picture, not a subjective opinion.
[ed. note: goldsky last edited this post 14 years, 4 months ago.]