Tag Archives: Code

Recipes for Avoiding Spaghetti Code

Best Practices & Guidelines for Developers & Designers


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


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


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)


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


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


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.


How to build iPhone Apps. Top Mobile Phone Twitter Apps for Social Media.

Fav Five Friday: How to build Apple iPhone Apps

Happy Fav Five Friday! Today I would like to share some resources for developing Apple iPhone Applications. What is your favorite thing on your iPhone?


5 iPhone Application Developer Resources

  • Apple iPhone Developers
    • The iPhone Dev Center provides access to technical resources and information to assist you in developing with the latest technologies in iPhone OS. Log in with your Registered iPhone Developer Apple ID and password, or sign-up as a free Registered iPhone Developer today.
  • Xcode Mac OS X IDE
    • Xcode is Apple’s premiere development environment for Mac OS X.
  • iPhone Software Development Kit
    • Registered iPhone Developers can download iPhone SDK for iPhone OS 2.2.1 which includes the Xcode IDE, iPhone simulator, and a suite of additional tools for developing applications for iPhone and iPod touch.
  • iPhone Developer’s Workshop
    • Learn to build mobile applications for today’s most popular platform: Apple’s iPhone and iPod touch. In this dynamic, two-day workshop, you’ll get up to speed on the basics, including the Cocoa programming environment, the Xcode suite of tools, the Objective-C language, and Instruments, a tool to help debug your applications. And then you’ll create two real iPhone applications.
  • iPhone Developer’s Bootcamp
    • If you want to write applications that run on the iPhone, you should attend the iPhone Bootcamp. After a brief introduction to the Objective-C language and the Foundation framework, we delve into the toolchain and the classes that make up the iPhone UI framework. We deal with drawing using Core Graphics, Core Animation, and OpenGL. We also discuss issues in the multi-touch event handling.

What is your favorite iPhone App Developer resource?

5 iPhone App Development Books at Amazon

iPhone Open Application Development

iphone-open-application-developmentCertain technologies bring out everyone’s hidden geek, and iPhone did the moment it was released. Even though Apple created iPhone as a closed device, tens of thousands of developers bought them with the express purpose of designing and running third-party software. In this clear and concise book, veteran hacker Jonathan Zdziarski — one of the original hackers of the iPhone — explains the iPhone’s native environment and how you can build software for this device using its Objective-C, C, and C++ development frameworks.

The iPhone Developer’s Cookbook

iphone-developers-cookbookThe iPhone and iPod touch aren’t just attracting millions of new users; their breakthrough development platform enables programmers to build tomorrow’s killer applications. If you’re getting started with iPhone programming, this book brings together tested, ready-to-use code for hundreds of the challenges you’re most likely to encounter. Use this fully documented, easy-to-customize code to get productive fast—and focus your time on the specifics of your application, not boilerplate tasks.

iPhone SDK

apple-iphone-sdkThis practical book offers the knowledge and code you need to create cutting-edge mobile applications and games for the iPhone and iPod Touch, using Apple’s iPhone SDK. iPhone SDK Application Development introduces you to this development paradigm and the Objective-C language it uses with numerous examples, and also walks you through the many SDK frameworks necessary for designing full-featured applications.

iPhone Application Development for Dummies

iphone-application-development-for-dummiesThe book will teach both novice and seasons developers how to develop iPhone applications for small and large scale use using several tools: JavaScript, HTML, CSS, Eclipse, Cocoa, Objective-C and more.

Beginning iPhone Development Experience the iPhone SDK

beginning-iphone-developmentThe book starts with the basics, walking you through the process of downloading and installing Apple’s free iPhone SDK, then stepping you though the creation of your first simple iPhone application. You’ll move on from there, mastering all the iPhone interface elements that you’ve come to know and love, such as buttons, switches, pickers, toolbars, sliders, etc.
Do you have a favorite iPhone SDK book?

How to Build iPhone Apps: 5 Tutorials

Add your favorite iPhone tutorials in the comments here.

How to develop iPhone Application Videos

Twitter iPhone Apps

AJAXWorld 2009 NY Notes: SOA RIA iPhone Clould Computing Conference

Add your thought about using Twitter on iPhone.

Open Social by Google: Instant Community for WordPress Blogs & Other Web Media

Fav Five Friday: Instant Community with OpenSocial by Google

Happy Fav Five Friday!

Instant Communities for WordPress Blogs & other Web Media with Google’s Open Social

Hello! Seems like my “Web Developer” side is breaking out today. I have a few things about the Collective Intelligence from Social Media and how important this is in Enterprise 2.0. I may need to save some of that for another post, because my “Web Strategy” side was a bit suppressed when I re-discovered the power of OpenSocial by Google.

