Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^2: Perl & Templating for a mobile future.

by punch_card_don (Curate)
on Jan 15, 2013 at 21:07 UTC ( #1013457=note: print w/replies, xml ) Need Help??

in reply to Re: Perl & Templating for a mobile future.
in thread Perl & Templating for a mobile future.

I see that many websites offer the "classical" site for the usual PC/laptop/netbook browsers at say "" and mobile devices optimized versions at "" or "" or such. Is this due to lack of reliable browser recognition? Or is it lack of knowledge from their programmers and web-designers?

This is an old strategy. Rudimentary device/browser detection and two completely separate websites, one for pc and one for mobile. Nightmarish for content management - essentially two parllel sites to maintain. Plus, administrators would strip down the pc site for mobile, meaning mobile users got a crappy, incomplete version of the site.

Objective today is to provide as close to the same content as possible on both. And to have as little duplication as possible. These were the objectives of approaches like Progressive Enhanvcement and Responsive Design. But those move sooooooo much processing to the client side. I'm already seeing articles announcing the death of Progressive Enhancement.

I figure a good compromise that optimizes the balance between the solid footing of server-side processing, minimal duplication, and unlimited custom formatting for devices is good old Templating and dynamic generation. Serve it all prep'd and don't rely on the device too much.

But, then sniffing is key.

Or - the Perl world has developed a much better idea, and I'd looooove to read about it.

Time flies like an arrow. Fruit flies like a banana.
  • Comment on Re^2: Perl & Templating for a mobile future.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1013457]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2021-01-22 02:47 GMT
Find Nodes?
    Voting Booth?