Over a million developers have joined DZone.

Why You Shouldn’t Build An App In 1 Page

DZone's Guide to

Why You Shouldn’t Build An App In 1 Page

· Mobile Zone
Free Resource

Launching an app doesn’t need to be daunting. Whether you’re just getting started or need a refresher on mobile app testing best practices, this guide is your resource! Brought to you in partnership with Perfecto

Originally posted on: http://geekswithblogs.net/tmurphy/archive/2013/02/06/why-you-shouldnrsquot-build-an-app-in-1-page.aspx

I have seen a number of people boast that they have a 1 page web application design.  Congratulations.  Now ask yourself why you did that and what the impact that design has.  There are reasons that we modularize applications.  One reason is to give the user logical separation of functionality.  The fact that the application transition from one screen to another give the user a visual queue that something significant has changed and they should take notice. 

From a development standpoint all-in-on design usually bring with them maintainability issues.  Back in the days of ASP 2.0 we used to work with a lot of hidden panels and have all of our code in one file.  Where did that get us?  It brought with us increasing amounts of time to find and fix bugs.  I have worked with solutions where other developers have put dozens of UI elements on a page in the name of getting rid of the evil post back flicker.  The result is a nearly unreadable file especially if there are custom templates for data bound elements.

I understand the attraction of this design from a UI perspective but I believe that only the simplest apps can pull this off effectively.  Be practical instead of trying to be superman just to prove that you know every trick of a technology.  In the end both the user and the developer who comes after you with thank you for an application that is clearly broken into functional area.

Keep up with the latest DevTest Jargon with the latest Mobile DevTest Dictionary. Brought to you in partnership with Perfecto.


Published at DZone with permission of Tim Murphy, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}