Posts Tagged mapping

EasyGWT Podcast Episode 04

In this episode we talk about:

Debugging The GWT Compiler

  • Why? To learn more how the compiler works
  • You can set up a remote debugging session
  • Or you can setup your Eclipse environment like the GWT contributors. There is a Readme.txt
  • Maybe you want to create and awesome patch and give back.

Links

2.1 is coming, 2.1 is coming

  • At JBoss.org the Errai team is hard at work delivering version 2.1 of Errai.
  • Release candidate 2 is out.
  • Errai reduces Boilerplate code and extends JBoss server-side API’s and CDI to GWT client code.
  • CDI is (JSR 299: Contexts and Dependency Injection for the JavaTM EE platform)
  • It also has a JAX-RS module that makes it a breeze to talk restful-ly with your server.
  • It allows you to use @Inject for dependencies
  • For JAX_RS you can use a Caller<MyService> to call your restful service

Links

OpenLayers mapping in your GWT application

 

  • gwt-openlayers has releases 0.9-SNAPSHOT
  • gwt-openlayers is a GWT wrapper for the openlayers javascript library
  • OpenLayers is a pure Javascript library and requires no server side.
  • It is like Google Maps API or MSN’s Virtual Earth API, but is free and open source.
  • Its’ licensed under BSD clause 2 (FreeBSD)

Links

gwt-phonegap 2.0 released

  • It is now fully compatible with Phonegap 2.0 and  GWT 2.4 and GWT 2.5 rc1.
  • This version fully works with mgwt.
  • As always you can get the new version from google code or from maven central:

Links

Microsoft’s new TypeScript

GWT/Java Developers Work Together To Help Children

  • There is a meetup in Mountain View, CA of GWT/Java developers
  • They are teaming up to build an app that will be used by Orphanage Without Borders to facilitate the work of other organizations supporting orphaned and abandoned children
  • Orphanage Without Borders is a non-profit organization whose mission is to improve the life of children living in orphanages and abandoned children.

Links

Vanilla JS Used On More Sites Than jQuery

  • In fact Vanilla JS is already used on more sites than JQuery, Prototype JS, MooTools, YUI, and Google Web Toolkit.
  • As the Vanilla JS team say:

Vanilla JS is a fast, lightweight, cross-platform framework

for building incredible, powerful JavaScript applications.

  • Spoof
  • http://vanilla-js.com/


Notes:

Code ops / sec
Vanilla JS document.getElementById(‘test-table’); 12,137,211
Dojo dojo.byId(‘test-table’); 5,443,343
Prototype JS $(‘test-table’) 2,940,734
Ext JS delete Ext.elCache[‘test-table’]; Ext.get(‘test-table’); 997,562
jQuery $jq(‘#test-table’); 350,557
YUI YAHOO.util.Dom.get(‘test-table’); 326,534
MooTools document.id(‘test-table’); 78,802

 

Power Tool

Gin, Guice for GWT Client Side

  • Brings and IOC Container to GWT
  • Uses the same syntax as Guice
  • Helps to promote component based development
  • Helps to make code easier to test and Mock
  • Included as a Module
  • Links into the GWT compile process

Tags: , , , ,

EasyGWT Podcast Episode 03

In this episode we discuss the following:

On the Automation simplified blog they have post an article suggesting ways  to test GWT suggestion boxes with Selinium.
The author identifies a problem where he has a textbox with suggestions then needs to select a find button.
With the suggestion box open Selenium can’t find the button.
He outlines the fix and was able to create the test.
Selenium.

Tutorialspoint has been adding content to their GWT section. The site has a lot of useful GWT information consolidated into one section. Kind of like what W3Schools does for Html, Javascript and CSS.
It’s like cliff notes for GWit developers.

Kenneth Gulbrandsøy released an early version of gwt-leaflet a lightweight mapping alternative to popular mapping APIs like Google Maps and OpenLayers.
The library uses Leaflet, an open-source javascript library for mobile-friendly interactive maps by CloudMade, to implement a collection of mapping Widgets which GWT projects can use to implement mapping capabilites on the client-side of a GWT application. The Leaflet API is a third-party javascript and is integrated with GWT as Java classes using JSNI and Type Overlays.

Uma on the It’s Amazing (or is it Hello It’s Crazy blog) posted a tutorial on how to utilize all of these technologies in a sample app.
The tutorial is a step by step guide on how to set the project up and getting running.

The folks at Traction Software has added some new Date/Time Pickers to their open source gwt-traction library, that work in any timezone. They have a UTCDateBox and a UTCTimeBox that return a UTC date or time but allows the display and edit to be in the user’s local timezone.
That can be a problem when you deal with users across timezones especially since Java defaults to the locale of the server.
They also have a date time range control and HTML5 date/time inputs for iOS

gwt-traction

Google released J2ObjC  a tool aimed at making it easier to port software between the two major smartphone platforms, by converting Java code for Android into Objective-C code that can be compiled to run on Apple iOS devices.
The same Java code could be shared with GWT applications allowing developers to leverage the same core code across the 3 platforms.
The UI would still need to be developed in Objective-C but non UI code can be translated.

J2ObjC
The Register Article
eWeek Article

The Vaadin project along with the other steering committee members has put together a survey to get developers opinions to help steer future development of GWT.
They want to know

• How should GWT develop?

• What technologies should it better support?

• What are best practices within the community?

• What is your opinion on the future of GWT?

Get your voice heard take the survey.

Vaadin is having a JavaOne meetup in San Francisco on October 2 at Hotel Serrano starting at 5pm.
Don’t worry they’ll bring the beer.

 

Tags: , , , , , ,