MIT have just announced a new programming language called Ur/Web which has a greater significance to potentially streamline website development. In this article, we look at this new language so you know all that you may need to know regarding Ur/Web language and its relevance in web development.
Ur/Web also takes into consideration a very essential element –the web development principle that is also called “solid typing,” which implies that whenever pieces of code are written, the author additionally defines what sort of data is accepted by the function as an input and the expected result. The major aspects of Ur/Web language that make it slightly diverse to the conventional web development are its approach to security, the way supports coordination as well as management of connections between all the elements that make up a compete webpage
This empowers a web developer to successfully define what each and every page element can interact with as well as how the interaction is should happen. As a feasible example, whenever these various elements are incorporated manually into any standard web development technique, hackers could inject malicious code into your website’s database by simply sending it via a web form field. Therefore, this would call for unequivocal preparations. As far as Ur/Web is concerned, this is implicitly denied since the two elements can only interact under particular terms as defined in the function.
Default behaviors are specified by set of data types for XML, CSS and SQL. This is behind the scenes and helps determine what tasks can be performed as well as the kind of data that can be processed.
An alternate feature of this model that focuses on security is how the new web development variables made as a result of functions are handled. In the event that a function required newer variables before it can perform a calculation, for instance adding numbers to work out an average, by default, these variables are not accessible outside of the functions themselves.
The capacity to define and deal with all the other different elements of a page breaks down the landscape for all the technologies that play a major role in making a website tick. Since data types for these functions are usually stated explicitly, in case one element passes a request or data another one that was not expecting, or is not able to manage, this will be flagged during the initial stages of development.
There is a possibility that the Ur/Web language won’t succeed in meeting universal approval. While this methodology has the ability of making web development more streamlined, the different technologies that can be employed in developing a website are in most cases seen as positive as opposed to a complicating factor. In that capacity, this Ur/Web language might be considered constricting in this particular regard.
Most of these things finally add up to a programming language that has the ability to transform not only how websites are created but also the manner in which the web development process is handled. This language is now in its earliest stages and is currently academic. While this is not at all a negative factor, it is ideally not until a language is tested and tried by web development experts in the wild that its suitability and reliability is proven.
As soon as authors start to make use of this language or even adopt it for everyday use and even overcome the inevitable learning curves, it will have the ability to become even more simplified and convenient in a way that managing a website is also easier and straightforward.
Visit http://newsoffice.mit.edu/2014/new-programming-language-coordinates-web-page-components-1223 for more information.