• Ei tuloksia

Luvussa 1.1 esitettyihin tutkimuskysymyksiin voidaan vastata tulosten yh-teenvetona seuraavasti:

TK1: Miten Web-sovellus tulee toteuttaa, jotta se on mahdollista jul-kaista lähes identtisenä hybridisovelluksena sovelluskaupassa?

Mikäli käytetään hybridisovelluskehystä, jossa sovelluksen paikal-liset resurssit käyttävät file-skeemaa, on käytettävä suhteellisia URL-osoitteita tai muodostettava oikea absoluuttinen URL-osoi-te ajonaikaisesti JavaScriptin avulla. Saman alkuperän käytän-nön vaikutukset esimerkiksi evästeiden käsittelyyn on huomioita-va käytettäessä ulkoisella palvelimella sijaitsevia resursseja. Käyt-töliittymää suunniteltaessa on varmistettava, että suunnittelurat-kaisut ovat luontevia jokaisen julkaisualustan kontekstissa sekä

LUKU 7. JOHTOPÄÄTÖKSET 46 toiminnallisesti että ulkoasullisesti.

TK2: Kuinka laajasti sovelluksen osia voidaan uudellenkäyttää hybridi-sovelluksen ja Web-hybridi-sovelluksen välillä?

Lähes kaikkia sovelluksen osia on mahdollista uudelleenkäyttää hybridisovelluksen ja Web-sovelluksen välillä. Ainoastaan sovel-luksen sisäiset ostot toteuttava Cordovan laajennos ei toimi sel-laisenaan tavallisessa Web-sovelluksessa.

TK3: Onnistuuko hybridisovelluksen integroiminen yhden tai useamman sovelluskaupan sovellusten sisäisten ostojen järjestelmään?

Hybridisovellus on mahdollista integroida Applen AppStoren so-velluksen sisäisten ostojen järjestelmään käyttämällä Cordovan laajennosta. Integroiminen onnistuu samalla laajennoksella to-dennäköisesti myös Google Play -kauppaan.

Tämän työn tavoitteena oli kartoittaa asioita, jotka tulee ottaa huomioon, kun kehitetään hybridisovellusta mobiililaitteille. Erityisesti tarkoituksena oli löytää eroja tavallisen Web-sovelluksen toteuttamiseen. Tutkimus täytti sille asetetun tavoitteen. Tässä työssä esitetyt huomiot palvelevat hybridisovel-luksien ja -sovelluskehysten kehittäjiä, sekä välillisesti hybridisovelluksena toteutettavien mobiilisovellusten käyttäjiä.

Lähteet

[1] Stylus. URL https://github.com/stylus/stylus. Viitattu 18.4.2015.

[2] Gary Anthes. HTML5 leads a Web revolution. Communications of the ACM, 55(7):16–17, heinäkuu 2012. ISSN 0001-0782. DOI 10.1145/

2209249.2209256.

[3] Matti Anttonen, Arto Salminen, Tommi Mikkonen ja Antero Taival-saari. Transforming the Web into a real application platform: New technologies, emerging trends and missing pieces. Proceedings of the 2011 ACM Symposium on Applied Computing, SAC ’11, sivut 800–

807, New York, NY, USA, 2011. ACM. ISBN 978-1-4503-0113-8. DOI 10.1145/1982185.1982357.

[4] Appcelerator. Appcelerator products. URL http://www.appcelerator.

com/product/. Viitattu 22.10.2014.

[5] AppGyver. AppGyver Steroids. URL http://www.appgyver.com/

steroids. Viitattu 22.10.2014.

[6] Apple. In-app purchase programming guide, lokakuu 2013.

URL https://developer.apple.com/library/ios/documentation/

NetworkingInternet/Conceptual/StoreKitGuide/. Viitattu 31.3.2015.

[7] Apple. About the iOS technologies, syyskuu 2014. URL https://developer.apple.com/library/ios/documentation/

Miscellaneous/Conceptual/iPhoneOSTechOverview/. Viitattu 4.3.2015.

47

LÄHTEET 48 [8] Apple. Start developing iOS apps today, joulukuu 2014. URL

https://developer.apple.com/library/ios/referencelibrary/

GettingStarted/RoadMapiOS/. Viitattu 4.3.2015.

[9] Apple. iOS developer program. URL https://developer.apple.com/

programs/ios/. Viitattu 4.3.2015.

[10] Jake Archibald. 300ms tap delay, gone away, joulukuu 2013. URLhttp:

