Developer Zone

Google drive PDF embed without uploading to Drive first

I am trying out embedding a pdf on a webpage using google drive previewer.

Basically create an iframe with the src set to "http://docs.google.com/gview?url[insert the url of the pdf]&embedded=true"

<iframe src="http://docs.google.com/gview?url=http://79.170.44.209/craigalmondscouts.co.uk/30th/wp-content/uploads/Scout-Programme-Spring-2015.pdf&#038;embedded=true" style="width:560px; height:790px;" frameborder="0"></iframe>
gives us:

Git rebase in an agile workflow

I have been using git merge quite a lot at work as a part of the my workflow, because the powers that be outlined how we should be working prior to deployment, but it means that looking at the history in a graphical tool you get a messy web of branches, so I asked the question
"Should we be using rebase more in our workflow?"

Here are some of the arguments for rebase:

The Case for Git Rebase

Git Branching for Agile Teams

I really liked this webinar from Atlassian which contains a special mention of using git with Jira and Jenkins for continuous integration (CI), all of which I use at work, bonus.
http://www.youtube.com/watch?v=9SZ7kSQ2424
Utopia == A seperate build for each branch and automated testing with CI.

More Workflow chat

I listened to this podcast recently and found the chat about workflows really interesting, especially relevant is the chat about git/jenkins/jira automatically coming together and might be worth looking into:
http://www.lullabot.com/blog/podcasts/workflow-uh-what-it-good

12 tips to get your website humming for the holidays

https://www.getpantheon.com/blog/12-tips-get-your-drupal-website-humming-holidays

Its focus is on drupal, but the concepts can be applied elsewhere. It is all standard stuff, but with some QA and load testing links at the end.

Christmas is coming

Christmas is coming the .gz is getting fat. Please do fputs a $penny in the $old-mans-hat[];

or some other even more witty introduction. Advent is here, it time to stop complaining that there are christmas adverts in shops or on telly and open the calenders:

Drupal 7 Media by Liran Tal

Image of Drupal 7 Media

Having read through Drupal 7 media, I can honestly say I am quite impressed.

For once a book like this doesn't start with the obligatory chapter on installing and setting up drupal, quite a refreshing change, but instead leads off with an explanation on nodes and entities and then focuses on setting up a content type for dealing with media using the image handling features that come with drupal by default

Mixed Inline and header defined ad units

I thought I would share my experience of trying to implement both the header definition style alongside the inline definition style, so that I could allow editorial staff to choose whether or not to place adverts in the body of an article.

Postscribe for ad delivery

This slideshow suggests that its benefits include: It is possible to load ads after a full page load including in an ajax call.

I think it may also be possible to include a layer of security into the ad delivery essentially we can strip out any js we don't want to be introduced into the site e.g. removing document.writes.

Google tag manager may be useful after all to a developer wishing to open up the ability for ad teams to insert their own ads, without giving full backend access.

Designing systems not pages

Having been through the re-development process quite recently I have walked away with the notion that it could have been done better. Not that the design could have been better or that the build could have been done better, but the process could have been easier. Communication could have been more fluid and guesswork and follow up discussions could have been reduced if the transfer of ideas had been more robust.

Pages