published by jeremyfrench on Tue, 06/03/2012 - 13:42
I am looking at implementation strategies for a website, it has been a while since I have been in i18n land. So I have been doing some research and I am shocked at the state of things.
published by jeremyfrench on Fri, 02/03/2012 - 16:30
Drupal's batch API is a handy tool for processing multiple items giving you feedback on how a process is going and avoiding page timeouts or memory issues.
All that you need to be able to make use of the batch api is:
A batch of items to process
A function to wrap items in the batch
So say you wanted to amend a subset of nodes, you could write a query to retrieve the NIDs, create a function to do your amendment and use the batch api.
There is only one parameter you need to know for the batch api array and that is operations.
published by jeremyfrench on Mon, 06/02/2012 - 13:21
A couple of notes on this. Which should be obvious.
Don't try and do it in a lunch break. Make sure your host gives you enough memory. 32MB won't cut it. Hopefully if you are seeing this it means that I have rectified these mistakes.
published by jeremyfrench on Thu, 16/12/2010 - 16:25
Drupal 7 is a great improvement over 6, I can't wait for it to be released. However it's progress is eclipsing what could be an even greater improvement to the Drupal ecosystem and that is Views 3
Views is one of the most popular and most useful Drupal modules. Views 2 allows a huge amount of flexibility. Views 3 takes this to an almost unbelievable level.
However the documentation is still catching up. One of the features which has been added is support for SQL group by clauses.
published by jeremyfrench on Mon, 23/08/2010 - 12:53
I have been working on Drupal 7 sites for a while now, mostly on research projects. I like a lot of the D7 features, and think it is a big step forward over Drupal 6, which wasn't bad to begin with. Most of my work on D7 won’t have modules which will go on Drupal.org, being 'closed' or at least too specific. So I was pleasantly surprised when I was working on a side project to see an opportunity to give a little code back.
published by jeremyfrench on Fri, 02/07/2010 - 14:57
XML gets a bad rap from time to time, some criticisms against it are fair, most of the time it is people seem to complain about a bad application of XML and confuse that with the mark-up being bad.
published by jeremyfrench on Mon, 17/05/2010 - 10:10
I am used to working with semantic web technology, however often the decisions made in some of the ontologies I have seen baffle me. While they are technically correct, they sometimes seem a little strange.
What I realise is that I have not gone through the exercise myself yet. Over the next few months I intend to go through the process of building an ontology, so that I may better understand why things have been done in others that I read.
published by jeremyfrench on Thu, 13/05/2010 - 12:32
Some notes after creating a basic mobile tool using Drupal. Not exhaustive research but could be handy to someone trying to do the same.
Created a new theme got rid of all regions bar $content.
Also as we didn’t need them for the app, commented out tabs.
Even if you keep all content in a page small it looks like webkit will still zoom out by default. <meta name = "viewport" content = "initial-scale = 1.0"> sets the zoom level to 1.