[support] Ten Commandments

Steve Kessler skessler at denverdataman.com
Thu Sep 20 14:05:20 UTC 2012


The other option to not have an issue with SEO is to save all paths but
redirect. It is a 301 so it is fine.
On Sep 20, 2012 7:13 AM, "Ms. Nancy Wichmann" <nan_wich at bellsouth.net>
wrote:

> I have recently started a full-time gig, after several months of
> contracting. In reviewing several extant sites, I identified several
> practices that I don't care for. So I mentioned the possibility of putting
> Drupal guidelines into place. They won't really be Commandments and I
> already have more than ten.
>
> What rules/guidelines would you suggest so that we consistently produce
> the best sites we can?
> Here's most of what I have now:
>
> 1.    Follow Drupal Coding Standards; use lots of comments.
> 2.    No PHP nodes.
> 3.    No PHP blocks. (A sample block module is available.)
> 4.    Minimize PHP in Views.
> 5.    All code in Git, if possible. (It is best to create the repository
> even before using install.php).
> 6.    Use Features for content types and views; and for other things that
> lend themselves thereto. Commit these to Git repository.
> 7.    Security updates should be scheduled in the project’s issue tracker
> to be done as soon as practical. Other updates should be reviewed for
> priority and scheduled accordingly.
> 8.    For views that have a block with a “more” page, limit the View to
> those functions so you can use the built-in more feature.
> 9.    CSS is your friend, use it before programmatic or theme styling as
> much as possible.
> 10. Look for existing solutions before writing a custom one.
> 11. Even if it is not a project requirement, building an accessible site
> is better.
> 12. Themes should be built on a standard starter theme (Zen, Omega,
> Fusion, etc.)
> 13. Block visibility addresses should be URL aliases rather than node
> numbers.
> 14. Links, including menus, should use relative URLs.
> 15. Given that most sites will be in a multi-site set up, contributed
> modules should reside in *sites/site-name/modules* and files in *
> sites/site-name/files*.
>
> Views block names:
>   *views-name*: f*unction-name*
> Code block names
>   m*odule*: f*unction-name*
>
> *Nancy*
> Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L.
> King, Jr.
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20120920/ee303f11/attachment-0001.html 


More information about the support mailing list