This is what happened when I submitted my article:
This is the article i submitted:
http://www.serger.biz/webdev/background/exact-alignment-background-image-and-text-2.htmlEasy color scheme that only uses human-readable RBG values.
Sandi uploaded the page and Roy added a wrapper because Sandi does not know how to do that.
I was not happy with the end result because it did not validate and did not like the colors.
Then I wrote a new simplified wrapper that Roy sliced and placed inside some obscure alternate "site-wide" includes.
I also changed the colors to match those that are used on the forum.
There were a few typos left that got corrected and the article got published.
I am satisfied with the final result which proves that the method works with stubborn authors.
During that process, i did not feel like i was controlling much. The only thing i could do was waiting for Roy to finish the secret incantations that would turn the code into what i had requested. Until he finally decided to share some of his magic formula that revealed to be just some php code (
http://www.expertsrt.net/main/forum/topic,924.msg8717#msg8717). With that, things got a little clearer, but still not transparent.
This is the final result:
http://www.expertsrt.com/tutorials/GS/CSS-background.htmlThe wrapper set aside, the only difference between the original and the final is the use of cold colors versus warm colors. Taken outside of any context, do I prefer one or the other? Not really. They are just different. I'm not attached to a specific look/layout, I just want my pages to look good. Do I prefer one or the other in the context of the ERT site? Most definitely! I perfer the one that blends into the site. Colors carry emotions and i don't like to create abrupt emotional changes when it's not required.
Then i followed the submission of the next articles.
Here is Matt's submission:
http://www.nicholassolutions.com/ERT/firefox-tab-tut/firefox-tab-new-window-with-history.htmlWhich leads to this after adding the wrapper:
http://www.expertsrt.com/articles/Matt/IE-FF-tabs.htmlI was surprised to see the custom wrapper i had written for my article.
There were also 2 submissions from Vincent:
http://www.fecj.org/extra/AJAX-Demythified-for-PHP-programmers.htmlhttp://www.fecj.org/extra/SWF-info-and-Frame-Rate-extraction.htmlThat format is very familiar.
That flatters my ego. My code is being reused on ERT for both submissions and wrapper.
But wait a second... aren't we starting to use arbitrary implicit layout standards?
Does that happen because that's what the authors really want or just because it's less work for the authors who don't really care about the layout?
If the code is being implicitely reused, then why not formalizing a method that helps authors reuse their own code and the code written by others?
A small illustration:
Here is one of Matt's first layout (with some variations between articles):
http://www.expertsrt.com/articles/Matt/mysql-backup.htmlNow look at Matt's last submission:
http://www.nicholassolutions.com/ERT/firefox-tab-tut/firefox-tab-new-window-with-history.htmlThat looks very similar to what i came up with for my article: navigation similar to ERT's home page, colors similar to ERT forum. Is that a pure coincidence?
Some authors just want their article to blend into the site.
And that should be a valid request if authors really have full control over their layout.
As the site evolves, the early pieces reflect the look of the site in its early stage and not the current look.
I know that you like it that way, and i find it historically interesting... It brings back memories.
But my point is that it might not be the author's initial intent. The author's intent is what really matters and what we should try to respect.
Conclusion:
If we want to give real control to the authors, we need to clearly explain what reusable elements are needed to build an ERT article page and allow the authors to write and modify their own reusable elements.
That's what i'm trying to do here.
The method i suggest does not replace but extends what we currently have.
The method i suggest does not modify the current publication processes. The articles will still be discussed and optimized as they currently are.
The method i suggest simplifies the maintenance and prepares us for the database-driven version of the article index page with the search functionality.
The method i suggest allows the authors to easily maintain their layouts and make them evolve with time if they want to.
The method i suggest does not impose anything to the authors, it's just an additional option for them.
The method i suggest will encourage existing authors and potential authors to use ERT by giving them more control.
We can combine this method with other methods, like the one used for Rod's articles if I'm correct, where he wants the content to be hosted on his own server. The important part is to document each available method so the authors know what the existing options are. If the currently available methods are not enough, we can add some other methods and document them.
We still need to discuss the wrapper's custom tags that will be supported.
Currently, i only have these: @CONTENT@, @CSS@, @JAVASCRIPT@, @TITLE@.
Do we also want to have a set of tags that correspond to some site-wide standard includes? Like one or more standard navigation, one or more standard logos, one or more standard footers, one or more standard set of bookmark icons.