There are sample chapters and source code available for both books