Monday, July 21, 2014

Some useful java/javascript tools

There are many, many java/javascript tools out there. Here are some that I recently came across.

JSoup: http://jsoup.org
So you can use server side java to parse HTML and do something with it, such as look for a particular paragraph in an html page on the server side.

Mustache: this thing is a client side template and you can use javascript/ajax to fill it up.
Tutorial: http://coenraets.org/blog/2011/12/tutorial-html-templates-with-mustache-js/

GSON - Google's Java api for json
See https://code.google.com/p/google-gson. Turn your Java objects to JSON, and turn that JSON String back to Java...useful for tossing stuff from server-side to client-side. Another one is called Jackson.

Now, just how in the world can one keep up with the many tools people come up with.

No comments: