I loathe Theoretical Web Designers

Skills: Theoretical Advanced Knowledge of HTML and CSS. I'm going to let that phrase sink in for a while. *deep breath, okay continue*

I've seen that on a resume for a Web Designer before. Unbelievable right?It is actually refreshingly honest as most Web Designers only work as theorists.

I've worked with a lot of web designers over the years. Most of them work in Photoshop and pass off their PSD's to front-end developers for the implementation. Usually, a lot of back and forth commences between the two as the front-end guy has to deal with forgotten items such as roll-overs, UX, error states, etc. Maybe the front-end guy doesn't get the PSD's until after the client has approved the designs. Good luck buddy.

This back and forth costs business a lot of money. Every project, every page comp, every client, every time. It adds up quickly. I'm putting Web Designers on notice, if you can't build your design in HTML and CSS, you're a Theoretical Web Designer (TWD).


Drop all tables in a MySQL database

mysqldump -u[USERNAME] -p[PASSWORD] --add-drop-table --no-data [DATABASE] | grep ^DROP | mysql -u[USERNAME] -p[PASSWORD] [DATABASE]

Edit: On second thought, reading MySQL docs it says that...

When a database is dropped, user privileges on the database are not automatically dropped.

I should probably test this but it sounds as though a DROP [DATABASE] && CREATE [DATABASE] will do the trick for you.


Installing XHProf in MAMP for Drupal 6

XHProf is a hierarchical profiler for PHP. It reports function-level call counts and inclusive and exclusive metrics such as wall (elapsed) time, CPU time and memory usage. A function's profile can be broken down by callers or callees. The raw data collection component is implemented in C as a PHP Zend extension called xhprof. XHProf has a simple HTML based user interface (written in PHP). The browser based UI for viewing profiler results makes it easy to view results or to share results with peers. A callgraph image view is also supported.

So you're sold, but getting it installed in MAMP is kind of a pain.

A little about my setup system first. I'm running Mac OS X 10.6.4 with MAMP 1.9.2 with php 5.2.13 and you'll need Xcode.



Subscribe to david stoline. RSS