//updates.html5rocks.com/2013/12/300ms-tap-delay-gone-away. Vii-tattu 24.3.2015.

[11] Lee Barney. QuickConnect iPhone: an iPhone UIWebView hybrid framework, toukokuu 2008. URL https://tetontech.wordpress.com/

2008/05/28/quickconnect-iphone-an-iphone-hybrid-framework/. Vii-tattu 30.1.2015.

[12] Lee Barney. UIWebView example code, toukokuu 2008. URL https://

tetontech.wordpress.com/2008/05/23/uiwebview-example-code/. Vii-tattu 30.1.2015.

[13] Adam Barth. The Web origin concept. RFC 6454 (Proposed Standard), joulukuu 2011. URL http://www.ietf.org/rfc/rfc6454.txt.

[14] Robin Berjon, Steve Faulkner, Ian Hickson, Travis Leithead, Erika Do-yle Navara, Edward O’Connor ja Silvia Pfeiffer. HTML5. W3C Recom-mendation, W3C, lokakuu 2014. URL http://www.w3.org/TR/2014/

REC-html5-20141028/.

[15] Tim Berners-Lee, Roy Fielding ja Larry Masinter. Uniform resource identifier (URI): Generic syntax. RFC 3986 (Internet Standard), tam-mikuu 2005. URL http://www.ietf.org/rfc/rfc3986.txt.

[16] Blackberry. Develop with BlackBerry. URL http://developer.

blackberry.com/develop/. Viitattu 31.3.2015.

[17] Tim Bray. The JavaScript Object Notation (JSON) Data Interchange Format. RFC 7159 (Proposed Standard), maaliskuu 2014. URL http:

//www.ietf.org/rfc/rfc7159.txt.

LÄHTEET 49 [18] Tim Bray, Jean Paoli, Michael Sperberg-McQueen, Eve Maler ja François Yergeau. Extensible markup language (XML) 1.0 (fifth edi-tion). W3C Recommendation, W3C, marraskuu 2008. URL http:

//www.w3.org/TR/2008/REC-xml-20081126/.

[19] Laurie M. Bridges ja Hannah Gashco Rempel. That was then, this is now: Replacing the mobile-optimized site with responsive design. Infor-mation Technology and Libraries, 32(4):8–24, 2013. DOI10.6017/ital.

v32i4.4636.

[20] Andre Charland ja Brian Leroux. Mobile application development: Web vs. native. Communications of the ACM, 54(5):49–53, toukokuu 2011.

ISSN 0001-0782. DOI 10.1145/1941487.1941504.

[21] Isabelle Dalmasso, Soumya K. Datta, Christian Bonnet ja Navid Nika-ein. Survey, comparison and evaluation of cross platform mobile applica-tion development tools. Wireless Communications and Mobile Compu-ting Conference (IWCMC), 2013 9th International, sivut 323–328, hei-näkuu 2013. DOI 10.1109/IWCMC.2013.6583580.

[22] Facebook. Advanced performance. URL https://facebook.github.io/

react/docs/advanced-performance.html. Viitattu 18.4.2015.

[23] Facebook. JSX in depth. URL https://facebook.github.io/react/

docs/jsx-in-depth.html. Viitattu 18.4.2015.

[24] Roy T. Fielding ja Julian F. Reschke. Hypertext transfer protocol (HTTP/1.1): Message syntax and routing. RFC 7230 (Proposed Stan-dard), kesäkuu 2014. URL http://www.ietf.org/rfc/rfc7230.txt. [25] Roy T. Fielding ja Richard N. Taylor. Principled design of the

mo-dern Web architecture. ACM Trans. Internet Technol., 2(2):115–150, toukokuu 2002. ISSN 1533-5399. DOI 10.1145/514183.514185.

[26] Apache Software Foundation. About Apache Cordova. URL https:

//cordova.apache.org/. Viitattu 22.10.2014.

LÄHTEET 50 [27] William Frakes ja Carol Terry. Software reuse: Metrics and models.

ACM Comput. Surv., 28(2):415–435, kesäkuu 1996. ISSN 0360-0300.

DOI 10.1145/234528.234531.

[28] Jesse James Garrett. Ajax: A new approach to Web applica-tions, helmikuu 2005. URL http://www.adaptivepath.com/ideas/

ajax-new-approach-web-applications. Viitattu 19.2.2015.

