The Future of Blogs Development at the new York Times


Scott Taylor
@wonderboymusic

Big Changes


svn to git

CSS to LESS

JS to RequireJS

static build to Grunt

full theme to partial theme

standalone app to integrated app

shared global assets to inherited assets

one size to responsive

Node JS

http://nodejs.org/


NPM

https://npmjs.org/


Grunt

http://gruntjs.com/


LESS

http://lesscss.org/


RequireJS

http://requirejs.org/

Bootstrap

switch ($request->getQueryParam('_type')) {
    case 'blogs':
	define( 'WP_USE_THEMES', true );
	require_once( $pathToAdd . '/NYTimes/Web/Blogs/Content/wp-config.php' );

	wp();
		
	ob_start(); wp_head(); define( 'WORDPRESS_HEAD', ob_get_clean() );
	ob_start(); require_once( ABSPATH . WPINC . '/template-loader.php' ); define( 'WORDPRESS_OUTPUT', ob_get_clean() );

        $container->set('appConfig', 'NYTimes\Web\Blogs\ApplicationConfiguration', false, false);
        return new \NYTimes\Web\Blogs\ApplicationController($container);
        break;

} 

The Future of Blogs Development at the new York Times

By Scott Taylor

The Future of Blogs Development at the new York Times

WordPress Big Media Meetup. 8/21/13

  • 11,811