Monday, April 19, 2010

Global .NET standards

  1. .html or .aspx files only
  2. aspx files have proper DTD – document type declaration
  3. naming - container aspx file and content html component have identical name
  4. naming should be "Capability_purpose.suffix", for example popups are PU_SecurityView.html, Entity_CompanyContacts_Detail.aspx
  5. comments section at the top of every file
  6. overall HTML architecture (html, head, body, form etc)
  7. proper indentation of code
  8. XHTML compliance – closing slashes on images, input, br, etc
  9. one form tag per page right after body tag
  10. No name or ID attribute on form elements
  11. links are absolute
  12. image files use appropriate names: img, icon, btn, nav, text
  13. image tags contain alt, width and height attribute
  14. javascript tags: language and type attributes, variable declarations explicit as var, one statement per line, end lines with semicolon, proper indentation
  15. no changes to CSS by off- site resource – changes must be made with UI collaboration
  16. page weight 35K
  17. no horizontal scrolling at resolutions 800 X 600 or 1024 X 768
  18. browser support IE 5.0 – 8.0
  19. "super-set" html content component should have discreet easily hidden components, as stacked tables or TR for conditional rendering – TD will not work for this
  20. All lists should be width="100%"
  21. % should not be used on any TD (Except snapshot page template)
  22. Styles should NOT be used on the TD for any cell containing inputs, selects or required asterisks – use span instead on the text in question or assign the class to the input itself.

1 comment:

  1. Cool blog! Is your theme custom made or did
    you download it from somewhere? A design like yours with a few simple tweeks
    would really make my blog shine. Please let me know where you
    got your design. Many thanks

    Have a look at my weblog - iherb coupon

    ReplyDelete

Access to XMLHttpRequest at 'from origin has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. .net core angular

Issue: The angular application was getting error from API that the origin has been blocked by CORS policy. Solution: Make sure that the...