JavaScript and Web Development

Caching Tips for Chrome Using the Developer Tools

18 June 2015 - Quick Tip - James Brown - No Comments

Below are two helpful tips for controlling the cache in Chrome.

The Hybrid Backbone & React App – Peter Piekarczyk – JSConf 2015

29 May 2015 - JSConf 2015 - James Brown - No Comments

The Hybrid Backbone & React App By Peter Piekarczyk – https://twitter.com/peterpme UI Engineer @TrunkClub Usedpreviously: https://speakerdeck.com/jhabdas/brunch-with-panache https://github.com/trunkclub/brunch-with-panache Now using Backbone with React.js for the Views Look into and use: onClick=handleClick.bind(this, @) Migration Start with small components Use a backbone/react mixin Get familiar with the API initialize= componentDidMount remove=unmountComponentAtNode Convert your parent view to use React.createElement instead Don’t freak out about […]

Woah, You Can Test IE & Microsoft Edge on a Mac & Linux? – Rey Bango at JSConf 2015

27 May 2015 - JSConf 2015 - James Brown - No Comments

 Talk by Rey Bango https://twitter.com/reybango People don’t like IE because of lack of feature knowledge in the community.  Which is MS fault. IE 11 is pretty standards based Get ISOs:  http://dev.modern.ie Want to know the current features of IE?  http://dev.modern.ie/platform/status/ IE Dev Guides:  http://bit.ly/iedevguides Compat Cookbook:  http://bit.ly/iecompatcookbook Dev Tools:  http://bit.ly/f12devtools Using remote desktop and ngrok, you can […]

Selectively Loading JavaScript and CSS Files in WordPress

31 March 2015 - WordPress - James Brown - 1 Comment

If you’ve done any WordPress development, you’ve encountered a situation where you need to load custom JavaScript or CSS. Normally, you would do something like this: function enqueue_scripts_styles() { wp_enqueue_script(‘jquery’); wp_enqueue_script(‘custom-script’, get_stylesheet_directory_uri() . ‘/assets/js/custom.js’, array(‘jquery’)); wp_enqueue_style(‘custom-style’, get_stylesheet_directory_uri() . ‘/assets/css/custom.css’, array() ); } add_action( ‘wp_enqueue_scripts’, ‘enqueue_scripts_styles’ ); This code will load jQuery, then load our custom […]

WordCamp Tampa – WordPress Performance Workshop by Mark Jaquith

5 October 2014 - Conference - James Brown - No Comments

Why does performance matter? People hate lag.  Amazon projects that 1 sec translates to 1.6 billion a year WordPress has a bad rap.  Lots of plugins.  Complex front-ends. WordPress is dynamic. WordPress has no persistent caching in the core and is hands-off in regards to caching. Chrome HTML render time is everything (server, network, browser, […]

WordCamp Tampa – Automating Your Repetitive WordPress Development Tasks by David Parsons

4 October 2014 - Conference - James Brown - No Comments

David Parsons https://twitter.com/dpjustice We all have 86,400 seconds in a day “If you don’t have time to do it right, when will you have time to do it over again?” “Let’s do ourselves a favor and build it right the first time” Backups – Use version control with deployment using Beanstalk/Tower and Automated DB Backup Theme […]

WordCamp Tampa – 30 Things You Must Do Before Launch by Drew Barton

4 October 2014 - Conference - James Brown - 2 Comments

Drew Barton https://twitter.com/drewbarton http://southernweb.com/ Have a checklist Limit your admin users – Give them Editor access instead Give editor access to menus – Install Editor Theme Options No default permalinks Remove “Hello World!” content from the blog Unblock search engines Install YOAST for SEO Unique Title tags for each page Install video user manuals for […]

WordCamp Tampa – WordPress and the Enterprise: API Driven Business System Integration by Chris Jenkins

4 October 2014 - Conference - James Brown - 1 Comment

Most companies have a large divide between the main site and internal systems Most WordPress to internal systems is done through sending email Documentation for API interaction with WordPress is lacking Example API Lead collection : Collect complex pre-sales data and post it to the CRM. Create associated contacts, create an actionable ticket, assign it […]

WordCamp Tampa 2014 Conference Notes

4 October 2014 - Conference - James Brown - No Comments

Below are links to my notes from the 2014 WordCamp Tampa on October 4th & 5th, 2014: Day 1 – Saturday: Putting things where they belong: child themes and functionality plugins Research & Discovery Phase : Project Planning WordPress and the Enterprise: API Driven Business System Integration 30 Things You Must Do Before Launch Automating […]

WordCamp Tampa – Research and Discovery Phase by James Tryon

4 October 2014 - Conference - James Brown - 1 Comment

James Tryon thewpvalet.com Each project is different Explore the problems Challenges Goals Define full scope and vision of the project together Works in an agile manner Internal Review meeting Review client questionnaire client sites creative brief Get paid for research and discovery phase Planning Research goal planning Target audience User stories Competitor analysis Content strategy […]