MODF - pronounced mode-f - is something I’ve been not working on for the past 5 months, and I’m quite happy with the fact it’s now available on github.
So, what is MODF?
Nothing more than a mobile detection engine aiming at serving the right version of a page to the right user. I know a lot of similar php scripts are available here and there, but I hope to have a slightly different approach with MODF. The script doesn’t detect the device, it just sniffs the user agent to find out if the device used to access a page is a phone, at tablet or a computer. Nothing too complicated, but the real value of MODF will be in providing tools around cross device web design. I’m thinking CSS3 buttons, sliders, mobile specific CSS rules, templates, WordPress themes, basic landing page themes, forms, etc.
NSQ/SDKV is using MODF, and will obviously act as a lab for the project. This means that the current NSQ/SDKV theme will be improved in the coming weeks, especially for desktop and tablet access as there is a lot to do…
Installation
Using MODF is quite self explanatory, upload the /modf directory to your server, and use the code in the index.php file to include the detection “engine” in your header. Note that for now these instructions are really limited but you can check the README on github for more up to date info in the next days.
An Open Source project
If you like mobile and web design please join the project, it can be quite interesting considering the growing need for mobile web apps and sites. I think anyone with knowledge in php, js, html can have fun working on this so get in touch on twitter, via github or c[at]nsqsdkv[dot]com.