[29] Gartner. Gartner says annual smartphone sales surpassed sales of feature phones for the first time in 2013, helmikuu 2014. URL http://www.

gartner.com/newsroom/id/2665715. Viitattu 14.10.2014.

[30] Gartner. Gartner says worldwide tablet sales grew 68 percent in 2013, with android capturing 62 percent of the market, maaliskuu 2014. URL http://www.gartner.com/newsroom/id/2674215. Viitattu 14.10.2014.

[31] Gartner. Gartner says sales of tablets will represent less than 10 percent of all devices in 2014, lokakuu 2014. URL http://www.gartner.com/

newsroom/id/2875017. Viitattu 14.1.2015.

[32] Gartner. Gartner says in 2015, 50 percent of people considering bu-ying a smart wristband will choose a smartwatch instead, marraskuu 2014. URL http://www.gartner.com/newsroom/id/2913318. Viitattu 14.1.2015.

[33] Google. Android SDK. URL https://developer.android.com/sdk/. Viitattu 23.10.2014.

[34] Google. The Android source code. URL http://source.android.com/

source/. Viitattu 14.10.2014.

[35] Google. Google Play in-app billing. URL https://developer.android.

com/google/play/billing/index.html. Viitattu 31.3.2015.

[36] John Gregg ja Anne van Kesteren. Web notifications. W3C Recom-mendation, W3C, syyskuu 2013. URL http://www.w3.org/TR/2013/

WD-notifications-20130912/.

LÄHTEET 51 [37] Henning Heitkötter, Sebastian Hanschke ja Tim A. Majchrzak. Eva-luating cross-platform development approaches for mobile applications.

Teoksessa Web Information Systems and Technologies, José Cordeiro ja Karl-Heinz Krempels, toimittajat, osa 140 sarjasta Lecture Notes in Business Information Processing, sivut 120–138. Springer Berlin Heidel-berg, 2013. ISBN 978-3-642-36607-9. DOI10.1007/978-3-642-36608-6_

8.

[38] Jean-Christophe Hoelt. Cordova purchase plugin, lokakuu 2014.

URL https://github.com/j3k0/cordova-plugin-purchase. Viitattu 18.4.2015.

[39] Adrian Holzer ja Jan Ondrus. Mobile application market: A developer’s perspective. Telematics and Informatics, 28(1):22–31, 2011. ISSN 0736-5853. DOI 10.1016/j.tele.2010.05.006. Mobile Service Architecture and Middleware.

[40] Arnaud Le Hors, Philippe Le Hégaret, Lauren Wood, Gavin Nicol, Jonathan Robie, Mike Champion ja Steven B. Byrne. Document object model (DOM) level 3 core specification. W3C Recommen-dation, W3C, huhtikuu 2004. URL http://www.w3.org/TR/2004/

REC-DOM-Level-3-Core-20040407.

[41] Sami Hyrynsalmi, Tuomas Mäkilä, Antero Järvi, Arho Suominen, Marko Seppänen ja Timo Knuutila. App store, marketplace, play! an analy-sis of multi-homing in mobile software ecosystems. Proceedings of the International Workshop on Software Ecosystems, sivut 59–72, 2012.

[42] Sami Hyrynsalmi, Arho Suominen, Tuomas Mäkilä, Antero Järvi ja Ti-mo Knuutila. Revenue Ti-models of application developers in Android Mar-ket ecosystem. TeoksessaSoftware Business, MichaelA. Cusumano, Bala Iyer ja N. Venkatraman, toimittajat, osa 114 sarjasta Lecture Notes in Business Information Processing, sivut 209–222. Springer Berlin Heidel-berg, 2012. ISBN 978-3-642-30745-4. DOI10.1007/978-3-642-30746-1_

17.

LÄHTEET 52 [43] Slinger Jansen ja Ewoud Bloemendal. Defining app stores: The ro-le of curated marketplaces in software ecosystems. Teoksessa Softwa-re Business. From Physical Products to SoftwaSoftwa-re Services and Solu-tions, Georg Herzwurm ja Tiziana Margaria, toimittajat, osa 150 sar-jasta Lecture Notes in Business Information Processing, sivut 195–

206. Springer Berlin Heidelberg, 2013. ISBN 978-3-642-39335-8. DOI 10.1007/978-3-642-39336-5_19.

[44] David Jaramillo, Robert Smart, Borko Furht ja Ankur Agarwal. A secure extensible container for hybrid mobile applications. Southeastcon, 2013 Proceedings of IEEE, sivut 1–5, huhtikuu 2013. DOI 10.1109/SECON.

