Smashing Ebook

Total Page:16

File Type:pdf, Size:1020Kb

Smashing Ebook IMPRINT Imprint © 2014 Smashing Magazine GmbH, Freiburg, Germany ISBN (PDF): 978-3-94454087-0 Cover Design: Veerle Pieters eBook Strategy and Editing: Vitaly Friedman Technical Editing: Cosima Mielke Planning and Quality Control: Vitaly Friedman, Iris Lješnjanin Tools: Elja Friedman Syntax Highlighting: Prism by Lea Verou Idea & Concept: Smashing Magazine GmbH 2 About This Book Slow loading times break the user experience of any web- site—no matter how well crafted it might be. In fact, it only takes three seconds until users lose their interest in a site if they don’t get a response immediately. If another site happens to be 250ms faster than yours, then users are more inclined to switch to a competitor’s website in no time. Web fonts, heavy JavaScript, third-party widgets — all of them can sum up to become a real performance bot- tleneck. Nevertheless, tracking that down does not only improve loading times but also results in a much snappi- er experience and a higher user engagement. In this eBook, we’ve compiled an entire selection of front-end and server-side techniques that will help you tackle such bottlenecks. Find out how to speed up exist- ing websites, build high-performance sites (for both mo- bile and desktop), and prepare them for heavy-load situa- tions. Furthermore, you’ll learn more about how perfor- mance improvements and a 97–99 Google PageSpeed score were achieved on Smashing Magazine, as well as how optimization strategies can enhance real-life projects by taking a closer look at Pinterest’s paint performance case study. With the help of this eBook, you’ll notice that it’s high time to dig deeper into your own site and exam- ine it closely. Why don’t you polish it up and make it even better than it already is! 3 IMPRINT TABLE OF CONTENTS Improving Smashing Magazine’s Performance: A Case Study......................................................................................5 How To Speed Up Your WordPress Website ......................50 You May Be Losing Users If Responsive Web Design Is Your Only Mobile Strategy....................................................... 64 How To Make Your Websites Faster On Mobile Devices............................................................................................. 86 Creating High-Performance Mobile Websites ..................115 Don’t Get Crushed By The Load: Optimization Techniques And Strategies....................................................... 137 Speed Up Your Mobile Website With Varnish................. 157 Cache Invalidation Strategies With Varnish Cache........169 Gone In 60 Frames Per Second: A Pinterest Paint Performance Case Study...........................................................179 About The Authors ..................................................................... 205 4 Improving Smashing Magazine’s Performance: A Case Study BY VITALY FRIEDMAN ❧ Improvement is a matter of steady, ongoing iteration. When we redesigned Smashing Magazine back in 2012, our main goal was to establish trustworthy branding that would reflect the ambitious editorial direction of the magazine. We did that primarily by focusing on crafting a delightful reading experience. Over the years, our focus hasn’t changed a bit; however, that very asset that helped to establish our branding turned into a major perfor- mance bottleneck. Good Old-Fashioned Website Decay Looking back at the early days of our redesign, some of our decisions seem to be quick’n’dirty fixes rather than sound long-term solutions. Our advertising constraints pushed us to compromises. Legacy browsers drove us to dependencies on (relatively) heavy JavaScript libraries. Our technical infrastructure led us to heavily customized WordPress plugins and complex PHP logic. With every new feature added, our technical debt grew, and our style sheets, markup and JavaScript weren’t getting any leaner. Sound familiar? Admittedly, responsive web design as a technique often gets a pretty bad rap for bloating web- sites and making them difficult to maintain. (Not that 5 IMPROVING SMASHING MAGAZINE’S PERFORMANCE: A CASE STUDY non-responsive websites are any different, but that’s an- other story.) In practice, all assets on a responsive website will show up pretty much everywhere1: be it a slow smart- phone, a quirky tablet or a fancy laptop with a Retina screen. And because media queries merely provide the ability to respond to screen dimensions—and do not, rather, have a more local, self-contained scope—adding a new feature and adjusting the reading experience poten- tially means going through each and every media query to prevent inconsistencies and fix layout issues. “MOBILE FIRST” MEANS “ALWAYS MOBILE FIRST” When it comes to setting priorities for the content and functionality on a website, “mobile first” is one of those difficult yet incredibly powerful constraints that help you focus on what really matters, and identify critical compo- nents of your website. We discovered that designing mo- bile first is one thing; building mobile first is an entirely different story. In our case, both the design and develop- ment phases were heavily mobile first, which helped us to focus tightly on the content and its presentation. But while the design process was quite straightforward, im- plementation proved to be quite difficult. Because the entire website was built mobile first, we quickly realized that adding or changing components on the page would entail going through the mobile-first ap- 1. http://www.guypo.com/mobile/ performance-implications-of-responsive-design-book-contribution/ 6 proach for every single (minor and major) design deci- sion. We’d design a new component in a mobile view first, and then design an “extended” view for the situa- tions when more space is available. Often that meant ad- justing media queries with every single change, and more often it meant adding new stuff to style sheets and to the markup to address new issues that came up. Shortly after the new SmashingMag redesign went live, we ran into per- formance issues. An article by Tim Kadlec from 20122 shows just that. We found ourselves trapped: development and mainte- nance were taking a lot of time, the code base was full of minor and major fixes, and the infrastructure was becom- ing too slow. We ended up with a code base that had be- 2. http://timkadlec.com/2012/01/work-to-be-done/ 7 IMPROVING SMASHING MAGAZINE’S PERFORMANCE: A CASE STUDY come bloated before the redesign was even released —very bloated3, in fact. Performance Issues In mid-2013, our home page weighed 1.4 MB and pro- duced 90 HTTP requests. It just wasn’t performing well. We wanted to create a remarkable reading experience on the website while avoiding the flash of unstyled text (FOUT), so web fonts were loaded in the header and, hence, were blocking the rendering of content (actually it’s correct behaviour according to the spec4, designed to avoid multiple repaints and reflows.) jQuery was required for ads to be displayed, and a few JavaScripts depended on jQuery, so they all were blocking rendering as well. Ads were loaded and rendered before the content to ensure that they appeared as quickly as possible. Images delivered by our ad partners were usually heavy and unoptimized, slowing down the page further. We also loaded Respond.js and Modernizr to deal with legacy browsers and to enhance the experience for smart browsers. As a result, articles were almost inaccessible on slow and unstable networks, and the start rendering time on mobile was disappointing at best. It wasn’t just the front-end that was showing its age though. The back-end wasn’t getting any better either. In 2012 we were playing with the idea of having fully inde- pendent sections of the magazine—sections that would 3. http://timkadlec.com/2012/01/work-to-be-done/ 4. http://www.w3.org/TR/resource-priorities/#intro-download-priority 8 live their own lives, evolving and growing over time as in- dependent WordPress installations, with custom features and content types that wouldn’t necessarily be shared across all sections. Yes, we do enjoy a quite savvy user base, so optimization for IE8 is really not an issue. Because WordPress multi-install wasn’t available at the time, we ended up with six independent, autonomous WordPress installs with six independent, autonomous style sheets. Those installs were connected to 6 × 2 data- 9 IMPROVING SMASHING MAGAZINE’S PERFORMANCE: A CASE STUDY bases (a media server and a static content server). We ran into dilemmas. For example, what if an author wrote for two sections and we’d love to show their articles from both sections on one single author’s bio page? Well, we’d need to somehow pull articles from both installs and add redirects for each author’s page to that one unified page, or should we just be using one of those pages as a “host”? Well, you know where this is going: increasing complexi- ty and increasing maintenance costs. In the end, the sec- tions didn’t manage to evolve significantly—at least not in terms of content—yet we had already customized tech- nical foundation of each section, adding to the CSS dust and PHP complexity. (Because we had outsourced WordPress tasks, some plugins depended on each other. So, if we were to deacti- vate one, we might have unwittingly disabled two or three others in the process, and they would have to be turned back on in a particular order to work properly. There were even differences in the HTML outputted by the PHP templates behind the curtains, such as classes and IDs that differed from one installation to the next. It’s no surprise that this setup made development a bit frus- trating.) The traffic was stagnant, readers kept complaining about the performance on the site and only a very small portion of users visited more than 2 pages per visit. The visual feedback when browsing the site was visible and surely wasn’t instant, and this lag has been driving read- ers away from the site to Instapaper and Pocket—both on mobile and desktop.
Recommended publications
  • Dockerdocker
    X86 Exagear Emulation • Android Gaming • Meta Package Installation Year Two Issue #14 Feb 2015 ODROIDMagazine DockerDocker OS Spotlight: Deploying ready-to-use Ubuntu Studio containers for running complex system environments • Interfacing ODROID-C1 with 16 Channel Relay Play with the Weather Board • ODROID-C1 Minimal Install • Device Configuration for Android Development • Remote Desktop using Guacamole What we stand for. We strive to symbolize the edge of technology, future, youth, humanity, and engineering. Our philosophy is based on Developers. And our efforts to keep close relationships with developers around the world. For that, you can always count on having the quality and sophistication that is the hallmark of our products. Simple, modern and distinctive. So you can have the best to accomplish everything you can dream of. We are now shipping the ODROID U3 devices to EU countries! Come and visit our online store to shop! Address: Max-Pollin-Straße 1 85104 Pförring Germany Telephone & Fax phone : +49 (0) 8403 / 920-920 email : [email protected] Our ODROID products can be found at http://bit.ly/1tXPXwe EDITORIAL ow that ODROID Magazine is in its second year, we’ve ex- panded into several social networks in order to make it Neasier for you to ask questions, suggest topics, send article submissions, and be notified whenever the latest issue has been posted. Check out our Google+ page at http://bit.ly/1D7ds9u, our Reddit forum at http://bit. ly/1DyClsP, and our Hardkernel subforum at http://bit.ly/1E66Tm6. If you’ve been following the recent Docker trends, you’ll be excited to find out about some of the pre-built Docker images available for the ODROID, detailed in the second part of our Docker series that began last month.
    [Show full text]
  • WURFL and WALL
    DDR Workshop WURFL, WALL and the community of mobile developers Luca Passani Solutions Architect [email protected] Device Fragmentation is deeper than Standards Can Reach Same mark-up, Same business logic, same device manufacturer,yet... you need to build two applications © 2006 Openwave Systems Inc. 2 Device Fragmentation is not only about standards Show me a standard that can turn one application into the other automatically (or just theoretically!) and I will be very impressed! © 2006 Openwave Systems Inc. 3 WURFL and WALL © 2006 Openwave Systems Inc. 4 WURFL and WALL (1 of 2) WURFL and WALL address device fragmentation – Free tool for the Developer community – Open Source – http://wurfl.sourceforge.net – http://developer.openwave.com/dvl/tools_and_sdk/wurfl_and_wall / WURFL = Wireless Universal Resource FiLe – Repository of device capabilities maintained by the developer community – Open Source Middleware: Java, PHP, Perl and more – Popular with Content Providers, i.e. Model is validated by a large installed base. – Adopted by some operators too WALL = Wireless Abstraction Library – Builds on top of WURFL – JSP tag-library – HTML-like: produces WML, XHTML-MP and Compact-HTML – Simple to use and deploy. © 2006 Openwave Systems Inc. 5 WURFL and WALL (2 of 2) WURFL Core Team: – Luca Passani: Openwave Consultant. – Andrea Trasatti: Independent Extended Team: – Between 40 and 200 (varying degrees of effort) – Hundreds of enthusiastic users around the world! The Community!!! – 2000+ strong developer mailing list (WMLProgramming on Yahoo groups) – Core Team has high credibility with the developer community. – The result of years of work helping mobile developers. © 2006 Openwave Systems Inc. 6 WURFL and WALL: Under the Hood ( I) • Driving Concept from the beginning of the WURFL project: “Essential device information MUST be publicly available ” • XML File containing device profiles • Comprehensive Device Repository – 7000+ devices (including firmware subversions of the same device) • Device profile is a list of capabilities (AKA attributes) and values.
    [Show full text]
  • Fira Code: Monospaced Font with Programming Ligatures
    Personal Open source Business Explore Pricing Blog Support This repository Sign in Sign up tonsky / FiraCode Watch 282 Star 9,014 Fork 255 Code Issues 74 Pull requests 1 Projects 0 Wiki Pulse Graphs Monospaced font with programming ligatures 145 commits 1 branch 15 releases 32 contributors OFL-1.1 master New pull request Find file Clone or download lf- committed with tonsky Add mintty to the ligatures-unsupported list (#284) Latest commit d7dbc2d 16 days ago distr Version 1.203 (added `__`, closes #120) a month ago showcases Version 1.203 (added `__`, closes #120) a month ago .gitignore - Removed `!!!` `???` `;;;` `&&&` `|||` `=~` (closes #167) `~~~` `%%%` 3 months ago FiraCode.glyphs Version 1.203 (added `__`, closes #120) a month ago LICENSE version 0.6 a year ago README.md Add mintty to the ligatures-unsupported list (#284) 16 days ago gen_calt.clj Removed `/**` `**/` and disabled ligatures for `/*/` `*/*` sequences … 2 months ago release.sh removed Retina weight from webfonts 3 months ago README.md Fira Code: monospaced font with programming ligatures Problem Programmers use a lot of symbols, often encoded with several characters. For the human brain, sequences like -> , <= or := are single logical tokens, even if they take two or three characters on the screen. Your eye spends a non-zero amount of energy to scan, parse and join multiple characters into a single logical one. Ideally, all programming languages should be designed with full-fledged Unicode symbols for operators, but that’s not the case yet. Solution Download v1.203 · How to install · News & updates Fira Code is an extension of the Fira Mono font containing a set of ligatures for common programming multi-character combinations.
    [Show full text]
  • Open Source Used in Cisco Security Manager 4.9
    Open Source Used In Cisco Security Manager 4.9 Cisco Systems, Inc. www.cisco.com Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on the Cisco website at www.cisco.com/go/offices. Text Part Number: 78EE117C99-89256559 Open Source Used In Cisco Security Manager 4.9 1 This document contains licenses and notices for open source software used in this product. With respect to the free/open source software listed in this document, if you have any questions or wish to receive a copy of any source code to which you may be entitled under the applicable free/open source license(s) (such as the GNU Lesser/General Public License), please contact us at [email protected]. In your requests please include the following reference number 78EE117C99-89256559 Contents 1.1 apache common IO 2.4 1.1.1 Available under license 1.2 apache commons codec 1.8 1.2.1 Available under license 1.3 Apache Commons Codec 1.3. 1.3.1 Available under license 1.4 Apache Commons Lang 3.1 1.4.1 Available under license 1.5 apache commons math 3.3.2 1.5.1 Available under license 1.6 Apache Http components client 4.2.5 1.6.1 Available under license 1.7 Apache Http components core 4.2.4 1.7.1 Available under license 1.8 Apache httpd 2.4.10 1.8.1 Available under license 1.9 Apache MINA Core 2.0.3 1.9.1 Available under license 1.10 apache-procrun 1.0.15 1.10.1 Available under license 1.11 apache-tomcat 6.0.41 1.11.1 Available under license 1.12 apr 1.5.1 1.12.1 Available under license 1.13 apr-inconv 1.2.1 1.13.1 Available
    [Show full text]
  • Open Orchestra Release 1.0.3
    Open Orchestra Release 1.0.3 July 04, 2016 Changelogs 1 Indices and tables 3 i ii Open Orchestra, Release 1.0.3 The main documentation is organized into a couple sections: • Changelogs • Introduction • User guide • Developer guide • Hosting guide • Miscellaneous Changelogs 1 Open Orchestra, Release 1.0.3 2 Changelogs CHAPTER 1 Indices and tables • genindex • modindex • search 1.1 Versions 1.x.x 1.1.1 1.0.x CHANGELOG for 1.0.5 Url to see changes: • Cms bundle • Display bundle • Model bundle • Model interface • Front bundle • Base bundle • Base api bundle • Base api model bundle • Media bundle • User bundle • Theme bundle • Worflow function bundle • Orchestra libs • Media admin bundle 3 Open Orchestra, Release 1.0.3 Bug fixes • [open-orchestra-cms-bundle] Change the appConfigurationView creation order #1762( juchi) CHANGELOG for 1.0.4 Url to see changes: • Cms bundle • Display bundle • Model bundle • Model interface • Front bundle • Base bundle • Base api bundle • Base api model bundle • Media bundle • User bundle • Theme bundle • Worflow function bundle • Orchestra libs • Media admin bundle Configuration changes • Update requirement symfony to symfony/symfony" : "~2.7.4" #80 • Update requirement twig to twig/twig": "~1.23.0 #80 Bug fixes • Fix dependency doctrine/mongodb-odm-bundle #182 • Fix type nodeId in php doc of NodeInterface and ReadNodeInterface #177 CHANGELOG for 1.0.3 Url to see changes: • Cms bundle • Display bundle • Model bundle • Model interface 4 Chapter 1. Indices and tables Open Orchestra, Release 1.0.3 • Front bundle • Base
    [Show full text]
  • African Fonts and Open Source
    African fonts and Open Source Denis Moyogo Jacquerye September 17th 2008 ATypI ‘o8 Conference St. Petersburg, Russia, September 2008 1 African fonts and Open Source Denis Moyogo Jacquerye African fonts and Open Source This talk is about: ● African Orthographies (relevance, groups, requirements) ● Technologies for them (Unicode, OpenType) ● Implementation ● Raise awareness and interest ● Case for Open Source ATypI ‘o8 Conference St. Petersburg, Russia, September 2008 2 African fonts and Open Source Denis Moyogo Jacquerye Speaker Denis Moyogo Jacquerye ● Computer Scientist and Linguist ● Africanization consultant ● DejaVu Fonts co-leader ● African Network for Localization (ANLoc) ATypI ‘o8 Conference St. Petersburg, Russia, September 2008 3 African fonts and Open Source Denis Moyogo Jacquerye ANLoc African fonts work part of ANLoc project ● Facilitate localization ● Empowering through ICT ● Network of experts ● Sub-projects: Locales, Keyboards, Fonts, Spell checkers, Terminology, Training, Localization software, Policy. ATypI ‘o8 Conference St. Petersburg, Russia, September 2008 4 African fonts and Open Source Denis Moyogo Jacquerye African languages ● Lots of African languages (over 2000) ● 25 spoken by about half ● 80% don't have orthographies ● 20% do! ● Can emulate! ATypI ‘o8 Conference St. Petersburg, Russia, September 2008 5 African fonts and Open Source Denis Moyogo Jacquerye African languages ● Used every day by most ● Education is mostly in European language ● Used in spoken media ● Interest is rising ATypI ‘o8 Conference St. Petersburg,
    [Show full text]
  • Itscriptnet Indago Developer Guide
    Version 4 Create Powerful Data Collection Solutions - Simply and Easily ITScriptNet Indago Developer Guide © 2000-2018 Z-Space Technologies, a BCA Innovations Company All Rights Reserved ITScriptNet Indago Developer Guide © 2000-2018 Z-Space Technologies, a BCA Innovations Company All Rights Reserved http://www.z-space.com No part of this User Guide, including illustrations and specifications, may be reproduced or used in any form or by any means without written permission from Z-Space Technologies, Inc. The material contained in this User Guide is subject to change without notice. Batch, Batch Plus, and OMNI are trademarks of Z-Space Technologies, Inc. All Rights Reserved. ITScript Net and Ready-To-Go are registered trademarks of Z-Space Technologies, Inc. All other products mentioned herein are the copyrights of their respective companies. Printed in USA. Contents 3 Table of Contents Part I Introduction 5 1 Softwa.r..e.. .L..i.c.e..n..s..e.. .A..g..r.e..e..m...e..n..t................................................................................................ 7 2 Techn..i.c..a..l. .S..u..p..p..o..r.t............................................................................................................... 10 Part II Program Designer Tour 11 Part III Program Design 13 1 Writin..g.. .S..c..r.i.p..t.s..................................................................................................................... 15 2 Progr.a..m... .S..e..t.t.i.n..g..s................................................................................................................
    [Show full text]
  • Tolino Software Licence Document (PDF)
    Legal notices Copyright © 2020 Rakuten Kobo Inc. Rakuten Kobo Inc. 135 Liberty Street Suite 101 Toronto, ON M6K 1A7 Canada This product includes proprietary and Open Source software. Source code of the Open Source components can be downloaded from http://opensource.mytolino.com/ This product contains Adobe (R) Reader (R) Mobile Software under license from Adobe Systems Incorporated, Copyright (c) 1995-2009 Adobe Systems Incorporated. All rights reserved. Adobe and Reader are trademarks of Adobe Systems Incorporated. Acknowledgements Adobe RMSDK Adobe Reader Mobile SDK 9.3.2 This product contains Adobe (R) Reader (R) Mobile software under license from Adobe Systems Incorporated, Copyright (c) 1995-2015 Adobe Systems Incorporated. All rights reserved. Adobe and Reader are trademarks of Adobe Systems Incorporated. Android Open Source Project This product contains a customized operating system developed by Kobo Rakuten Inc. based on the Android Open Source Project (AOSP). The preferred license for the Android Open Source Project is the Apache Software License, Version 2.0 ("Apache 2.0"), and the majority of the Android software is licensed with Apache 2.0. While the project will strive to adhere to the preferred license, there may be exceptions that will be handled on a case-by-case basis. For example, the Linux kernel patches are under the GPLv2 license with system exceptions, which can be found on kernel.org. For more information, see http://source.android.com/source/licenses.html Android 2.3.4 Gingerbread Copyright (c) 2008 The Android
    [Show full text]
  • Open Source Used in Cisco DCNM Network Manager 10.1.1
    Open Source Used In Cisco DCNM Network Manager 10.1.1 Cisco Systems, Inc. www.cisco.com Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on the Cisco website at www.cisco.com/go/offices. Text Part Number: 78EE117C99-132912176 Open Source Used In Cisco DCNM Network Manager 10.1.1 1 This document contains licenses and notices for open source software used in this product. With respect to the free/open source software listed in this document, if you have any questions or wish to receive a copy of any source code to which you may be entitled under the applicable free/open source license(s) (such as the GNU Lesser/General Public License), please contact us at [email protected]. In your requests please include the following reference number 78EE117C99-132912176 The product also uses the Linux operating system, Centos Full 6.7. Information on this distribution is available at http://vault.centos.org/6.7/os/Source/SPackages/. The full source code for this distribution, including copyright and license information, is available on request from [email protected]. Mention that you would like the Linux distribution source archive, and quote the following reference number for this distribution: 118610896-132912176. Contents 1.1 Apache Commons Net 1.4.1. 1.1.1 Available under license 1.2 Bootstrap 3.1.0 1.2.1 Available under license 1.3 Centos Full 6.7 1.3.1 GNU GENERAL PUBLIC LICENSE Version 2 1.3.2 GNU LESSER GENERAL PUBLIC LICENSE Version 2.1 1.3.3 GNU GENERAL
    [Show full text]
  • Primtux Primtux
    01/10/2021 22:03 1/8 PrimTux PrimTux Objet : Présentation de la Distribution GNU/Linux PrimTux Niveau requis : débutant, avisé Commentaires : Contexte d'utilisation du sujet du tuto. Débutant, à savoir : Utiliser GNU/Linux en ligne de commande, tout commence là !. Introduction PrimTux est une distribution GNU/Linux construite avec les paquets de Debian Jessie au moyen de Live-Build. Sources : PrimTux sur le Git de Framasoft Elle est destinée aux enfants à l'école primaire et à la maison. Elle est construite pour fonctionner avec 512 Mo de RAM sur des ordinateurs construits à partir de 2005. Sources de PrimTux2 Licenses de PrimTux PrimTux2 Logos Qu'est-ce que PrimTux ? PrimTux est une distribution éducative basée sur Linux. Cela signifie qu'elle est un système d'exploitation complet, au même titre que Windows, mais dont l’environnement a été adapté aux enfants de 3 à 10 ans. À l'école ou à la maison, les enseignants et parents disposeront avec elle d'une très riche logithèque pédagogique destinée aux enfants depuis la maternelle jusque dans les premières années du collège. Elle rassemble en effet des applications dispersées sur la toile et élaborées depuis une vingtaine d'années par des enseignants. Grâce au libre choix de bureaux différents et paramétrables : mini, maxi, super, et administrateur, chacun peut, par un simple changement de session, adapter son environnement de travail à ses capacités ou à ses besoins. L'enseignant trouvera également de très nombreuses ressources éducatives lui permettant de préparer sa classe ou proposer des prolongements à ses élèves. Il disposera d'un outil complet pour les préparer au B2i (brevet internet et informatique).
    [Show full text]
  • An M-Learning Approach in a Superior School
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Repositório Científico do Instituto Politécnico do Porto ESEIG Mobile: an m-Learning approach in a Superior School Ricardo Queirós and Mário Pinto al Abstract. In recent years, mobile learning has emerged as an educational approach to decrease the limitation of learning location and adapt the teaching- learning process to all type of students. However, the large number and variety of Web-enabled devices poses challenges for Web content creators who want to automatic get the delivery context and adapt the content to mobile devices. In this paper we study several approaches to adapt the learning content to mobile phones. We present an architecture for deliver uniform m-Learning content to students in a higher School. The system development is organized in two phases: firstly enabling the educational content to mobile devices and then adapting it to all the heterogeneous mobile platforms. With this approach, Web authors will not need to create specialized pages for each kind of device, since the content is automatically transformed to adapt to any mobile device capabilities from WAP to XHTML MP-compliant devices. Keywords: SOA; interoperability; services; e-learning INTRODUCTION In ESEIG (Escola Superior de Estudos Industriais e de Gestão) - of the Polytechnic Institute of Porto - we use a Learning Management System (LMS) to provide access to the learning resources and activities. In a recent survey (see section 3) we verify that a large number of students use mobile devices. They are already experienced with mobile technology and are eager to use their devices in e-Learning scenarios.
    [Show full text]
  • Thin Client Development and Wireless Markup Languages
    Thin Client Development and Wireless Markup Languages David Tipper Associate Professor Department of Information Science and Telecommunications University of Pittsburgh [email protected] http://www.sis.pitt.edu/~dtipper/2727.html Slides 10 Thin Client Development • Adopt architecture similar to wired Internet • Components – microbrowser (thin client), Web Server, content/data source, possibly a proxy gateway • Advantages – Rapid deployment, fresh data, easy to use, broad deployment Wireless Internet Microbrowser WWAN Clients Wireless Web Server Base Station Gateway Enterprise Data Sources 2 Telcom 2727 Content • Content Creation – Make content specifically for wireless handhelds – Use wireless markup languages (cHMTL, WML, XHTML-MP) • Content Adaptation – Adapt content for desktops to handheld devices on the fly • How to adapt (XLST, web clipping, image mapping, etc.) • Where to adapt? –Server – Portal between server and wireless gateway – Gateway to WWAN (WAP approach) – Client device Wireless Internet Microbrowser WWAN Clients Wireless Web Server Base Station Gateway Enterprise Data Sources 3 Telcom 2727 Wireless Markup Languages • Markup Languages: ML describe how a document is rendered • HDML: Handheld ML • WML : Wireless ML – Attempt to get one markup language – part of WAP • cHTML: compact HTML – Developed from i-mode service in Asia • XHTML-MP: extensible HTML mobile profile – Part of WAP 2.0 • Recent survey found that most content in cHTML and WML. WAP 2.0 browsers support WML and XHTML-MP. 4 Telcom 2727 Developing Thin Client
    [Show full text]