Lets imagine that you have a list view of some data which takes a long time to generate, one second or so to suck the data from the database. This is unreasonable for a site of any proportion, and you certainly don’t want to re-run query every time some
O intuito do treinamento é desenvolver uma aplicação web completa, que va desde o banco de dados até o uso de AJAX em toda sua camada de visualização. O foco do curso é o pragmatismo, sendo que os conceitos da linguagem estarão em um segundo plano
"Each pattern describes a problem which occurs over and over again in our environment, and then describes the core of the solution to that problem, in such a way that you can use this solution a million times over, without ever doing it the same way twice
This surprises even me, but I’m not sure what is the best way to provide multiple templates, sidebars, etc. (i.e. typical layout/templating stuff) before I read this. Formerly I exclusively use partials, now I know there’s another way, the content_for
On Wednesday in Frankfurt at the PHP International Conference I gave a fairly general talk on issues in Web frameworks. I had fun making a graph comparing Java, PHP, and Rails, and you might enjoy it too. [Update: Theserverside.com has a grossly inaccurat
Here at Ohloh we've accumulated an enormous database of open source development facts. So far, we've indexed over 3,000 projects and 220 million lines of source code. In addition, we've followed the history of these lines of code, to identify when and by
Charles Nutter gives an update on his JRuby work in a recent blog post. He notes the ability to run JRuby as an applet, and points to ways of executing a Rails application inside the Glassfish application server.
Muito provavelmente este código não está otimizado ao máximo. Se alguém vir pontos que podem ser otimizados, por favor, me avisem! Outra coisa: ele ainda não foi homologado junto ao banco, mas esta é a parte mais fácil. Se você tiver que utilizar
The installer packages Shane Careveo's Fast-CGI ISAPI filter in conjuction with Ionic's Rewrite ISAPI filter and my IIS scripts to allow for integration with IIS under Windows XP or Windows Server 2003. This is a complete solution for hosting your Ruby Ra
Ok, disclaimer. As of writing there aren’t exactly 100+ cheatsheets available on errtheblog’s wonderful new cheatsheet tool, but its only a matter of time til my title is correct. Then I will rewrite this introduction paragraph and I will be the earli
Most web applications have many more model objects exposed on the backend, or admin side, than they do on the front. Coding interfaces for all those models is redundant and a waste of resources when all you need is CRUD functionality that’s smart enough
Behold, behold, Rails 2.0 is almost here. But before we can slap on the final stamp, we’re going to pass through a couple of trial release phases. The first is this preview release, which allows you to sample the goodies in their almost finished state.
RM-Install, powered by BitRock, is a free, multi-platform, enterprise-class Ruby on Rails stack enabling you to instantly begin developing and deploying great Rails applications without the worry of installing or maintaining the various integrated softwar
One of the aspects we have to work around building and improving a dynamic language implementation on the Java Virtual Machine is the way the JVM loads and executes bytecode. In order for JRuby to take advantage of the Hotspot just-in-time (JIT) compiler,