Sounds cool, just check out the License (I assume it is similar as Drupal itself: https://drupal.org/licensing/faq/#q1), but if you're already Mobilizer committer, you should be familiar. Unless there is any part that's directly derived from either DeviceMap or other projects on a different license, that should be OK.
Speaking of Gists, I just attended the first Copenhagen Dart User Group Meeting. And there is also a somewhat similar Gist for Dart like the "simple" version: https://gist.github.com/prujohn/8944552ac92538ea164b There's also an entire Dart-based Web framework named Rikulo which sounds vaguely similar as AeroGear by Red Hat or other PhoneGap/Cordova related initiatives. The extent to which both use native/scripted code running directly on devices compared to mobile web apps seems about similar, so Rikulo probably won't have that much use for server-side device recognition either, while general Web apps written in Dart may have. Werner On Tue, Jun 11, 2013 at 11:10 PM, Matt Korostoff <[email protected]>wrote: > I could take a shot at that, though I'd probably do something more like > this https://gist.github.com/MKorostoff/5760582 > > Would you be comfortable with me contributing this back to the Drupal > Mobilizer project? Even with a warning like "for experimental use only" > it's still possible that you'll start to see drupal users pointing their > production sites at http://www.ducis.net/Miri. Note Mobilizer has close > to > no usage at the moment, it launched six days ago. > > On Tue, Jun 11, 2013 at 6:22 AM, eberhard speer jr. <[email protected] > >wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Werner, all, > > > > benchmarks etc. > > Without wanting to start a p*-ing match, here are some of the > > 'benchmarks' : > > > > - - nothing beats Reza's dClass > > - - my current demo based on the DeviceMap code and a few tweeks (see > > document on implementation, to be completed) achieves an average of > > around 20 ms : user-agent parser and resolver (+ ALL available > > properties per device, property data-type, property default value AND > > property description) > > - - the API -- measured over +10 million queries which include junk, and > > all manner of user-agent strings -- currently achieves a total > > processing-time (sever side, from IIS logs) of 100 ms per request > > > > It would be nice and constructive if the Drupal Mobilizer could > > connect/integrate DeviceMap rather then depend on its current device > > resolution code. It may even be that relying on the demo-API > > (http://www.ducis.net/Static/examples_php.htm) achieves faster and > > more detailed results. > > This would allow the Drupal Mobilizer user to plug-in a local or > > remote DeviceMap API and use that for the internal HTML formatting. > > > > If I were more of a PHP-man, that's something I'd be tinkering with now. > > > > esjr > > > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.8 (MingW32) > > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > > > iQEcBAEBAgAGBQJRtvqAAAoJEOxywXcFLKYcq78IAL7ax87LAAeCQCfhDq9cO8Te > > Z6G43nYagQtueDt7v/Yb15SSvobct/AQcTUTS7ncEkZwIYHiGxcBFcftzrG9Xz8O > > toy7uSWicg4Rz8+jCZrv3w6OuxS9ayo/xL+yClXpoT0E7lt27BDKTaksRh9ZkdPH > > j/glAf/n3+tYnWBwkAIJmEj5QCJCVcrpkoZBNZs1tNE7iUMRx8JZ7BQJeIJRHXOn > > B78//4imSV2TjgKScax0edqIP1NmqXBm40LjJMybG8P7bwMC2JY+GESVuMUm5R+E > > PpUnds35yGmmnJsKYBsQ5Zw5rP8UoTfcMMbcUi1n3OMaTzzDttor8X0kbuOKiMk= > > =a9wH > > -----END PGP SIGNATURE----- > > >
