skip to main content
10.1145/2491411.2491427acmconferencesArticle/Chapter ViewAbstractPublication PagesfseConference Proceedingsconference-collections
research-article

Compiling mockups to flexible UIs

Published:18 August 2013Publication History

ABSTRACT

As the web becomes ubiquitous, developers are obliged to develop web applications for a variety of desktop and mobile platforms. Re- designing the user interface for every such platform is clearly cumbersome. We propose a new framework based on model-based compilation to assist the designer in solving this problem. Starting from an under-specified visual design mockup drawn by the designer, we show how faithful and flexible web pages can be obtained with virtually no manual effort. Our framework, in sharp contrast to existing web design tools, overcomes the tough challenges involved in mockup compilation by (a) employing combinatorial search to infer hierarchical layouts and (b) mechanizing adhoc principles for CSS design into a modular, extensible rule-based architecture. We believe ours is the first disciplined effort to solve the problem and will inspire rapid, low-effort web design.

References

  1. Adobe Dreamweaver CS6. http://www.adobe.com/ products/dreamweaver.html.Google ScholarGoogle Scholar
  2. Balsamiq. http://www.balsamiq.com/.Google ScholarGoogle Scholar
  3. Cascading Style Sheets Level 2 Revision 1 (css 2.1) Specification. http://www.w3.org/TR/CSS21/.Google ScholarGoogle Scholar
  4. Cisco visual networking index: Forecast and methodology, 2011-2016. http://www.cisco.com/en/US/solutions/ collateral/ns341/ns525/ns537/ns705/ ns827/white_paper_c11-481360_ns827_ Networking_Solutions_White_Paper.html.Google ScholarGoogle Scholar
  5. CSS flexible box layout module. http://www.w3.org/TR/css3-flexbox/.Google ScholarGoogle Scholar
  6. Drupal - open source cms. http://drupal.org/.Google ScholarGoogle Scholar
  7. Gecko - mozilla | mdn. https://developer. mozilla.org/en-US/docs/Mozilla/Gecko.Google ScholarGoogle Scholar
  8. Html5. http://www.w3.org/TR/html5/.Google ScholarGoogle Scholar
  9. Interactive wireframe software and mockup tool. http://www.axure.com/.Google ScholarGoogle Scholar
  10. Less: The dynamic stylesheet language. http://lesscss.org/.Google ScholarGoogle Scholar
  11. Maqetta. http://maqetta.org/.Google ScholarGoogle Scholar
  12. Microsoft Expression Web 4. http://www.microsoft.com/expression/ products/Web_Overview.aspx.Google ScholarGoogle Scholar
  13. node.js. http://nodejs.org/.Google ScholarGoogle Scholar
  14. Normalize.css: Make browsers render all elements more consistently. http://necolas.github.com/normalize.css/.Google ScholarGoogle Scholar
  15. Sass - syntactically awesome stylesheets. http://sass-lang.com/.Google ScholarGoogle Scholar
  16. Techniques for web content accessibility guidelines 1.0. http://www.w3.org/TR/WCAG10-TECHS/ #tech-style-sheets.Google ScholarGoogle Scholar
  17. Unbeatable javascript tools - the dojo toolkit. http://dojotoolkit.org/.Google ScholarGoogle Scholar
  18. The webkit open source project. http://www.webkit.org.Google ScholarGoogle Scholar
  19. Wordpress: Blog tool, publishing platform, and cms. http://wordpress.org/.Google ScholarGoogle Scholar
  20. Yahoo! design pattern library. http://developer.yahoo.com/ypatterns/.Google ScholarGoogle Scholar
  21. Zen grids: a responsive grid system built with compass and sass. http://zengrids.com/.Google ScholarGoogle Scholar
  22. G. J. Badros, A. Borning, and P. J. Stuckey. The cassowary linear arithmetic constraint solving algorithm. ACM Trans. Comput.-Hum. Interact., 8(4):267–306, December 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Greg J. Badros, Alan Borning, Kim Marriott, and Peter Stuckey. Constraint cascading style sheets for the web. UIST ’99, pages 73–82, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. K. Z. Gajos, D. S. Weld, and J. O. Wobbrock. Decision-theoretic user interface generation. In AAAI, pages 1532–1536, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. K. Z. Gajos, D. S. Weld, and J. O. Wobbrock. Automatically generating personalized user interfaces with supple. Artif. Intell., 174(12-13):910–950, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. G. Gange, K. Marriott, and P. Stuckey. Optimal guillotine layout. In Proceedings of the 2012 ACM symposium on Document engineering, DocEng ’12, pages 13–22, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. P. Geneves, N. Layaida, and V. Quint. On the analysis of cascading style sheets. In Proceedings of the 21st international conference on World Wide Web, WWW ’12, pages 809–818, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. V. Grigoreanu, R. Fernandez, K. Inkpen, and G. Robertson. What designers want: Needs of interactive application designers. VLHCC ’09, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. N. Hurst, W. Li, and K. Marriott. Review of automatic document formatting. In Proceedings of the 9th ACM symposium on Document engineering, DocEng ’09, pages 99–108, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. P. M. Marden Jr. and E. V. Munson. Today’s style sheet standards: The great vision blinded. IEEE Computer, 32(11):123–125, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. M. Keller and M. Nussbaumer. Cascading style sheets: a novel approach towards productive styling with today’s standards. In WWW, pages 1161–1162, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  32. M. Keller and M. Nussbaumer. Css code quality: A metric for abstractness; or why humans beat machines in css coding. In QUATIC, pages 116–121, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  33. S. Khanna, S. Muthukrishnan, and M. Paterson. On approximating rectangle tiling and packing. In Proceedings of the ninth annual ACM-SIAM symposium on Discrete algorithms, SODA ’98, pages 384–393, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  34. D. E. Knuth. Digital Typography. Cambridge University Press, New York, NY, USA, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  35. Ali Sinan Köksal. Live tiles from end-user mockups. CHI 2012.Google ScholarGoogle Scholar
  36. R. Kumar, J. O. Talton, S. Ahmad, and S. R. Klemmer. Bricolage: example-based retargeting for web design. In Proceedings of the SIGCHI Conference on Human Factors in Computing Systems, CHI ’11, pages 2197–2206, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  37. H. W. Lie. Cascading style sheets. PhD thesis, University of Oslo, February 2006.Google ScholarGoogle Scholar
  38. S. Lok and S. Feiner. A survey of automated layout techniques for information presentations, 2001.Google ScholarGoogle Scholar
  39. A. Mesbah and S. Mirshokraie. Automated analysis of css rules to support style maintenance. In ICSE, pages 408–418, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  40. Leo A. Meyerovich and Rastislav Bodík. Fast and parallel webpage layout. In WWW, pages 711–720, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  41. S. Muthukrishnan, Viswanath Poosala, and Torsten Suel. On rectangular partitionings in two dimensions: Algorithms, complexity, and applications. In Proceedings of the 7th International Conference on Database Theory, ICDT ’99, pages 236–256, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  42. M. W. Newman and J. A. Landay. Sitemaps, storyboards, and specifications: a sketch of web site design practice. In Proceedings of the 3rd conference on Designing interactive systems: processes, practices, methods, and techniques, DIS ’00, pages 263–274, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  43. F. K. Ozenc, M. Kim, J. Zimmerman, S. Oney, and B. Myers. How to support designers in getting hold of the immaterial material of software. CHI ’10, pages 2513–2522, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  44. Vincent Quint and Irène Vatton. Editing with style. In ACM Symposium on Document Engineering, pages 151–160, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  45. D. Reed and J. Davies. The convergence of computer programming and graphic design. J. Comput. Sci. Coll., 21(3):179–187, February 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  46. K. A. Sakallah and J. Marques-Silva. Anatomy and empirical evaluation of modern sat solvers. Bulletin of the EATCS, 103:96–121, 2011.Google ScholarGoogle Scholar
  47. Manuel Serrano. Hss: a compiler for cascading style sheets. In PPDP, pages 109–118, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  48. B. V. Zanden and B. A. Myers. Automatic, look-and-feel independent dialog creation for graphical user interfaces. CHI ’90, pages 27–34, 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Compiling mockups to flexible UIs

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        ESEC/FSE 2013: Proceedings of the 2013 9th Joint Meeting on Foundations of Software Engineering
        August 2013
        738 pages
        ISBN:9781450322379
        DOI:10.1145/2491411

        Copyright © 2013 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 18 August 2013

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article

        Acceptance Rates

        Overall Acceptance Rate112of543submissions,21%

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader