Tag Archives: Guidelines

Recipes for Avoiding Spaghetti Code

Best Practices & Guidelines for Developers & Designers

spaghettiByhipperspectiveOnFlickr
spaghettiByhipperspectiveOnFlickr

Recipes for Avoiding Spaghetti Code: Best Practices & Guidelines for developers & designers.  The visual term “Spaghetti Code” comes from unstructured code, usually created by junior developers, which is difficult to extend and time consuming to maintain.  Developers & Designers can adopt Best Practices early to create Guidelines that will increase development time and decrease cost.

Best Practices for Speeding Up Your Web Site

The Exceptional Yahoo Performance team has identified a number of best practices for making web pages fast. The list includes 34 best practices divided into 7 categories.  [Learn More]

Best Practices for Speeding Up Your Web Site by Yahoo
Best Practices for Speeding Up Your Web Site by Yahoo

http://developer.yahoo.com/performance/rules.html

Yahoo! Design Pattern Library

This Yahoo library shares user interface patterns with the web design and development community. Yahoo has 50 patterns today and more on the way. [Learn More]

Yahoo! Design Pattern Library

http://developer.yahoo.com/ypatterns/

PEAR Coding Standards (including Docblock Comments)

The source code of PEAR packages are read by thousands of people. Also, it is likely other people will become developers on your package at some point in the future. Therefore, it is important to make life easier for everyone by formatting the code and docblocks in standardized ways. People can then quickly find the information they are looking for because it is in the expected location. [Learn More]

PEAR Coding Standards (including Docblock Comments)
PEAR Coding Standards (including Docblock Comments)

http://pear.php.net/manual/en/standards.sample.php

Zend Programmer’s Reference Guide

Coding standards are important in any development project, but they are particularly important when many developers are working on the same project. Coding standards help ensure that the code is high quality, has fewer bugs, and can be easily maintained. [Learn More]

Zend Programmer's Guide
Zend Programmer's Guide

http://framework.zend.com/manual/en/coding-standard.html

W3C Markup Validation Service

This W3C validator checks the markup validity of Web documents in HTML, XHTML, SMIL, MathML, etc. [Learn More]

W3C Markup Validation Service
W3C Markup Validation Service

http://validator.w3.org/

Avoiding Spaghetti Code & the Mess That Can Follow

These are my five favorite resources to help avoid “Spaghetti Code”.  There are plenty more resources available on the web, I hope you find these helpful.  I am thinking more about Ravioli (encapsulated code) and Lasagna (modular code with logic layers).  I hope to find the time to write about this, but I would also like to hear your thoughts on code development “Best Practices” & Guidelines.

spaghettiMessByoddharmonicOnFlckr
spaghettiMessByoddharmonicOnFlckr