Media Hive brings the power of Internet technology to the end user to satisfy their needs, solve their problems and delight them.

JavaScript Best Practices

JavaScript is only one actor in a much bigger performance. It plays a role, but is dependent upon it’s support cast (Style Sheets, HTML). The best JavaScript code will be useless when combined with poorly structured HTML and badly written CSS. Likewise, the most logically structured XHTML will perform badly if combined with poorly written JavaScript. All three elements need to pull together to make a well functioning and rich user interface.

Structure (HTML/XHTML/XML), Style (CSS & non content images), Behavior (JavaScript).

These three items are interdependent but the user interface should be constructed to function without the JavaScript and CSS. The principle of “progressive enhancement” is based on the idea that you should begin with your core content. The core content is structured using markup. That marked up content is then enhanced. That enhancement might be stylistic, using CSS, or it might be behavioral using DOM scripting.

Contact Us

Featured Work

Homedics

As the innovative leader in self-care, wellness and personal health products, HoMedics wanted to showcase their broad range of products, and provide customers with an efficient product information channel.

We're hiring!

Recent Projects

»The Talent Business Public Website

The Talent Business describes itself as “… the world’s leading champion and provider of marketing communications talent at all levels, everywhere. We believe in the power of great talent to drive business success, and we help make that happen in every way that we can.”

»ATG Centralized UI Foundation

We have a very unique view of the development process at ATG, whereas most of the developers are associated with a single project scope we will often be assigned at various levels to multiple projects. It gives us a very insightful top down view of the UI and how it all fits together. We were drivers behind centralizing many of the aspects of the common UI.