Name: | Description: | Size: | Format: | |
---|---|---|---|---|
513.44 KB | Adobe PDF |
Authors
Advisor(s)
Abstract(s)
Technology is constantly evolving, as a result, users have become more demanding and the applications more complex. In the realm of Web development, JavaScript is growing in a surprising
way, already leaving the boundaries of the browser, mainly due to the advent of Node.js. In fact,
JavaScript is constantly being reinvented and, from the ES2015 version, began to include the OO
concepts typically found in other programming languages.
With Web access being mostly made by mobile devices, developers face now performance
challenges and need to perform a plethora of tasks that weren’t necessary a decade ago, such as
managing dependencies, bundling files, minifying code, optimizing images and others. Many of
these tasks can be achieved by using the right tools for the job. However, developers not only
have to know those tools, but they also must know how to access and operate them. This process
can be tedious, confusing, time-consuming and error-prone.
In this paper, we present Kaang, an automatic generator of RESTFul Web applications. The
ultimate goal of Kaang is to minimize the impact of creating a RESTFul service by automating all
its workflow (e.g., files structuring, boilerplate code generation, dependencies management, and
task building). This kind of generators will benefit two types of users: will help novice developers
to decrease their learning curve while facing the new frameworks and libraries commonly found
in the modern Web and speed up the work of expert developers avoiding all the repetitive and
bureaucratic work. At the same time, Kaang promotes the good development principles by
adding automatic testing and documentation generation.
For this accomplishment, Kaang generates the main API content based on the user’s input
and a set of templates which will help developers to manage and test routes, define resources,
store data models and others. In order to provide an addition level of confidence to the generator’s
end-users, the generator will be integrated on Travis CI and published on both the npmjs and
Yeoman registries.
Description
Keywords
Web development Generators Web tooling Javascript
Pedagogical Context
Citation
Publisher
Schloss Dagstuhl - Leibniz-Zentrum für Informatik