Application Services provides a platform for IT Development and Maintenance professionals to discuss and gain insights into best practices, process innovations and emerging technologies that will shape the future of this profession.

« Minimizing risks implies investments in automation for next-gen underwriters | Main | Indoor Localization »

Future of enterprise web applications: Pervasive next-generation JavaScript

Author: Arshad Sarfarz Ariff, Technology Architect

No one would have ever thought that a 10-day project, created at Netscape by Brendan Eich in 1995, would turn out to be the frontrunner for building enterprise web applications after 20 years. Today, JavaScript leads the race for building isomorphic web apps. An isomorphic application is one whose code can run both on the server and on the client. This was primarily made possible by Node.js - an open source, cross-platform JavaScript runtime environment built on Chrome's V8 JavaScript engine, which opened the doors of JavaScript to server-side coding. 

Furthermore, the proliferation of mobile applications as well as the open source movement is pushing enterprises to adopt JavaScript platforms in order to power increasingly modular applications using open source software. Enterprise development shops can no longer depend on Java or .Net to build a technology platform, as the increasing demands for speed and scale of development alongside quicker delivery are challenging the norms. A Forrestor report states that, "Adoption of JavaScript -- and the Node.js runtime environment in particular -- sets the stage for the biggest shift in enterprise application development in more than a decade." However, this transformation can initially be challenging - which is where communities like EnterpriseJS come to the rescue.

With more and more enterprises eager to increase investments in DevOps -- in order to reap benefits like faster delivery, improved customer experience, and better service quality -- it becomes imperative for JavaScript applications to have first-class DevOps support. As frameworks like Grunt and Gulp are already in the limelight, companies like Microsoft have even enabled built-in support for the frameworks in Visual Studio 2015, for building JavaScript applications.

Adoption of JavaScript for enterprise development is further empowered by transpilers like TypeScript and Babel, which evangelize the idea of using object-oriented programming (OOP) in the scripting world. This idea was baptized by ECMA International when they made these features available as part of ES2016, the latest version of JavaScript. ECMA is also currently working on ES.Next, which is touted to be the next-generation JavaScript version.

JavaScript is also making inroads into the hardware world; a fact that is evident from various robotics and Internet of Things (IoT) platforms like Johnny-Five, NodeBots, and Cyclon.js using tools like Tessel, Raspberry, and Arduino that have made the development of robotics and IoT easier and faster.

Any new technology that is disruptive in nature immediately receives support from the JavaScript community. A well-known example of this is 'BitAddress.org,' an open source, JavaScript-based, client-side, bitcoin wallet generator. This is widely used as the bitcoin address, and the private keys for the bitcoin wallets are generated on the user's browser, thereby ensuring security. Another noteworthy mention is Lisk, a platform for building blockchain apps from the ground up, in pure JavaScript.

JavaScript has reached unparalleled heights and will likely continue being the dominant language on the web, for many years to come. Although concerns were raised after the announcement of WebAssembly -- a new, low-level binary format for the web -- Brendan Eich has clearly stated that it would be impossible to kill JavaScript. 

JavaScript has also diminished the political divide between applications built using different technologies, like .Net and Java, and the need for specialized technology resources for development shops. A Stack Overflow developer survey from 2016 states that, "JavaScript is the most commonly used programming language on earth. Even back-end developers are more likely to use it than any other language." This was apparent from the fact that developers preferred JavaScript for full-stack (85.3%), front end (90.5%), and back end development (54.5%). 

Conclusion
JavaScript will always be a great language when you want high flexibility and fast prototyping. Although legacy apps will continue to benefit from Java, .Net, and mainframe, enterprises need to adopt JavaScript quickly to be on top of application services and build applications faster and cheaper, using widely available developer skills, thereby enabling the transformation for their digital future. Though there may be reluctance from some of the enterprises in adopting JavaScript early, few others are carried away by this new wave of adoption. Since JavaScript is one of the areas which undergoes phenomenal changes in a short span of time, enterprises need to make astute and informed decisions to reap the benefits without slipping from the transformation bandwagon

Comments

Nice blog arshad.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Please key in the two words you see in the box to validate your identity as an authentic user and reduce spam.