Page 1 of 1

Raxan Plugin: Device Detector

PostPosted: Thu Oct 21, 2010 7:29 pm
by fc_Damir
Hello everyone,
I would like to share with the whole community raxan this useful plugin.
With this plugin you will be able to determine the type of device that the user is using.
With the recognition will be able to load the master template for the type of device, as well as views, css files or javascript files.
Thanks to the MVC raxan, the logic of your application remains the same, while the views are changing.

In attachment you can download the folder containing the plugin with an example of use.
The directory is structured as follows:

raxan/plugins/
device_detector.php
templates/
desktop.html
ipad.html
iphone.html
generic_mobile.html
views/
desktop.index.php
ipad.index.php
iphone.index.php
generic_mobile.php
demodevicedetector.php

Please share any better solution or enhancement that you can do to the plugin.
I would be grateful.

Enjoy

Best regards,
Damir