The power of experiment.

When I were young, the time did not fly so horribly fast. This is for sure. I do not really remember whether I traveled with the speed of light or what, but apparently I had much more time. It was not so expensive as it is today. This is for sure.

Now, having family and regular work, it looks like I slowed down (or the world speeds up!) and it is hard to catch up with things I would like to touch somehow. Ha! The experts say you have to manage the time. Yeah. Easy to say.

I know this is not something unique to my life, though. Despite the fact that it does not help me at all, it could be kind of a solace however. Yeah… But I miss the point. This is not something I want to write here… Where were I…

The time flies. Yes, it does. What is the impact on my “Back to the code!” mission? Enormous. The very first thing I got hit by is that I do not have time to experiment! This important, crucial even, activity was something that allowed me to explore many different areas and become skillful. The experiment is something that has always been a flywheel for the science. For our civilization.

Now, with all the technology stack behind so called  web development, the demand is to do it now! See the damn frameworks. Although this is great stuff, it is just an illusion. Even though you got something at the very beginning, and for free, it does not give you a solution. To reach the goal, you would have to play with the whole stack of crap. And to get familiar with it. Means to sacrifice your precious resource – the god called Time.

Experiments are for free people. Be free is expensive then. Bummer… I have just thrown 30 minutes of my precious time straight to the trashcan called Internet. Am I rich man or a poor guy then?

The ‘create’ for the main class is coming.

With YUI, finally I managed to rewrite the standard ‘create’ view. It does not mean that the view is done, but my eyes don’t hurt so much. The Grails generated views make me feel dizzy. I don’t know why.

I created 3×3 grid in the CSS Grid builder, decomposed the  standard view into templates (_topright.gsp, _bottomleft.gsp, and so on) and put <g:render template=”…” /> in the html file I got from the builder. Of course the YUI ‘grids.css’ or ‘grids-min.css’ (build/grids folder within the YUI zip file) stylesheet must be added to HEAD either in the new view, or in the ‘main.gsp’ Sitemash layout (…/views/layout/main.gsp).

Ah, yes – I didn’t delete the original ‘create’ view. I just added a new one – ‘newcreate’ (pretty geeky name, I know…) and all the new “experimental”  stuff is landing there. What is important is to not forget about adding a new action to the controller. Another one key thing is to modify the ‘list’, ‘show’ and ‘edit’ views to re/direct actions to the ‘newcreate’ instead of ‘create’. Obvious stuff, but writing something down, helps to remember things :)

To be honest I am not so sure if the time I’ve spend on the views was a good deal, but for sure I learnt something new. This is good. Good. However, I don’t feel I moved towards the goal as much as I wished to. The real thing will be to introduce some services to import the real data into the database.

Distracted. This is how I feel.

Create a free website or blog at

Up ↑