3rd WP MeetUp Vienna

04/04/2013 @sektor5

with Franz Josef Kaiser


UK WP.K WP.SE

Evaluating Themes


Before & after

Premium & Take away

Before Checking the source

Toolkit

  1. Chrome Dev Tools F12
  2. FireBug F12
  3. MS/IE Dev Tools F12
  4. Opera Dev Tools Ctrl + Shift + i
  5. a close look and an eye for details

Scripts

  1. Amount of Scripts
  2. Console Errors
  3. FPS

Amount of Scripts

How much is too much?

Dev tools → Resources:

Now: Count them …

Solution?

Can I haz more scriptz?

Of course …
jquery.flexslider-min.js
jquery.flexslidermin.js
… makes the alarm bells ring jingle bells.

Timeline / fps

Timeline / fps

Slower devices

Can your handheld render this?

You can't touch this

Afterwards? Checking the code

File Organisation

Easy to adapt to your needs?

Easy to adapt to your needs?


Or one million, billion options?

Code Readability

Like this?

# The Loop
if ( have_posts() )
{
	while( have_posts() )
	{
		the_post();
		the_title();
		the_content();
	}
}

Or like this?

Get_Ultimative_Framework::the_template();

Paranoia Config

# PHP errors
error_reporting( E_ALL | E_STRICT );
@ini_set( 'display_errors',     1 );

# WordPress: DEBUG
define( 'WP_DEBUG',             true );
define( 'WP_DEBUG_DISPLAY',     true );
define( 'SAVEQUERIES',          true );
# WordPress: DEBUG (MU)
define( 'DIEONDBERROR',         true );

Download & additional explanation

Got everything running?

No?


Get a dev.

Questions?

Or beer.

Link here

franz-josef-kaiser.github.com/wpm_vie_3/