Over a million developers have joined DZone.

Development Concerns Moving Away From The Controller

DZone 's Guide to

Development Concerns Moving Away From The Controller

· Web Dev Zone ·
Free Resource

For many years, people have been concerned with how applications were structured. This concept became very popular with the client-server applications built with tools like PowerBuilder and Visual Basic. In the late 1990′s, there was a move towards 3-tier applications (client, middleware and server) as web development first started to take hold. As developers started to see issues with basic CGI programming, the Model-View-Controller designs started to take shape as programmers tried to separate the concerns of each component in the application. As web development evolved, the need for web services (SOAP, REST and anything else) was obvious. Mobile web development is having similar effects on programming, but the focus is not on application architecture.

I have started to see some development trends recently, one that makes complete sense to me and another that took me by surprise even though I should have connected the dots. I am not the only person seeing these trends either. O’Reilly posted a list of the top books from a cyber-monday promotion, and the trends should be fairly obvious:

  1. Data Analysis with Open Source Tools
  2. Head First Python
  3. HTML5 Mobile Web Development (O’Reilly Training and Video)
  4. JavaScript Patterns
  5. REST in Practice
  6. Making Software
  7. Cassandra: The Definitive Guide
  8. Hadoop: The Definitive Guide
  9. HTML5: Up and Running
  10. Learning Python

So, we have 3 books about big data, 4 books about client-side web development and 2 about Python. The trend that makes sense to me is big data. With all of the web activity, ecommerce or social media, there is a ton of data floating around. This data is worth billions of dollars to marketing people, and we are already seeing that it can help in other segments like customer service and even charities. Even the known big data problems, like search and web analytics, are still fairly young technologies. For many years it has been difficult to gain experience working with big data, but the rise of social media and the application APIs have given almost any programmer free access to larger amounts of data to play with.

The other trend that I was not paying attention to was client-side development. I had seen all the pieces falling into place but did not put everything together. The pieces are JavaScript frameworks like JQuery and YUI, RESTful web services and HTML5. Taken separately, they are all very useful technologies. If you put them together, you get a very interesting web application platform that is very different than the traditional MVC model. Today, this may seem obvious, but because of the traditional separation between client and server programming, the evolution occurred in parallel. REST and the proliferation of application APIs really made AJAX calls become much more interesting than simple auto-suggest text boxes. The combination RESTful web services and a JavaScript framework allowed web developers to create real dynamic content from various web applications, like Twitter widgets, RSS widgets and others. HTML5 will make these dynamic capabilities even more interesting.

Is this all saying that MVC is dead? Not exactly, MVC is just evolving. First, the model and view are still very much present, as the model is only changing from a Java object to a text-based object in JSON or XML. Obviously the view still exists, it is just being built dynamically, and potentially rebuilt based on user interaction. The controller is the part that is really changing because of the benefits of web services. If you look at Spring MVC, there is still a very strong coupling between the controller and the view. This coupling was due to the page-based model of web interaction. With RESTful web services, the web moved to a data-centric model where pages are optional.

If you review the list of books again, you will see that Python is represented twice. This is not as obvious a trend as big data or client-side development, but it is still surprising for a list of top 10 books. I was surprised until I read why Python is in the list. In the O’Reilly post, there is a link to an explanation of data science (a very good read) and that article talks about the use of Python within the big data community. The reasoning is that data needs to be massaged or “conditioned” as the article states. When dealing with this type of unstructured activity, scripting languages are used widely. Ages ago, Perl was the language of choice for this type of thing, but in the past 10 years Python has grown significantly in popularity. In addition to its usage in big data and as a general glue language, Python is also being used for server code where Java has been the standard language.

If you put all of this together, this list of books is a very good sampling of web development’s future.


Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}