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="http://fangel.github.com/mobile-detection-varnish-drupal/">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="http://mobiledrupal.com/content/mobile-device-detection-varnish-0" target="_blank">read more</a></p> drupal mobile varnish Mon, 14 Feb 2011 05:01:39 +0000 Tom 108 at http://mobiledrupal.com AT&T Mobile Phones promotion site on Drupal <p>Last week I launched with <b><a href="http://www.northps.com">Northpoint Solutions</a></b> and <b><a href="http://www.vshift.com">VSHIFT</a></b> another mobile drupal site. <a href="http://attmobilephones.mobi">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="http://www.drupal.org/project/mobile_tools">Mobile Tools</a> and <a href="http://www.drupal.org/project/wurfl">WURFL</a>.</p> <p><span class="inline inline-center"><img src="http://mobiledrupal.com/sites/default/files/images/Screen 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="http://mobiledrupal.com/content/att-mobile-phones-promotion-site-drupal" target="_blank">read more</a></p> drupal mobile mobile tools wurfl Mon, 17 Jan 2011 23:27:58 +0000 Tom 107 at http://mobiledrupal.com Mobile Device Detection with Varnish <p>Thanks to <b><a href="http://drupal.org/user/376055">fangel</a></b> who wrote this week an interesting blog on using <b><a href="http://fangel.github.com/mobile-detection-varnish-drupal/">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="http://mobiledrupal.com/content/mobile-device-detection-varnish" target="_blank">read more</a></p> drupal mobile Mon, 10 Jan 2011 02:54:51 +0000 Tom 103 at http://mobiledrupal.com Northpoint sessions at Drupalcon Chicago <p><img style="float:left;width:40%;padding:3px" src="http://chicago2011.drupal.org/sites/default/files/imagecache/full-width--region-content_with_rail/sponsors/NorthPoint_Logotype_cmyk_registered_large_200ppi.jpg" />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="http://www.northps.com">Northpoint</a>.</p> <p>We recently have build some large traffic sites like <a href="http://www.menshealth.com">Mens Health</a>, <a href="http://fitbie.msn.com">Fitbie.msn.com</a>, <a href="http://eatthis.menshealth.com/">Eat This Not that</a>, ... we are currently working on the Drupal version of <a href="http://www.more.com">More.com</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="http://drupal.org/project/mobile_tools">Mobile Tools</a></b> module and I would like to share some of the concepts behind it.</p> <p><a href="http://mobiledrupal.com/content/northpoint-sessions-drupalcon-chicago" target="_blank">read more</a></p> drupal drupalcon northpoint Mon, 20 Dec 2010 18:28:17 +0000 Tom 102 at http://mobiledrupal.com Proposed Mobile sessions for Drupalcon Chicago <p>One of the rewarding activities as maintainer of <a href="http://drupa.org/project/mobile_tools">Mobile Tools</a> is seeing how the adoption of the module is <a href="http://drupal.org/project/usage/mobile_tools">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="http://drupal.org/user/244460">ericduran</a></b> who stepped up as co-maintainer for the <a href="http://drupal.org/node/829118">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="http://chicago2011.drupal.org/sessions/proposals?field_track_value_many_to_one=All&amp;field_experience_value_many_to_one=All&amp;keys=mobile">Drupalcon Chicago</a></b> (Check out my <a href="http://chicago2011.drupal.org/sessions/making-mobile-websites-drupal">proposal</a>).</p> <p>I tried to assemble an overview of these session and categorize them in different topics:</p> <p><a href="http://mobiledrupal.com/content/proposed-mobile-sessions-drupalcon-chicago" target="_blank">read more</a></p> drupal mobile Sun, 19 Dec 2010 21:36:18 +0000 Tom 99 at http://mobiledrupal.com 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="http://m.drupal.org" title="http://m.drupal.org">http://m.drupal.org</a></li> <li>Desktop site: <a href="http://www.drupal.org" title="http://www.drupal.org">http://www.drupal.org</a></li> </ul> <p>The trick is to let Drupal set your cookie for the base domain: drupal.org...</p> <p>Doing this can simply done by changing the $cookie_domain variable in your settings.php file.</p> <p><a href="http://mobiledrupal.com/content/persist-your-session-accross-desktop-and-mobile-site" target="_blank">read more</a></p> drupal mobile Fri, 26 Nov 2010 16:37:03 +0000 Tom 97 at http://mobiledrupal.com Create your own device detection algorithm in Drupal using Wurfl and Mobile Tools <p>While going through the <a href="http://drupal.org/project/issues/mobile_tools">Mobile Tools issue queue</a> today, I noticed some questions on the device detection mechanism in <a href="http://www.drupal.org/project/mobile_tools">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="http://drupalcode.org/viewvc/drupal/contributions/modules/mobile_tools/mobile_tools.module?revision=1.15.2.63&amp;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="http://mobiledrupal.com/content/create-your-own-device-detection-algorithm-drupal-using-wurfl-and-mobile-tools" target="_blank">read more</a></p> device detection drupal mobile Sun, 21 Nov 2010 16:32:12 +0000 Tom 96 at http://mobiledrupal.com 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="http://mobiledrupal.com/content/sugestio-recommendations-service-drupal" target="_blank">read more</a></p> drupal recommendations sugestio Wed, 27 Oct 2010 01:38:38 +0000 Tom 93 at http://mobiledrupal.com 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="http://www.microsoft.com/windowsphone/en-us/default.aspx">Windows Phone</a> today, the new <a href="http://www.symbian.org/symbian-platform/symbian3">Symbian^3</a> and the <a href="http://na.blackberry.com/eng/services/blackberry6/">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="http://buytaert.net/drupal-in-a-tablet-world">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="http://github.com/workhabitinc/drupal-ios-sdk">Drupal iOS SDK</a></strong> is an iPhone library for Objective-C developers</li> <li><strong><a href="http://groups.drupal.org/titanium-api">Titanium API Group</a></strong> tries to collect snippets of code for the <a href="http://www.appcelerator.com/">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="http://mobiledrupal.com/content/powering-mobile-apps-drupal" target="_blank">read more</a></p> android drupal iPhone mobile Tue, 12 Oct 2010 02:28:37 +0000 Tom 92 at http://mobiledrupal.com 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="http://mobiledrupal.com/content/mobile-web-testing-whats-my-toolkit" target="_blank">read more</a></p> drupal mobile web Tue, 14 Sep 2010 06:16:39 +0000 Tom 88 at http://mobiledrupal.com