Wordpress + Docker + Github

Working with Wordpress and Git for me has been a challenge. Ideally I want to keep just my plugins and theme in version control and keep all the Wordpress files (that I would never edit) seperate. You can accomplish this manually but how would this work if you are using Docker for local development? Docker.. actually makes this easy and quite elegant. With Docker you are able to leverage the Wordpress container and just have your theme and plugins in version control....

July 13, 2015 · Benjamin Sternthal

Setting up PhpStorm 2 with XDebug and MAMP

Getting XDebug setup and working with PhpStorm 2 is relatively painless but I thought I would add some hints I found when setting this up. These instructions assume you are debugging a web based application using MAMP as your server environment. Turn on Xdebug For MAMP Luckily, the version of MAMP that I have, (and presumably yours too) comes with xdebug so no need to download anything. You can confirm you have everything by making sure you have the xdebug....

February 23, 2011 · Benjamin Sternthal

A Full Page Width Scroller For jQueryUI - wideScroller

I needed a full page width image scroller that supported “infinite scrolling” and could handle being positioned, where the 1st image is aligned to something on the page. Poking around I found most jQuery scrollers made use of scrollTo and would not work when the window was the container. So I coded my own as a jQueryUI widget, this widget can be used with any HTML content. Requirements To use wideScroller you need the following:...

November 22, 2010 · Benjamin Sternthal

IDEs For Front End Development & PHP

I make my living as a front-end developer and spend the majority of my time in an IDE. So the IDE for me, is an incredibly important piece of software. I’ve played with and purchased a bunch of em’ and what follows are my personal thoughts on each. I hope this might save you some time/money when deciding which IDE to invest in. Some of these IDEs I used for years, others for only a short time....

October 19, 2010 · Benjamin Sternthal

Should You Extend or Wrap jQuery UI 1.8 Widgets

As part of a recent project I was tasked with creating a set of custom jQuery UI widgets. When specing my widgets I discovered almost all would use some existing widget features, like sortable. I found myself trying to decide if I should extend existing widgets or somehow wrap the existing widgets with my custom code? I think this is a common question. The jQuery UI widget factory provides a method to inherit one and only one widget....

May 21, 2010 · Benjamin Sternthal