Mobile Drupal - drupal en Mobile device detection with Varnish <p>As I already have blogged before, if you are using Varnish as a page caching mechanism, Drupal cannot be used to detect the device that is visiting your website.</p> <p>Already <b><a href="">some examples </a></b> have been created to detect devices in Varnish and add a header string that allows the Drupal backend to know about the device type.</p> <p>This is just a small snippet that I use to redirect mobile users to a mobile url and desktop users to the desktop url.</p> <p><div class="geshifilter"><pre class="text geshifilter-text" style="font-family:monospace;"># vcl_recv routine sub vcl_recv { call device_detection;</pre></div></p> <p><a href="" target="_blank">read more</a></p> drupal mobile varnish Mon, 14 Feb 2011 05:01:39 +0000 Tom 108 at AT&T Mobile Phones promotion site on Drupal <p>Last week I launched with <b><a href="">Northpoint Solutions</a></b> and <b><a href="">VSHIFT</a></b> another mobile drupal site. <a href="">ATT&amp;T Mobile Phones</a>. A promotional website to consult the latest mobile phones and search stores on your mobile.</p> <p>The site runs on Drupal 6 using <a href="">Mobile Tools</a> and <a href="">WURFL</a>.</p> <p><span class="inline inline-center"><img src=" shot 2011-01-17 at 6.14.49 PM.png" alt="ATT screen 1" title="ATT screen 1" class="image image-_original " width="300" /></span></p> <p><a href="" target="_blank">read more</a></p> drupal mobile mobile tools wurfl Mon, 17 Jan 2011 23:27:58 +0000 Tom 107 at Mobile Device Detection with Varnish <p>Thanks to <b><a href="">fangel</a></b> who wrote this week an interesting blog on using <b><a href="">Varnish to detect mobile devices</a></b>, we are a step closer to creating performant architectures that serve both mobile and desktop websites.</p> <p><a href="" target="_blank">read more</a></p> drupal mobile Mon, 10 Jan 2011 02:54:51 +0000 Tom 103 at Northpoint sessions at Drupalcon Chicago <p><img style="float:left;width:40%;padding:3px" src="" />There are only <b>3 days left</b> to cast your votes for Drupalcon chicago, so in case you are lost in the vast amount of sessions and you did not have the time yet to vote, I would like to share with you the sessions proposed by my colleagues at <a href="">Northpoint</a>.</p> <p>We recently have build some large traffic sites like <a href="">Mens Health</a>, <a href=""></a>, <a href="">Eat This Not that</a>, ... we are currently working on the Drupal version of <a href=""></a>, and we are creating Mobile Drupal sites for AT&amp;T and Johnson&amp;Johnson. Personally I have dedicated a lot of time to the <b><a href="">Mobile Tools</a></b> module and I would like to share some of the concepts behind it.</p> <p><a href="" target="_blank">read more</a></p> drupal drupalcon northpoint Mon, 20 Dec 2010 18:28:17 +0000 Tom 102 at Proposed Mobile sessions for Drupalcon Chicago <p>One of the rewarding activities as maintainer of <a href="">Mobile Tools</a> is seeing how the adoption of the module is <a href="">steadily growing</a>. Since my first commit om march 22nd 2009, we have now a reported installation base of <b>2,630 installs</b> and this number is steadily rising. This number can count as a good indicator how big the interest in mobile is getting... </p> <p>With <b><a href="">ericduran</a></b> who stepped up as co-maintainer for the <a href="">Drupal 7 branch</a> we are preparing Mobile Tools for the future!</p> <p>This upward mobile trend is also visible in the number of proposed sessions for <b><a href=";field_experience_value_many_to_one=All&amp;keys=mobile">Drupalcon Chicago</a></b> (Check out my <a href="">proposal</a>).</p> <p>I tried to assemble an overview of these session and categorize them in different topics:</p> <p><a href="" target="_blank">read more</a></p> drupal mobile Sun, 19 Dec 2010 21:36:18 +0000 Tom 99 at Persist your session across your desktop and mobile site <p>This is a small tip for devs who decide to use separate domains for the desktop site and for the mobile site, and who want users to easily switch between both sites without loosing the session.</p> <p>e.g.:</p> <ul> <li>Mobile site: <a href="" title=""></a></li> <li>Desktop site: <a href="" title=""></a></li> </ul> <p>The trick is to let Drupal set your cookie for the base domain:</p> <p>Doing this can simply done by changing the $cookie_domain variable in your settings.php file.</p> <p><a href="" target="_blank">read more</a></p> drupal mobile Fri, 26 Nov 2010 16:37:03 +0000 Tom 97 at Create your own device detection algorithm in Drupal using Wurfl and Mobile Tools <p>While going through the <a href="">Mobile Tools issue queue</a> today, I noticed some questions on the device detection mechanism in <a href="">Mobile Tools</a> and how some desktop browsers are wrongly detected as mobile devices.</p> <p>To be honest I don't use the Mobile Tools built in device detection mechanism myself.... The simple reason is that Mobile Tools has a set of rules that try to discover the nature of the accessing device by looking at the user agent string. Have a quick look at the <b><a href=";view=markup">code (line 496: function _mobile_tools_is_mobile_device())</a></b> to see how the device detection works. </p> <p>You will understand that the effort in keeping up with new devices and browsers is not an easy task, and these rules become inaccurate or outdated. It is sufficient and recommended for testing and quick prototyping during mobile development... But I would not recommend using it for production sites!</p> <p><a href="" target="_blank">read more</a></p> device detection drupal mobile Sun, 21 Nov 2010 16:32:12 +0000 Tom 96 at Sugestio: recommendations as a service for Drupal <p>Making your website more personal has long been a wish for many developers. If you can predict what your visitors will like, you could give this content a more prominent position and potentially increase participation (clicks, sales, uploads, comments, ...) on your website.</p> <p><a href="" target="_blank">read more</a></p> drupal recommendations sugestio Wed, 27 Oct 2010 01:38:38 +0000 Tom 93 at Powering mobile apps by Drupal <p>The interest in creating mobile apps or mobile websites with Drupal is increasing enormously. With the launch of the new <a href="">Windows Phone</a> today, the new <a href="">Symbian^3</a> and the <a href="">BlackBerry 6</a> family of devices, the already enormous popular Android and iPhone duo got some new brothers and sisters. It is clear that there will be an enormous need for mobile developers and platforms that can drive these developments.</p> <p>To illustrate the interest of the Drupal community in Mobile, just have a ook at a recent blogpost by Dries <a href="">where he polled the community</a> about possible wishes and needs in order to make Drupal a better platform to drive mobile apps.</p> <p>While a number of solutions are being created as we speak I just wanted to point to two specific efforts that, instead of creating Drupal code to better communicate with mobile apps, write libraries for mobile platforms to better communicate with Drupal:</p> <ul> <li><strong><a href="">Drupal iOS SDK</a></strong> is an iPhone library for Objective-C developers</li> <li><strong><a href="">Titanium API Group</a></strong> tries to collect snippets of code for the <a href="">Titanium Framework</a> that can power both Android and iPhone platforms. Hopefully some more formal Titanium libraries will emerge from this effort...</li> </ul> <p><a href="" target="_blank">read more</a></p> android drupal iPhone mobile Tue, 12 Oct 2010 02:28:37 +0000 Tom 92 at Mobile Web testing... What's in my toolkit <style> #simulators dt { padding-top: 10px; } #simulators dt a { color: #CA0F10; } </style><p>When you are developing mobile websites, it is very important to have a rich Toolset that helps you in evaluating your mobile creations. This is not only for yourself, but also to reassure the client that you have the development under completely under control.</p> <p>Screensizes and browser capabilities can change the look and feel of your site drastically... So better prepare!</p> <p><a href="" target="_blank">read more</a></p> drupal mobile web Tue, 14 Sep 2010 06:16:39 +0000 Tom 88 at