http://iet.metastore.ingenta.com
1887

Code generator framework for smart TV platforms

Code generator framework for smart TV platforms

For access to this article, please select a purchase option:

Buy article PDF
$19.95
(plus tax if applicable)
Buy Knowledge Pack
10 articles for $120.00
(plus taxes if applicable)

IET members benefit from discounts to all IET publications and free access to E&T Magazine. If you are an IET member, log in to your account and the discounts will automatically be applied.

Learn more about IET membership 

Recommend Title Publication to library

You must fill out fields marked with: *

Librarian details
Name:*
Email:*
Your details
Name:*
Email:*
Department:*
Why are you recommending this title?
Select reason:
 
 
 
 
 
IET Software — Recommend this title to your library

Thank you

Your recommendation has been sent to your librarian.

In recent years, smart TVs have become more common, making them need to be included as targets for the software industry. In this study, the authors developed a code generator framework and demonstrated it in an architectural view. The proposed framework converts C# programming language based projects, in a Windows Forms or a Windows Phone Application project, into native smart TV Platform applications. The selected primary smart TV platforms assigned for application conversion were Android TV, Firefox OS, and Tizen OS. The authors enabled developers to generate native codes for all three platforms from a single code base using model to model conversion, as in the model driven architecture approach with the use of the open source Roslyn C# language compiler. The need for creating projects for every single platform to make them run on different platforms will thus be eliminated and development cycles shortened. By doing so, the time required to develop an application for each platform is reduced while keeping the generated applications’ quality as high as the original application. To show the functionality, the proposed approach is applied in three case studies. The success of the code conversion is satisfactory and converted applications are functional.