Harness The Power of Your Social Media Network with the Magic of Google’s OpenSocial!

Do you think SOCIAL Media should be SOCIAL?

Do you have the me, me, me mentality? If you have the me, me, me mentality then stop wasting your time here and go broadcast something about yourself.

Are you interested in creating relationships while creating solutions?
Are you interested in discovering the “Social” side of Social Media?
Are you willing to help people discover connections without hours of code because you also enjoy things in The Real World (ITRW)?

Taking Advantage of Google’s OpenSocial

Web Space is rather large and sometimes there is just too much “Digital Noise” to filter through just to get to what you want. The web is more useful & fun when you can connect with your friends and colleagues. We use social media tools and applications to improve our lifestyle, which leads us to the need of a common API that connects us to our social circles. OpenSocial is a prime example of a common API that does harness the power of your social network. This API uses standard JavaScript and HTML to easily connect “Social” to “Media”.

Fav Five Quick Video Tutorials about OpenSocial

What are your favorite Social Media Tools?

What are your favorite Social Media Applications?


Microformats are designed for humans first and machines second, microformats are a set of simple, open data formats built upon existing and widely adopted standards. Instead of throwing away what works today, microformats intend to solve simpler problems first by adapting to current behaviors and usage patterns (e.g. XHTML, blogging).

microformat diagram http://microformats.org
microformat diagram http://microformats.org

Learn more at http://microformats.org/about/


There are several microformat plugins already created for WordPress. You can find microformat plugins by searching Google for “WordPress plugin microformat” or you can see a list of the stored plugins at WordPress here http://wordpress.org/extend/plugins/search.php?q=microformat

Here are a few of my favorite microformat plug-ins for WordPress.

Events Category


This plugin is developed at Shepherd Interactive for the benefit of the community.

Seamless event calendar solution which extends the basic WordPress functionality to enable future-dated posts to be listed within the blog chronology when they are assigned to a particular post category. The a future-dated post’s timestamp is used as the time stamp. Upcoming events widget included; includes iCal feed. HTML output contains hCalendar, hCard, geo, and adr microformats.



Author: Sam Wilson

A simple address book plugin.

You can view and edit addresses (names, addresses, phone numbers, email addresses, etc.) in the administration interface (under Manage > Addressbook or as its own top-level menu item), or embed a read-only list of addresses in posts and/or pages.

Addressbook features:

  • Gravatar support for both address lists;
  • hCard microformat support in the address list.

Micro Anywhere


Author: Alex Willemsma

Micro Anywhere is designed to allow anyone to make use of microformats on their blog, even if they don’t know what microformats are.

When the plugin is activated it adds two buttons to the WordPress WYSIWYG editor — one to insert event (calendar) data, and one to insert contact information (vCard) data. Each button opens an easy to use dialog box that prompts the user for information about their event or contact, and then outputs a human readable paragraph, fully marked up with a relevant microformat. When possible, relevant HTML tags are used to make interacting with the event easier. For example, if a URL is given, the event or contact’s name becomes a link to that URL.



Author: Andrew Turner & Mikel Maron

GeoPress adds geographic tagging of your posts and pages. You can enter an address, points on a map, or enter latitude & longitude using the post interface. You can also include the post location within the body itself to make it easy to geotag using emailed posts and desktop clients. Maps can be Google, Microsoft, OpenStreetMap, 3D globe, or any major mapping provider by using the Mapstraction mapping library. Makes your feeds GeoRSS compatible, and also adds KML for viewing in Google Earth.

Get more information at: http://georss.org/geopress



Author: Meitar “maymay” Moscovitz

Adds the Oomph Microformats toolkit‘s microformat overlay to any WordPress-generated pages (as long as the page has a microformat in it, of course).

This plugin is pretty idiotic (by which I mean brain-dead simple), but it does enable anyone to full microformat-enable their blog with purely point-and-click operations. It’s recommended that you start with a WordPress theme that already has built-in support for microformats, and then add this plugin to the mix.

I was going to write some more details about how to use mircoformats, but I found this very nice post about microformats already done, check it out http://mysaves.com/community/bookmark/visit/Getting-Semantic-With-Microformats-Introduction-~-A-Blog-384.html

Google API video overview

The Google Data APIs provide a simple standard protocol for reading and writing data on the web.

These REST-style APIs are based on the Atom Publishing Protocol (AtomPub), using the standard Atom syndication format to represent data and HTTP to handle communication. The Google Data API protocol also extends AtomPub for processing queries, authentication, batch requests, and providing alternate output formats (JSON, RSS).

Learn more about the Google API at http://code.google.com/apis/gdata/index.html