Technical stuff Requirements are like water. They're easier to build on when they're frozen.

Posts Tagged ‘PHP’

PHP in the mobile ecosystem

01.28.2011 · Posted in Mobile development

Device detection Mostly from the user agent. —> http://detectmobilebrowsers.mobi/ —>>> ugly code, good docs —> http://www.deviceatlas.com/ —>>> $99 / year for production —> http://wurfl.sourceforge.net/ —>>> open-source list of mobile devices for easy detection Don’t redirect to homepage, it’s not what the user wants. Beware: the screen sizes vary heavily, don’t make assumptions about this. Small ...

The PHP code conventions I use

05.22.2009 · Posted in Resources

<?php // Did you notice the full-style opening PHP tags? /************************************************************** * Variable Naming conventions ************************************************************* * - Use data type as prefix inside the name * Eg: $sName instead of just $name * - Try to use as descriptive names as possible * Eg: $arProductList instead of just $arList **************************************************************/ /************************************************************** * Basic Datatypes ...