References

    1. 1)
      • 1. Umuhoza, E., Brambilla, M.: ‘Model driven development approaches for mobile applications: a survey’. Int. Conf. Mobile Web and Information Systems, Vienna, Austria, August 2016, pp. 93107.
    2. 2)
      • 2. Latif, M., Lakhrissi, Y., Nfaoui, E.H., et al: ‘Cross platform approach for mobile application development: a survey’. 2016 Int. Conf. Information Technology for Organizations Development (IT4OD), Fez, Morocco, 30 March–1 April 2016, pp. 15.
    3. 3)
      • 3. Vogel, P.: ‘Practical code generation in. NET: covering Visual Studio 2005, 2008, and 2010’ (Addison-Wesley Professional, Boston, MA, USA, 2010).
    4. 4)
      • 4. Ecker, W., Schreiner, J.: ‘Metamodeling and code generation in the hardware/software interface domain’, in ‘Handbook of hardware/software Codesign’ (Springer, Dordrecht, Netherlands, 2017), pp. 10511091.
    5. 5)
      • 5. Brambilla, M., Cabot, J., Wimmer, M.: ‘Model-driven software engineering in practice’, Synth. Lect. Softw. Eng., 2017, 3, (1), pp. 1207.
    6. 6)
      • 6. Umuhoza, E., Brambilla, M., Cabot, J., et al: ‘Automatic code generation for cross-platform, multi-device mobile apps: some reflections from an industrial experience’. Proc. 3rd Int. Workshop on Mobile Development Lifecycle, Pittsburgh, PA, USA, October 2015, pp. 3744.
    7. 7)
      • 7. M. I. S. P. Ltd.: ‘Global Smart TV Market Analysis (2017–2023)’, Tech. Rep. 4433244, KBV Research, 112017.
    8. 8)
      • 8. Wang, Y., Zhou, L., Zheng, Q., et al: ‘An approach of code generation based on model integrated computing’. 2010 Int. Conf. Computer Application and System Modeling (ICCASM), Taiyuan, China, October 2010, pp. 114117.
    9. 9)
      • 9. Enterprise architect by Sparx Systems Pty Ltd’. Available at http://sparxsystems.com/products/ea/, February 2018.
    10. 10)
      • 10. ‘Simulink of Matlab by the Mathworks, Inc.. Available at https://www.mathworks.com/products/simulink.html/, February2018.
    11. 11)
      • 11. Scicos: block diagram modeler/simulator’. Available at http://www.scicos.org/, February 2018.
    12. 12)
      • 12. Wolfram SystemModeler’. Available at http://wolfram.com/system-modeler/, February 2018.
    13. 13)
      • 13. React native by Facebook’. Available at https://facebook.github.io/react-native/, February 2018.
    14. 14)
      • 14. Ionic framework’. Available at https://ionicframework.com/, February 2018.
    15. 15)
      • 15. Xamarin: mobile app development app creation software’. Available at https://www.xamarin.com/, February 2018.
    16. 16)
      • 16. Apache Cordova’. Available at https://cordova.apache.org/, February 2018.
    17. 17)
      • 17. Adobe PhoneGap’. Available at https://phonegap.com/, February 2018.
    18. 18)
      • 18. Fowler, M.: ‘Domain-specific languages’ (Addison-Wesley, Upper Saddle River, NJ, USA, 2011).
    19. 19)
      • 19. Jörges, S.: ‘Construction and evolution of code generators: a model-driven and service-oriented approach’, vol. 7747 (Springer, Dortmund, Germany, 2013).
    20. 20)
      • 20. Kleppe, A.: ‘Software language engineering: creating domain-specific languages using metamodels’ (Pearson Education, Boston, MA, USA, 2008).
    21. 21)
      • 21. Kolovos, D., Paige, R., Polack, F.: ‘An agile and extensible code generation framework’. Extreme Programming and Agile Processes in Software Engineering, Sheffield, UK, June 2005, pp. 12271229.
    22. 22)
      • 22. Jones, C., Jia, X.: ‘The axiom model framework: transforming requirements to native code for cross-platform mobile applications’. 2014 Int. Conf. Evaluation of Novel Approaches to Software Engineering (ENASE), Lisbon, Portugal, April 2014, pp. 112.
    23. 23)
      • 23. El-Kassas, W.S., Abdullah, B.A., Yousef, A.H., et al: ‘ICPMD: integrated cross-platform mobile development solution’. 2014 9th Int. Conf. Computer Engineering & Systems (ICCES), Cairo, Egypt, December 2014, pp. 307317.
    24. 24)
      • 24. Evers, S., Ernsting, J., Majchrzak, T.A.: ‘Towards a reference architecture for model-driven business apps’. In2016 49th Hawaii Int. Conf. System Sciences (HICSS), Koloa, HI, USA, January 2016, pp. 57315740.
    25. 25)
      • 25. Rathod, S.D., Joshi, S.: ‘A fast software project development tool with generic xml generation’, Management (CRM), 2015, 31, p. 32.
    26. 26)
      • 26. Gluch, D.P., Kornecki, A.J.: ‘Automated code generation for safety-related applications: a case study’, Comput. Sci., 2013, 8, (3), p. 37.
    27. 27)
      • 27. Byalik, A.: ‘Automated cross-platform code synthesis from web-based programming resources’. PhD thesis, Virginia Tech, 2015.
    28. 28)
      • 28. Sulistyo, S., Prinz, A.: ‘Recursive modeling for completed code generation’. Proc. 1st Workshop on Behaviour Modelling in Model-Driven Architecture, Enshede, Netherlands, June 2009, p. 6.
    29. 29)
      • 29. Harrand, N., Fleurey, F., Morin, B., et al: ‘ThingML: a language and code generation framework for heterogeneous targets’. Proc. ACM/IEEE 19th Int. Conf. Model Driven Engineering Languages and Systems, Saint-Malo, France, October 2016, pp. 125135.
    30. 30)
      • 30. Tamayo, A., Granell, C., Díaz, L., et al: ‘Personalised code generation from large schema sets for geospatial mobile applications’, Computing, 2014, 96, (5), pp. 355379.
    31. 31)
      • 31. Prout, A., Atlee, J.M., Day, N.A., et al: ‘Code generation for a family of executable modelling notations’, Softw. Syst. Model., 2012, 11, (2), pp. 251272.
    32. 32)
      • 32. Possatto, M.A., Lucrédio, D.: ‘Automatically propagating changes from reference implementations to code generation templates’, Inf. Softw. Technol., 2015, 67, pp. 6578.
    33. 33)
      • 33. Philippi, S.: ‘Automatic code generation from high-level petri-nets for model driven systems engineering’, J. Syst. Softw., 2006, 79, (10), pp. 14441455.
    34. 34)
      • 34. Hawick, K.A., Playne, D.P.: ‘Automated and parallel code generation for finite-differencing stencils with arbitrary data types’, Procedia Comput. Sci., 2010, 1, (1), pp. 17951803.
    35. 35)
      • 35. Gurunule, D., Nashipudimath, M.: ‘A review: analysis of aspect orientation and model driven engineering for code generation’, Procedia Comput. Sci., 2015, 45, pp. 852861.
    36. 36)
      • 36. Toast by Samsung’. Available at http://developer.samsung.com/tv/develop/extensionlibraries/toast/, February 2018.
    37. 37)
      • 37. Kleppe, A.G., Warmer, J., Bast, W., et al: ‘The model driven architecture: practice and promise’, 2003.
    38. 38)
      • 38. Calvary, G., Coutaz, J., Thevenin, D., et al: ‘Plasticity of user interfaces: A revisited reference framework’, in Pribeanu, C., Vanderdonckt, J. (Eds.): Task Models and Diagrams for User Interface Design, (INFOREC, Bucharest, Romania, 2002).
    39. 39)
      • 39. Luhunu, L.K.: ‘Survey of template-based code generation’, 2017.
    40. 40)
      • 40. Yandex.Maps static API’. Available at https://tech.yandex.com/maps/, February 2018.
    41. 41)
      • 41. Music Explorer app’. Available at https://github.com/Microsoft/music-explorer/, February 2018.
    42. 42)
      • 42. Bridge.net’. Available at http://bridge.net/, February 2018.
    43. 43)
      • 43. Xamarin studio’. Available at https://www.xamarin.com/, February 2018.
    44. 44)
      • 44. Bridge.net’. Available at https://www.tangiblesoftwaresolutions.com/, February 2018.
    45. 45)
      • 45. Feldt, R., Magazinius, A.: ‘Validity threats in empirical software engineering research-an initial survey’. Software Engineering & Knowledge Engineering (SEKE), San Francisco Bay, CA, USA, July 2010, pp. 374379.
    46. 46)
      • 46. Wohlin, C., Runeson, P., Höst, M., et al: ‘Experimentation in software engineering’, (Springer Science & Business Media, Berlin & Heidelberg, Germany, 2012).
http://iet.metastore.ingenta.com/content/journals/10.1049/iet-sen.2018.5157
Loading

Related content

content/journals/10.1049/iet-sen.2018.5157
pub_keyword,iet_inspecKeyword,pub_concept
6
6
Loading
This is a required field
Please enter a valid email address