官术网_书友最值得收藏!

The RESS idea>

Besides screen width, we may need to take into account other things such as bandwidth and pay-per-bandwidth plans, processor speed, available memory, level of HTML/CSS compatibility, monitoring color depth, and possible navigation methods (touch screen, buttons, and keyboard). On a practical level, it means we may have to optimize images and navigation patterns, and reduce page complexity for some devices. To make this possible, some Server Side solutions need to be engaged. We may use Server Side just for optimizing images. Server Side optimization lets us send pages with just some elements adjusted or a completely changed page; we can rethink the application structure to build a RESTful web interface and turn our Server Side application into a web service. The more we need to place responsibility for device optimization on the Server Side, the closer we get to the old way of disparate desktops and mobile web's separate mobile domains, such as iPhone, Android, or Windows applications.

There are many ways to build responsive websites but there is no golden rule to tell you which way is the best. It depends on the target audience, technical contexts, money, and time. Ultimately, the way to be chosen depends on the business decisions of the website owner.

When we decide to employ Server Side logic to optimize components of a web page designed in a responsive way, we are going the RESS (Responsive Web Design with Server Side components) way. RESS was proposed by Luke Wroblewski on his blog as a result of his experiences on extending RWD with Server Side components. Essentially, the idea was based on storing IDs of resources (such as images) and serving different versions of the same resource, optimized for some defined classes of devices. Device detection and assigning them to respective classes can be based on libraries such as WURFL or YABFDL.

主站蜘蛛池模板: 新平| 淄博市| 乌拉特前旗| 肇州县| 门源| 临桂县| 辽中县| 河津市| 烟台市| 闸北区| 蒙城县| 从江县| 尼木县| 永善县| 西宁市| 鄂州市| 郓城县| 连平县| 蓬溪县| 梁山县| 黄浦区| 嘉善县| 揭东县| 高邮市| 枣庄市| 南平市| 分宜县| 尖扎县| 舟曲县| 鄂托克旗| 来宾市| 洪泽县| 丹凤县| 彝良县| 张家港市| 油尖旺区| 阜阳市| 腾冲县| 新民市| 莆田市| 林口县|