quinta-feira, 30 de dezembro de 2010

Grails Esta Semana (2010-51) - Tradução do artigo original

Artigo original de Burt : http://burtbeckwith.com/blog/?p=461

Feliz (e tardio) Festivus a todos.

Algumas notas primeiro. Esqueci-me de algo na passada semana, Peter Ledbrook fez uma descrição das coisas interessantes em que está a trabalhar  em beta.grails.org. Para se manter actualizado com os posts de “Grails Esta Semana”  pode aceder directamente directly através do link de categoria ou através de um cliente RSS  com o feed exclusivo destes posts.


Artigos

  • Grails vs Symfony
    • Uma comparação da performance entre Grails e a biblioteca PHP Symfony 
  • eclipse-groovy 2.1.1
    • Imensas novidades na versão  2.1.1 do eclipse-groovy plugin.
  • 100,000
    • Mais de 100,000 emails foram enviados para a mailing list Grails User (um pouca acima de 3000 enviados por mim ;))
  • Functional Web Testing with Geb
    • Utilização de Geb para testes funcionais (em Alemão)
  • http://observatoriodegrails.com/
    • Um agregador de informação sobre Grails, semelhante, em Castelhano
  • ZKGrails 1.0.1
    • Informação sobre a versão 1.0.1
  • Liquibase 2.0.0
    • Foi lançada a biblioteca Liquibase para gestão de migrações de bases de dados . Irei lançar na próxima semana um novo plugin para Grails utilizando Liquibase 2.0.0 .
  • Less CSS plugin
    • Anúncio oficial do plugin Less CSS que referi na passada semana.
  • Grails + Gradle
    • Como criar uma aplicação Grails com Gradle
  • Groovy++ + Gradle
    • Groovy++ tem agora uma versão Gradle
  • The Grails Resources Plugin
    • Detalhes sobre o novo plugin Resources
  • Groovy is not Java
    • “Groovy consegue realizar coisas que são simplesmente impossíveis em Java. Esta apresentação é surpreendente porque vai mudar a sua abordagem à programação, de estática para dinâmica."

Plugins

Foram lançados 8 novos plugins:
Vários plugins foram também actualizados:
  • ajaxflow versão 0.1.10. Permite Ajaxified Webflows
  • cache-headers versão 1.1.3. Melhora a performance da aplicação através de caching no browser
  • chargify versão 1.0. Integração com http://chargify.com/
  • greenmail versão 1.2.2. Suporte para testes de email com GreenMail
  • grom versão 0.2.1. Envio de notificações em Windows, Linux e Mac
  • jquery-validation-ui versão 1.0.1. Validação no lado do cliente sem necessidade de escrever JavaScript
  • maven-publisher versão 0.7.4. Publicação de projectos e plugins Grails em repositórios remotos Maven
  • multi-tenant-spring-security versão 0.2.0. Integra o plugin  multi-tenant com o plugin spring-security-core
  • ofchart versão 0.6.2. Plugin Open Flash Chart
  • resources versão 1.0-RC1b. Gestão melhorada de  recursos estáticos (JS, CSS, images, etc.)
  • routing versão 1.1.0. Integração com Camel
  • routing-jms versão 1.1.0. Suporte de JMS/ActiveMQ para o plugin routing
  • springcache versão 1.3. Caches de métodos de "Spring bean" e fragmentos de páginas geradas por controladores Grails
  • zk versão 1.0.1. Adiciona suporte ao framework ZK Ajax (www.zkoss.org) em aplicações Grails
  • zk-ee versão 1.0.1. Enterprise Addons para o plugin ZK

quarta-feira, 29 de dezembro de 2010

Intellij Idea X

