top
logo
English (United Kingdom)Italian (Italy)


Apache Mobile Filter OLD VERSION - What we need before ?
Indice
Apache Mobile Filter OLD VERSION
What we need before ?
What is a filter ?
How I configure my “Mobile Filter” ?
Resize Image System
Who use this filter ?
Tutte le pagine

The main features of this module

The module has three main feature:

  1. Redirect the device to the correct layout
  2. Resize images on the fly to adapt to the screen size of the mobile devices
  3. Pass parameter of wurfl to your web application (php, ruby, perl ..... etc.)

 

What we need to know before ?

Before you continue to read this document you must need to reed some information in this order:

  1. http://wurfl.sourceforge.net/
  2. http://httpd.apache.org/
  3. http://modperl.apache.org

If you want to know how to build a mobile site a good start is here: http://www.passani.it/gap/

If you want to know something about the world of mobile technology I have written this article,  the only problem it's in Italian (if anyone have the patience to translate is wellcome)

The idea

The idea is to give to anybody the possibility to create mobile solution, it's not important if you know programming language just what you need to know is a little bit of html and if it's necessary wml.
So I thought it was  to make something simply that can identify a browser and redirect it the correct url (for mobile or pc).

 

If you are a  programmer and you want to develop a simple mobile solution you can use this module to pass few Wurfl Capabilities information to your application. In this case it's not important with which technology you want to develop your site and you don't need to implement new methods to how recognise the devices.

How I control the correct layout ?

Fondamentally my filter have two function:

  1. Switch to the correct content URL
  2. Pass the information to URL like cookie or qwery string
  3. transform "on the fly" image for the correct screensize of the device

So with point 1 you can use static file or if you want you can use another good filter called "Apache XSLT Filter", so you can control the layout with XML and XSL method (like COCOON).

Why I use Perl to develop ?

Because respect language C is easier and faster to develop, and for me is the best language to manage strings and array. But if you want to help me to build a C versin of this filter wellcome.

What I need to start ?

 

This is the software and perl modules you need to install before use my Filter.
Apache 2.x.x
mod_perl 2.0

Apache2::Filter
Apache2::RequestRec
Apache2::RequestUtil
Apache2::SubRequest
Apache2::Log;
CGI::Cookie
Text::LevenshteinXS
APR::Table
LWP::Simple
Image::Resize
Apache2::Const
IO::Uncompress::Unzip

 

 

 



Commenti (0)
Commenta
I tuoi dettagli:
Commento:
[b] [i] [u] [url] [quote] [code] [img]   
Security
Inserisci il codice anti-spam che vedi nell'immagine.
Ultimo aggiornamento Domenica 25 Luglio 2010 21:33
 

Newsletter





bottom
top

Mobility Site

WMLProgramming

Mobile Monday


bottom

IF sas di Idel Fuschini & C. P.IVA: 09659851001
Powered by Joomla!. Designed by: Free Joomla Themes, hosting. Valid XHTML and CSS.