Presentation technology for multiple devices

Our application should serve several devices, from simple to smartphones, IPhones, touch screens to regular browsers.

The application is multi-level, so we can reuse the business and retention level. However, we would like to program one layer of the presentation. I know, for example, that ASP.NET generates different html data based on browser type. http://msdn.microsoft.com/en-us/library/ms178620.aspx

There are even some sites that promise to convert your site to mobile: http://instantmobilizer.com

Is there a java infrastructure capable of creating a presentation that adapts to the browser and client device, so that we do not need to program a different presentation level for each type of device? What is the standard way to manage multi-device support requirements in web applications?

+3
source share
3 answers

While it’s true that you can create different markup styles from one implementation of the view (for example, using different XSL transformations selected based on the type of device), you still need to saddle the “lowest common denominator” interface.

( ) , , WML, HTML high-end XHTML . WML , , . WML , XHTML- CSS javascript .

, .

, , iphones , , , .

, , .

+1

, -, , , .

, media CSS. ( Motorola Razr Blackberry Bold):

CollyLogic: 7

+1

Of course, the standard way to handle multiple devices connecting to the same web application makes different presentations for each device. One structure that allows all this ZK you can see a live demo at http://www.zkoss.org/zkdemo/userguide/#f2

0
source

Source: https://habr.com/ru/post/1725285/


All Articles