Skip to main content

Automatic Code Generator for Screen Based Systems

  • Conference paper
  • First Online:
  • 1183 Accesses

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 1064))

Abstract

Definition and implementation of every system starts from its specification. After the developer received the verified specification, she can move to the code writing. Recently, modelling is used as the first step to the programming task. Unified Modeling Language (UML) is intensively exploited in order to standardize the code generation and to minimize the corresponding effort. Screen based interactive systems like smartphone applications or different booking services are of very special kind: GUI part of them is very big and mostly implements different screens and transitions from one screen to another. In our contribution, we provide general description and proof of concept of a graphical tool for such systems. First of all, the tool allows definition of the specification of the screen based systems in the most natural way - graphically. This avoid using of UML or similar formalisms as a less intuitive human dependent intermediate step. Then, given the specification of a screen based system, we show that a big part of the implementation (GUI code) may be generated automatically. We show how our general approach works for Android based implementation of the specification.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. JavaFX: https://openjfx.io/. Accessed 05 May 2019

  2. Atkinson, C., Kühne, T.: Model-driven development: a metamodeling foundation. IEEE Softw. 20(5), 36–41 (2003)

    Google Scholar 

  3. Benouda, H., Essbai, R., Azizi, M., Moussaoui, M.: Modeling and code generation of Android applications using Acceleo. Int. J. Softw. Eng. Appl. 10, 83–94 (2016)

    Google Scholar 

  4. Object Managment Group: MDA Guide Version 1.0.1. https://www.omg.org/news/meetings/workshops/UML_2003_Manual/00-2_MDA_Guide_v1.0.1.pdf. Accessed June 2003

  5. Object Managment Group: OMG Unified Modeling Language. https://www.omg.org/spec/UML/2.2/Superstructure/PDF. Accessed 2009

  6. Herrington, J.: Code Generation in Action. Manning Publications Co., Greenwich (2003)

    Google Scholar 

  7. Keshtcher, Y.: Top 22 prototyping tools for UI and UX designers 2019. https://blog.prototypr.io/top-20-prototyping-tools-for-ui-and-ux-designers-2017-46d59be0b3a9. Accessed 23 June 2019

  8. Korenblat, K., Ravve, E.: Automatic verification and (partial) implementation of specifications of smartphone applications. (in preparation)

    Google Scholar 

  9. Kraemer, F.A.: Engineering Android applications based on UML activities. In: Whittle, J., Clark, T., Kühne, T. (eds.) MODELS 2011. LNCS, vol. 6981, pp. 183–197. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-24485-8_14

    Chapter  Google Scholar 

  10. Lachgar, M., Abdali, A.: Modeling and generating the user interface of mobile devices and web development with DSL (2015)

    Google Scholar 

  11. Monte-Mor, J., Ferreira, E., Campos, H., da Cunha, A., Dias, L.: Applying MDA approach to create graphical user interfaces. In: 2011 Eighth International Conference on Information Technology: New Generations, pp. 766–771 (2011)

    Google Scholar 

  12. Sabraoui, A., Koutbi, M.E., Khriss, I.: GUI code generation for Android applications using a MDA approach. In: 2012 IEEE International Conference on Complex Systems (ICCS), pp. 1–6 (2012)

    Google Scholar 

  13. Android Studio Site: User Guide. https://developer.android.com/studio/intro/index.html. Accessed 05 May 2019

Download references

Acknowledgements

We would like to thank our students S. Namih, A. Mnasra, Y. Dubinsky and A. Zobedat for implementation of the tool.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Elena V. Ravve .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Korenblat, K., Ravve, E.V. (2019). Automatic Code Generator for Screen Based Systems. In: Welzer, T., et al. New Trends in Databases and Information Systems. ADBIS 2019. Communications in Computer and Information Science, vol 1064. Springer, Cham. https://doi.org/10.1007/978-3-030-30278-8_28

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-30278-8_28

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-30277-1

  • Online ISBN: 978-3-030-30278-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics