Web Development

Butte Business Resources

Butte Business Resources

Website: www.buttebusinessresources.com
Formula:

Debut: March, 2008

Chabin Concepts and MC2 Design are proud to announce the release of Butte County’s new regional economic development and business resource site: ButteBusinessResources.com. Designed and developed by MC2, the site is geared to be a central location for businesses in Butte County to find resources in business development, funding, marketing, business expansion, human resources, and consulting.

PHP CSV Utilities v0.2 released – now able to detect the format of a csv file

Download PHP CSV Utililties v0.2
Read Documentation for PHP CSV Utilities

I have just wrapped up version 0.2 of our csv library. It includes several new features. The most exciting of which is the new Csv_Sniffer class.

(more…)

Cut down on temporary variables in PHP with Fluidics

Ollie Saunders, a colleague of mine and a regular at the DevNetwork forums has put together a very slick little set of functions he has collectively termed “PHP Fluidics”. If there is one thing that really sucks about PHP, it’s how often you have to use temporary variables to get to methods or array elements you need. Fluidics makes this process (and several others) much easier. We use this library in just about everything we code these days and I’d like to point out a few reasons why.

(more…)

Overland Equipment

Overland Equipment

Website: www.overlandequipment.com
Formula:

Debut: February, 2008

MC2 Design is pleased to announce Overland Equipment’s web site launch for the 2008 product year. We have been fortunate to work with Overland Equipment since 2001, designing and developing their corporate website. Overland Equipment is a designer and manufacturer of quality bags since 1981.

PHP CSV Utilities – a PHP library similar to python’s standard CSV module

Download PHP Csv Utilities

PHP Csv Utilities Documentation (PhpDocumentor)

Since I began doing web development five years ago, I have been exclusively a PHP developer. Recently though, I have taken quite a liking to python. In fact many times while I’m writing PHP I find myself thinking, “It sure would be nice if I could do this the python way”. It’s not that I don’t love PHP, it’s just that python is such an absolute joy to work with. Many features of PHP feel sort of tacked-on as an afterthought. For instance, many standard features available for object-oriented languages are rudimentary or missing completely. Although to PHP’s credit, PHP5 and the new Zend engine 2 have improved the situation considerably.

Several of the recent projects I’ve been working on have required an “import from / export to CSV” feature. PHP comes with a few functions for reading and writing csv files right out of the box: fgetcsv and fputcsv. While these are good functions and they get the job done I find they just aren’t enough in many cases. It would be nice if PHP had an interface like python’s csv module. Enter PHP CSV Utilities. The library is still in its infancy and nothing about the interface is concrete yet, but here are some of the things that are already possible with the library:

(more…)

Lead developer for jQuery UI hired to work on it full-time

jQuery has long been our favorite javascript library for things such as simple effects, ajax, and other behavior-related tasks. There is one place I’ve always thought jQuery could use improvement, and that is their UI elements. Well I’m pleased to announce that is all about to change.

jQuery UI is growing, and I’m already seeing quite a few sites using it exclusively to support their interface. As a matter of fact, it’s growing so well, that a LA-based open-source company decided to hire a person to exclusively work on jQuery UI full-time.

More

The Printed Image

The Printed Image

Website: printedimagechico.com
Formula:

Debut: December, 2007

Established in 1980, The Printed Image has been providing outstanding quality and service for over a quarter of a century. They utilize the latest technical advancements in screen printing, producing high quality, precisely registered designs. MC2 Design is proud to be a part of their eCommerce web launch featuring their; Look and Touch, Smokey the Bear, Woodsy the Owl, Nature Fact Bandannas and Warbird Wearable retail lines.

OllyDog.com

OllyDog.com

Website: www.ollydog.com
Formula:

Debut: November, 2007

MC2 Design Group is proud to announce the redesign of OllyDog.com. Ollydog makes cute collars, leashes, beds, toys, accessories, and bowls for dogs, and from the perspective of dogs.

Sometimes it’s fun to be a total DOMAss

I’d just like to announce the release of DOMAssistant 2.0 by Robert Nyman. For those of you who aren’t DOMAsses, the author describes the library as follows:

The idea of DOMAssistant is to provide a simpler and more consistent way to script against the Document Object Model (DOM) in web browsers. The idea is that everything starts with the element in question, and then performs various methods on it, such as adding/removing classes, finding elements with a certain className, applying events to it, etc.

This new release introduces several cool new features:

  • Chainability
  • Basic Ajax capabilities
  • New DOMReady() method to better identify when the DOM is fully loaded
  • XPath support

Now, being a jQuery fanatic, I was skeptical of giving this library a try, but I must say that it is actually pretty fun to work with. The chainability added in this newest version makes common tasks very simple, and the code short and easy to understand. Take a look at the following:

  // add an onclick event to #element and add the class "class-name"
  $("element").addEvent("click", function(){
    alert('Thanks for clicking, pally-o!');
  }).addClass('class-name');

Another very cool thing about this library is that it’s pretty small. The entire source code for it is only 10k (compressed, but not gzipped), where jQuery is 26kb (compressed, but not gzipped). On top if that, the library is modular. If you aren’t going to use any ajax, you don’t need to bloat up your source with the ajax functions. There are several modules in the library and you are free to pick and choose which you want to use.

Head on over to the DOMAssistant project page and take a look… don’t be a DOMAss.

Creating “zebra-striping” with Miva’s “Store-morph” template system

The technique of “zebra-striping” tables and other data-centric html elements has been around for a long time. It is an easy way to make mundane, hard-to-read elements pretty and readable. You can see an example of this technique below. Notice how each row is a difference color? This is what is referred to as “zebra-striping”.
Zebra-Striping
There has been many times I’ve wished to get this effect within Miva Merchant 5. Luckily, Merchant’s SMT template system or “store-morph” technology allows for this. In fact, it’s pretty simple.

 

(more…)