Watch the Wes By Night online guitar lesson by TrueFire from Play Jazz Guitar 5: Lick Lexicon
Wes By Night - Lick 19 is a video guitar lesson presented by David Hamburger and is sourced from 50 Jazz-Blues Licks You MUST Know.
I studied for a while with guitarist Peter Einhorn when I lived in Brooklyn, and he turned me on to one of the most memorable and important ideas I've ever been exposed to as an improvisor.
For centuries, classical composers have been using a concept called sequencing to take their most basic ideas, or motifs, and develop them in various directions, and Peter suggested that one could take the same concept and use it to develop a solo. In fact, he pointed out that Wes consistently used motivic development as an improviser, and suggested taking one of his solos and analyzing it that way. Ever the dutiful student (well, not really, but this particular week at least) I took a look at Wes' first couple of choruses on "James and Wes" (from The Dynamic Duo with Jimmy Smith) and, sure enough, it was one of the most frighteningly logical things I'd ever seen - besides being funky as anything and swinging like a mo'fo'. At its simplest, you're sequencing an idea when you play a lick including the major third on the I chord and then repeat it while flatting the third over the IV chord. The rest, to quote Rabbi Hillel, "is commentary. Now go and learn."