Friday, November 29, 2013

Deploy your grails application freely on the web with OpenShift



If you want to make a web site and deploy it on the cloud, a possible solution is to make a Grails application and then to deploy on Tomcat.
After that, you can deploy it for free on Openshift :
 
https://www.openshift.com/blogs/day-6-rapid-web-development-on-the-jvm-with-grails

Wednesday, November 27, 2013

Error No default container found with grails


I've found solution about this problem on StackOverFlow : http://bit.ly/1a5otJX

Grails internationalization testing

I had some problem with internationalization with Grails.
I tried to change the language by adding ?lang=us at the end of my request but without success.
I found a simple solution : just switch the language settings of your browser by adding first the language you want. It will change "Accept language" in the HTTP request.

For example, in Firefox, you have to go in Tools -> Option -> Content -> language then choose the preferred language.
After that, you only have to reload your web page.

Wednesday, November 20, 2013

Coding Dojo

Here is an other web site to learn coding online : http://bit.ly/1dpne8b
Lot of languages are available !

Monday, November 18, 2013

JMC in Java 7u40

A new tools is available in bin directory of your Java distribution ( 7u40) to manage, monitor, profile and eliminate memory leaks. More info here :

http://blog.eisele.net/2013/09/java-mission-control-52-is-finally-here.html

Wednesday, November 13, 2013

codeacademy : a good way to learn html,css,php,javascript or jquery



You search a good way for learning some techno like html,css,php,javascript or jquery, you should look at : Codeacademy



http://www.codecademy.com/assets/codecademy_logo_smallest-0323fdd409fc100a1991db8aa706f57e.png


This web site helps you to learn easily by making courses and exercises online.
Courses are divided in severeal small courses and small exercises.
For example, the lesson explains how to set id on html element and you have to modify the html.

Example :

Sunday, November 10, 2013

Google+

New google+ page about my blog http://totalprogus.blogspot.fr/

Saturday, November 9, 2013

Grails : turn on GZip compression



If you want to improve your web site performance, you should enable GZip compression.


What is GZip compression ?


It's simple : you zip date before sending it over the net :
  1. Server compress data (HTML code, CSS, JavaScript...)
  2. Data go through the net
  3. the navigator uncompress data when it arrives before showing them

It's describe in HTTP/1.1

Is performance really better ?

You can check it here : http://stevesouders.com/hpws/rule-gzip.php



Grails et GZip

To enable GZip compression, it's simple.You have to install plugin ui-performance :

grails install-plugin ui-performance

Then restart Grails.

Comments :
  • If you want to be sure that GZip compression is enabled, you can go in "Audits" tabs on Chrome developpement tools.
  • ui-performance plugin do also severeal things like rules of Steve Souders and Yahoo performance team : http://stevesouders.com/hpws/rules.php  

Greyhound, the 2nd fastest land animal

Wednesday, November 6, 2013

Win a free pass for Devoxx France 2014

Developpez.com permits to win a pass for Devoxx France 2014 with a quizz :
Go one http://java.developpez.com/evenements/devoxx2014/quizz/