Ok i must confess ... i recently ditched my longtime IDE. Sorry Mr. Netbeans but there's a new (well not so new) kid in block.
I started developing some apps in Grails so i needed an IDE with good Grails integration. Netbeans wasn't up to the task.
Next logical move: Get Springsource Tool Suite (STS) even tough i've always disliked eclipse and its derivatives. Grails (and Spring Roo) integration is good but code completion is a bit slow (i'm on a HP dm1 netbook).
Then one day i said to myself that i should be trying Idea. I've downloaded version 9 trial edition and i was delighted with it. Snappy code completion, excelent  navigation between controllers, views, tests and domain classes, top notch refactoring. But then i achieved my Grails development nirvana. Version 10 of Idea was out ! Downloaded it installed it and ... wow ! I thought it wasn't possible to be surprised once more ... wrong ! The new version has faster indexing, faster and smarter code completion (so context aware) and it integrates superbly with github. I'm totally addicted to tasks (check them out) and i can even import github issues, make them tasks creating changelists where changes are kept and then commit them to my git repository. I'm in heaven !
It is not free, it costs a bit (i'll be ordering a license soon) but still by far the best IDE i've used !

quarta-feira, 29 de setembro de 2010

Erlang and OTP in Action review (part 1)


This is the first post about the review i'm doing on the book Erlang and OTP in Action (MEAP) by Martin Logan, Eric Merritt and Richard Carlsson and published by Manning (http://www.manning.com/logan/). 
This review will be a collection of posts describing my experience as i follow this book.
I started my reading at Appendix A where installation methods for different Operating Systems of Erlang are described. This section gives clear and concise directions as how you can get Erlang installed in your system. Being a Ubuntu user i already had it trough the distribution package manager but still could find very good use for this section as i followed instructions and got Erlang installed at a Mac computer trough faxien.
Next i went straight to chapter 1 where the authors explain the meaning of OTP and give us an insight of what Erlang is.
Trough this chapter we get to know some of the key concepts associated with Erlang: Distribution, Concurrency, Fault-Tolerance. We also get familiar with the Erlang runtime system and virtual machine.
I'm finding this book useful for what i want, to get a good insight into the technology/language. More than code listings showing how to say hello to the world or how to write the next social media revolution app i need to understand what i'm doing and most of all why !
I'm looking forward to get into the next chapter (Erlang language essentials) and as soon as i get there you'll be the first one to know ...

segunda-feira, 6 de setembro de 2010

Started reading Erlang OTP in Action

Guilty ! I got the book a couple of weeks ago and i haven't started reading it ...
But all is about to change now. I started reading the book and i will start publishing my impressions on it as i go along. Stay tunned !

quarta-feira, 25 de agosto de 2010

When easy became easier ...

In the last couple of weeks i have been analyzing, modelling and choosing some tools to build a small app. When i started this project i was perhaps a bit naive in thinking that i would be coding in no time ! Yes it's true, the model seems to be quite consistent, scalable (and i'm quite happy with it). Now cold and true reality ... if anyone has already tried to configure Hibernate (trough annotations or XML) in a way he could easily map 3 levels of inheritance with the 2 top classes being abstract knows what's the cold and true reality i'm talking about ! It was easier than JDBC (or at least more comfortable to me) but any change i would have to do in any of the classes implied fiddling with a huge amount of code.
Then it came to me: What if i can find some tool(s) that allow me to kind of build a skeleton of my app and then start polishing it ? The good news (at least for me) is that i , not only have found Grails but also Roo (SpringRoo). Believe me that's when easy became easier !

Grails:        http://www.grails.org/

Check those 2 pages ... perhaps those tools will come on handy for your project, but one thing is for sure: you will have lot's of fun !

terça-feira, 24 de agosto de 2010

Erlang in Action MEAP

Ok i'm warming up... by this time i already have my virtual machine ready with Ubuntu. I'll be starting real soon to post my experience in following the book. It will be a review as you follow thing !

sábado, 21 de agosto de 2010

an interesting article : 10-reasons-why-people-initially-suck-at-programming


I saw people using reason #3 so many times during the last three years ... guys listen up : the resources are there for the taking. We never had so many information available like today ...

sexta-feira, 20 de agosto de 2010

a book review is always a good excuse to learn...

A couple of days ago while i was browsing trough some tweets i found one that caught my attention. Manning, the book publisher was looking for reviewers for this book http://www.manning.com/logan/
I sent an email saying that i'm a complete noob (though i can tell Erlang from an apple) but that i wished to learn Erlang for a long time and this would be the perfect oportunity. Guess what ? They've sent me a copy !
I will be posting my progress trough the book and hopefully i'll actually learn some Erlang.

some Groovy stuff ...

I'm currently working on a project that has started, at least conceptually, in Java. It's an app for managing some patient records and to give some kind of statistical information to healthcare professionals. Entity classes, persistence layers, DAO pattern, mobile interface, native interface ... and so on ...
I thought Spring might be the way. Ok next step "Springify" my app.
But wait... i don't know how to do it !
No problem grabbed some books watched some lectures browsed some tutorials and off we go !

At some point i started wondering ... what if there is a way to prototype this app in an elegant and less verbose way ? That would be great, i could take a more try-and-buy approach. If something doesn't make sense go back and follow another path.

Then i met Grails, it's Groovy, it's Java(ish), i can use Spring stuff, there is also Hibernate. Oh well it was love at first sight (i can assure you that we kept on dating and i'm still quite happy) !

Finally !

Procrastination is over !
Time to blog about things that don't ring a bell to many people. For the others, the ones who have some interest in programming languages, software architecture and are slightly interested in my life i can only say: Welcome a board ! (or perhaps Welcome onboard !)