Andrzej is a DZone MVB and is not an employee of DZone and has posted 24 posts at DZone. View Full User Profile

JS Frontends are like Desktop Apps

  • submit to reddit
I noticed a trend recently, among developers, that we need to learn how to work with JS frontends. Obviously, it's great that people want to improve their skills, but is it really something new that we need to learn?

I suppose, that many of us at some point have been working on a desktop application. Was it a Java Swing app or a .NET Windows Forms or maybe Delphi app, doesn't matter that much.

What's important is that a JS frontend is very similar to a desktop applications.

Yes, they are not completely the same, we can do a few things that are easier in the browser than on the desktop app. Those differences don't influence the way we architecture the JS apps.

If you haven't had a chance to work on a desktop app then you're missing a lot, but still, it's much better to read about the desktop patterns, than to try the new shiny JS framework.
Published at DZone with permission of Andrzej Krzywda, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)


Lance Semmens replied on Tue, 2012/07/24 - 4:09am

I think it's worth noting that many javascript UI frameworks do not take SEO into account. In other words, choose your UI framework carefully if you want your site to appear in google search results.

The best UI frameworks gracefully degrade when javascript is switched off. This means that web crawlers can crawl your site and also helps with accessibility. This requires a bit of thought to initially render a web 1.0 style page and then use an onload() script to decorate the page with fancy widgets and AJAX etc.

Mark Unknown replied on Tue, 2012/07/24 - 10:24am in response to: Lance Semmens

Right ... Assuming you are doing a website. Not everyone using HTML and JavaScript is.

Fernando Franzini replied on Tue, 2012/07/24 - 12:27pm

This is really a new trend. Using MVC framework "action like" along with some JS GUI framework. ExtJS has stood out very well ...

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.