Showing posts with label javascript. Show all posts
Showing posts with label javascript. Show all posts

Wednesday 23 December 2015

Java Developers Can Dish Out Tastier Web Apps with JSweet


JSweet
Java developers get a sweet treat this Christmas by the launch of the JSweet via open source. JSweet will the java developers in utilizing their Java skills for building much better and highly interactive and rich Web Apps with JSweet. This particular technology ‘transpiles’ from Java programming language to TypeScript and finally into JavaScript. TypeScript is essentially a Microsoft technology, which compiles programming codes into JavaScript. JSweet has been developed by a Paris based software engineering company, Chincheo, which aimed at making the life of Java bit fun and easier in building Web apps.

Thought behind developing JSweet

Cincheo CEO Renauld Pawlak has shed some light behind the reasons for developing JSweet. He stated that in last couple of years TypeScript found widespread usage as it helped in transpiling to JavaScript in an efficient fashion. Java developer were longing for a light and simple approach which can help in designing the Web application in Java with similar efficiency. Most of the developers were frustrated with the idea of running everything in Java on a JRE. While a large number of developers were impressed with what can achieved with distinction through using TypeScript/JavaScript on the front end.

JSweet thus helps in offering a light and simple solution for adding bits of Java syntax to TypeScript. It is a great alternative to the Java developers for developing real Web application with ease.

Java still a great language for developing various apps and programs

Java has been known to cause confusion with its elaborate and complex syntax and functions, which led to the rise in adoption of other coding languages. But Pawlak still considers the Java as a good platform and safer language for the programmers to develop more powerful and rich apps. Java still retains its supremacy in developing efficient and scalable large complex applications than any other language.

JSweet has also made the accommodation for Node.js, which is a popular server side JavaScript platform. Pawlak ahs elaborated that JSweet works in same tandem with Node.js as TypeScript does but the difference is that it adds types. It is a small but quite an interesting difference which it a more transparent way of handling commonjs module for the java programmers.

The benefits and difficulty associated with JSweet

JSweet comes with pre defined @Module annotation, which can be generated automatically when a programmer makes use of the APIs. Here a programmer is just required to import the right packages and that also without the need of knowing all about JavaScript modules.

JSweet is designed to cross validate the Java Programs and the Java API with TypeScript. It also has a JSweet API translator Tool which can make JavaScript APIs available in Java. But Pawlak has the cautioned the programmers from making its wider usage as there are few issues with this technology which needs to be remedied. Pawlak has also asked the Java developer to remain open minded while programming with JSweet as they have to do away with some Java logic.

Monday 16 December 2013

Vim can be used as Javascript and 3D modeler


Vim.js

The open-source text editor Vim can also embed a Javascript engine into web pages from now. Other developers use it to create 3D models. Vim or Vi Improved and it can not be killed now. Now developers have implemented the Text Editor as Javascript - module, it can thus be used in the web browser.

Other developers use it as a basis for 3D modeling software. Vim can be used not only for developing with Javascript. The developer Lu Wang rewrote it in javascript under the name Vim.js. or Vi Improved; this allows easy use and embed in a web page. Still if it does not work or for any issue the help can not be called. Apparently, there is also no interface to the local file system, text files can not open or save.

Vim.js knows most commands of the text editor now. Vim.js uses a modified version of Mozilla's Javascript engine Narcissus. The code is available on Github under several free licenses and can be forked. For a project; developer Dan Lynch and Barry Martin of Vim have made a 3D modeling software. More can be edited in Vim3D scenes and objects are created.

These serve the various Vim commands. Lynch has this already in 2010 a framework program that allows to interact with the 3D model and the Vim command set. Via so-called channels can import 3D objects from a library. It was created in GNUPlot or Matlab files are supported. For the rendering OpenGL 2.0 is required.

 Vim3D is primarily aimed at developers or engineers who want to easily visualize objects or data - and have a penchant for Vim. As an example, the developers perform on a project in which the movements of a robot can be represented visually from the corresponding code. Vim3D is under the BSD license and is also on Github as a code.