2013.6567439.

[45] Mona E. Joorabchi, Ali Mesbah ja Philippe Kruchten. Real challenges in mobile app development. Empirical Software Engineering and Mea-surement, 2013 ACM / IEEE International Symposium on, sivut 15–24, lokakuu 2013. DOI 10.1109/ESEM.2013.9.

[46] Antero Juntunen, Eetu Jalonen ja Sakari Luukkainen. HTML 5 in mo-bile devices – drivers and restraints. System Sciences (HICSS), 2013 46th Hawaii International Conference on, sivut 1053–1062, tammikuu 2013. DOI 10.1109/HICSS.2013.253.

[47] Ethan Marcotte. Responsive Web design, toukokuu 2010. URL http:

//alistapart.com/article/responsive-web-design. Viitattu 1.4.2015.

[48] Ali Mesbah ja Arie van Deursen. Migrating multi-page web applications to single-page AJAX interfaces. Software Maintenance and Reenginee-ring, 2007. CSMR ’07. 11th European Conference on, sivut 181–190, maaliskuu 2007. DOI 10.1109/CSMR.2007.33.

[49] Microsoft. Account types, locations, and fees. URL https://msdn.

microsoft.com/en-us/library/windows/apps/jj863494.aspx. Viitattu 31.3.2015.

[50] Microsoft. How to develop a store app. URL https://msdn.microsoft.

com/library/windows/apps/xaml/dn726537.aspx. Viitattu 9.2.2015.

LÄHTEET 53 [51] Sanja Mohorovičić. Implementing responsive web design for enhanced web presence. Information Communication Technology Electronics Mic-roelectronics (MIPRO), 2013 36th International Convention on, sivut 1206–1210, toukokuu 2013.

[52] Jakob Nielsen. Mobile site vs. full site, huhtikuu 2012. URLhttp://www.

nngroup.com/articles/mobile-site-vs-full-site/. Viitattu 1.4.2015.

[53] OpenSignal. Android fragmentation visualized, elokuu 2012. URLhttp:

//opensignal.com/reports/fragmentation.php. Viitattu 21.10.2014.

[54] Alex Russell, Jungkee Song ja Jake Archibald. Service workers. W3C Recommendation, W3C, helmikuu 2015. URL http://www.w3.org/TR/

2015/WD-service-workers-20150205/.

[55] StatCounter. StatCounter global stats comparison from Mar 2014 to Feb 2015. URL http://gs.statcounter.com/

#all-comparison-ww-monthly-201403-201502. Viitattu 1.4.2015.

[56] Adobe Systems. PhoneGap developer portal, 2015. URL http://

phonegap.com/developer/. Viitattu 18.4.2015.

[57] A. Taivalsaari ja Kari Systä. Cloudberry: An HTML5 cloud phone plat-form for mobile devices. Software, IEEE, 29(4):40–45, heinäkuu 2012.

ISSN 0740-7459. DOI 10.1109/MS.2012.51.

[58] Antero Taivalsaari ja Tommi Mikkonen. The Web as an application plat-form: The saga continues. Software Engineering and Advanced Applica-tions (SEAA), 2011 37th EUROMICRO Conference on, sivut 170–174, elokuu 2011. DOI 10.1109/SEAA.2011.35.

[59] Anne van Kesteren. Cross-origin resource sharing. W3C Recom-mendation, W3C, tammikuu 2014. URL http://www.w3.org/TR/2014/

REC-cors-20140116/.

[60] Anne van Kesteren, Julian Aubourg, Jungkee Song ja Hall-vord Steen. XMLHttpRequest level 1. W3C

Recommenda-LÄHTEET 54 tion, W3C, tammikuu 2014. URL http://www.w3.org/TR/2014/

WD-XMLHttpRequest-20140130/.

[61] Anthony I. Wasserman. Software engineering issues for mobile applica-tion development. Proceedings of the FSE/SDP Workshop on Future of Software Engineering Research, FoSER ’10, sivut 397–400, New York, NY, USA, 2010. ACM. ISBN 978-1-4503-0427-6. DOI10.1145/1882362.

1882443.

[62] Joel West ja Michael Mace. Browsing as the killer app: Explaining the rapid success of Apple’s iPhone. Telecommunications Policy, 34(5–6):

270–286, 2010. ISSN 0308-5961. DOI 10.1016/j.telpol.2009.12.002.