Yes, that’s basically it in a nutshell.
RIGHT ON!!!
This is Totaly clear (to me... I think... or maybe I just want it to be soooo bad)! You have an element. An element can be placed anywhere in any document. Each element can have its own properties, behaviors (methods), etc... kind of like an object. When the document is parsed, the element will display it’s properties or execute its behaviors according to its definition, context and messages it’s passed. Obviously, an element can contain an element, can contain an element, etc. Is that the idea?
Sure, you could create visual-oriented elements that did such things, but I maintain strict isolation of the style, content, and logic in my sites because I believe it is essential to maintaining a site over the long-term, so I generally use script elements (snippets/plugins) to produce my content via other elements used as templates (chunks/templates), and in the case of HTML output, style it via an external CSS file or dynamic CSS file generated by another MODx resource. Or with XML, I might apply an external XSL file, or dynamic XSL file generated by another resource.
In my crude home brew system I used the element concept(very rough though). For example, I have a weather forecast element. You can put the element anywhere. If you call it one way you get a one-day forecast, call it another you get 6 days. The element itself spits out all the HTML, including the appropriate CSS class, to display the element. In something like MODx I’m guessing you could go several steps further by doing things like checking the width and height of the div or size of the cell that you had available and make adjustments accordingly.
I think you’ve got the concepts and we agree, the lingo has been a source of pain for the project. But it will soon be history...
I’m a MODx newB and my biggest stumbling block has been the lingo. Thins like "Template Variable" that is given a "Value" have completely thrown me for a loop!
I hope I’m not completely out in the weeds again,
joe
I agree that I think there should be some standards for the contributed items, like snippets, etc.
Perhaps the repository could have a two-tiered setup and some kind of stamp of approval... (...) Something that shows that a snippet has been reviewed by the core team to show that the code is sound, future compatible (at least as much as possible, which might just mean till the next release), and has met a certain minimum of standard requirements.
Yes, one way or another there will definitely be a converter that prepares your MODx data for the big move - this is likely to come out *after* early betas of 1.0. A lot of us have 0.9.x sites that we’d like to upgrade and so I fully expect an updater.
So, can you confirm that an update of version 0.9 towards version 1.0 will be possible ?
). Just trying to get a feeling for intent to help guide my own decisions.I would not think of asking for a promise, or interpreting a rough estimate as being one.
Anyone, who works with OS apps knows that dev schedules are filled with hope and riddled with amendments.
)