Monday, May 26, 2008

New Google Maps mashup – Mobile Maps. The idea is very simple – select the area on the full screen map and send link to this map to any mobile user. And even more – the link here is a static picture. So any mobile user (regardless of the mobile terminal capabilities) will be able to see this map. How does it work:

1. Scale or move the full screen map here: http://mmap.linkstore.ru2. The marker always points to the center of your map3. Hit envelope icon and type email address there. You can use email-sms gate from your mobile operator and send link to the map via SMS.4. Send map (as a static picture)

tag setAuthorization defines a BASIC authentication scheme, so you have just provide here your twitter name and password. Tag setParam defines here a parameter status (as per API requirements) with your message. So now you can post to twitter right from your JSP pages.

Wednesday, May 07, 2008

One useful trick with Expires filter. This filter lets you set Expires and Cache-Control headers for the serviced responses. By this way your web application may deploy client-side cache for the requested resources. For example, you may decide cache all the requested images on the client's box. So for the sub sequential requests images will be served from right the local computer, and your own server will be free from this task. This simple idea lets actually save a lot of server's resources. How does it work: