Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DNN UX Style Guide Initiative – XHTML: How Strict Should We Go?DNN UX Style Guide Initiative – XHTML: How Strict Should We Go?
Previous
 
Next
New Post
5/14/2010 3:20 PM
 
Jenni Merrifield wrote:

That's exactly right, which is why the Style Guide's primary audience is the developers and designers working on components that ship "out of the box" (i.e., in the official DNN packages) and third party developers and designers are only its secondary audience.

Members of the primary audience (DNN Corp and Community Team developers/designers) will be required to make new or modified components meet these guidelines at the strictest level possible.


I don't understand why you are making this distinction, we - as community members - want all developers/designers to produce the best possible standards compliant solution. Of course, you are in a better position to have corp. members adhereto the style guide.
BTW You might want to rephrase: Community Team developers/designers will be asked nicely to make new or modified components. Remember, we are dealing with an open source community.

Peter.

Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
5/14/2010 5:52 PM
 
peter schotman wrote:
Jenni Merrifield wrote:

That's exactly right, which is why the Style Guide's primary audience is the developers and designers working on components that ship "out of the box" (i.e., in the official DNN packages) and third party developers and designers are only its secondary audience.

Members of the primary audience (DNN Corp and Community Team developers/designers) will be required to make new or modified components meet these guidelines at the strictest level possible.


I don't understand why you are making this distinction, we - as community members - want all developers/designers to produce the best possible standards compliant solution. Of course, you are in a better position to have corp. members adhereto the style guide.

BTW You might want to rephrase: Community Team developers/designers will be asked nicely to make new or modified components. Remember, we are dealing with an open source community.

 LOL!  I think your point about asking nicely underscores why I am making the distinction - yes, we do all want developers/designers to produce the best possible standards compliant solution, but asking nicely is all we can really do in an open source environment!

That said, what I really meant with respect to Community Team developers/designers, is that new or modified code/markup in projects that must go through Release Tracker will be expected to comply with the Style Guide requirements and preferably with Style Guide recommendations. New code must comply as closely as possible. Preexisting code that has been modified should include improvements, as appropriate, to make it minimally compliant or better. So, yes, we can only ask Community Team developers/designers very nicely to comply but those that don't make the effort may find that their work does not make it into the release.

Code that is not part of the official DNN releases is completely different of course and the developers/designers creating third party modules, skins, etc. can really do whatever the heck they want and we have no way to stop them.  What we can do there though, is make the Style Guide available and evangelize it, encouraging third parties to make their DNN products consistent with the standards that we intend DNN releases to follow.

:-j(enni)


Jenni Merrifield
strawberryJAMM Designs
User Experience Design Specialist
"Making the simple complicated is commonplace; making the complicated simple, awesomely simple, that’s creativity."
- C. Mingus

 
New Post
5/26/2010 2:13 PM
 

So, I've considered all the feedback received here and elsewhere and have revised the guidelines for the XHTML Standards. I've included the content of the revised section below - please let me know what you think. :)

:-j(enni)


4.1 Hypertext Markup Language

  • Core components of the DNN application should generate or contain markup that adheres to the XHTML 1.1 Standard according to the W3C specifications for the markup of web sites.
  • Core components of the DNN application may generate or contain markup that adheres to the XHTML 1.0 Transitional Document Type Declaration according to the W3C specifications for the markup of web sites if there is an unavoidable need to use elements or attributes that were noted as deprecated in HTML 4.01.
  • All web documents generated by core components of the DNN application must include the complete Document Type Declaration for the XHTML 1.0 Transitional Document Type Definition, exactly as shown here, both in spelling and in case.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1–transitional.dtd">
  • All web documents generated by core components of the DNN application must include an xmlns declaration for the XHTML namespace in the root HTML element as shown in the following example.
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  • All web documents generated by core components of the DNN application must adhere to the Compatibility Guidelines for documents wishing to render in both XHTML-aware and modern HTML user agents as specified in Appendix A of the W3C’s Working Group Note Appendix A of the XHTML Media Types - Second Edition.
  • Core components of the DNN application that conform to the XHTML 1.0 Transitional Document Type Declaration must not use the following deprecated presentation related elements and attributes. When required, components are expected to use CSS to achieve the same presentation styles.
    • Elements
      • BASEFONT
      • CENTER
      • DIR
      • FONT
      • MENU
      • S
      • STRIKE
      • U
    • Attributes
      • align on CAPTION, DIV, H1, H2, H3, H4, H5, H6, HR, IFRAME, IMG, INPUT, LEGEND, OBJECT, P, TABLE
      • alink on BODY
      • background on BODY
      • bgcolour on BODY, TABLE, TD, TH, TR
      • border on IMG, OBJECT
      • compact on DL, OL, UL
      • height on TD, TH
      • hspace on IMG, OBJECT
      • link on BODY
      • noshade on HR
      • nowrap on TD, TR
      • size on HR
      • start on OL
      • text on BODY
      • type on DL, OL, UL
      • value on LI
      • vlink on BODY
      • vspace on IMG, OBJECT
      • width on HR, PRE, TD, TH

Jenni Merrifield
strawberryJAMM Designs
User Experience Design Specialist
"Making the simple complicated is commonplace; making the complicated simple, awesomely simple, that’s creativity."
- C. Mingus

 
New Post
5/26/2010 3:08 PM
 
I think you've done a great job.  These are standards that are easily achieved and can reasonably be expected of everyone developing in the core and core projects.

Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
5/28/2010 2:07 PM
 
One thing I see in this back-and-forth is the concern for sites and/or uses which cannot work with the Strict DOCTYPE and thus need a Tansitional declaration.  My major concern is that this means the Core cannot be guaranteed to adhere to a Strict DOCTYPE, even though it is obvious that such should be the goal.  I woulr warrant that 95% or more of the DNN users out there never modify the core, so we're all stuck with whatever the developers provide.  Allowing the core to handle Transitional means that no site can ever be Strict without eliminating something or mucking about in the core code.

At the very least, pick a standard and stick with it.  Don't be a moving target.  When appropriate, switch the standard to HTML5, but not before.  If you do not use the strictest possible standard, publish a list of what fails the Strict DOCTYPE so those who need to use Strict can choose not to use those core modules in favor of more compliant third party ones.  And if it ends up being a Transitional standard, make sure that all required code meets the Strict DOCTYPE and allow Transitional only in modules that can be replaced or unloaded by a general, non-programming, user.

Jeff
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DNN UX Style Guide Initiative – XHTML: How Strict Should We Go?DNN UX Style Guide Initiative – XHTML: How Strict Should We Go?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out