<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">
  <id>http://writelesscode.com/</id>
  <title>WriteLessCode Blog</title>
  <updated>2011-02-28T23:00:00Z</updated>
  <link rel="alternate" href="http://writelesscode.com/" />
  
  <author>
    <name>nomadcoder</name>
    <uri>http://twitter.com/nomadcoder</uri>
  </author>
  <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/writelesscodeblog" /><feedburner:info uri="writelesscodeblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry>
    <id>tag:writelesscode.com,2011-03-01:/blog/2011/03/01/better-separation-of-concerns-in-netzke-core-with-ext-direct/</id>
    <title type="html">Better Separation of Concerns in Netzke Core with Ext.Direct</title>
    <published>2011-02-28T23:00:00Z</published>
    <updated>2011-02-28T23:00:00Z</updated>
    <link rel="alternate" href="http://feedproxy.google.com/~r/writelesscodeblog/~3/Qp3u7MqNALY/" />
    <content type="html">&lt;p&gt;&lt;img align="right" class="frame-right" width="225" height="225" src="http://writelesscode.com/images/2011-03-01-1.jpeg" alt="Let's tweak this Sencha Ruby on Rails component framework a bit!"&gt;In Russia, spring conventionally started today, on the 1st of March (the rest of the world may need to wait until the 21st), so, let me celebrate this with a new blog post about a nice feature that found its way into the recent 0.6.6 release of &lt;a href="https://github.com/nomadcoder/netzke-core"&gt;Netzke Core&lt;/a&gt;. Among other improvements, it incorporates some &lt;a href="http://pschyska.blogspot.com/2011/02/introducing-extdirect-to-netzke.html"&gt;great work&lt;/a&gt; of &lt;a href="http://twitter.com/pschyska"&gt;Paul Schyska&lt;/a&gt;: he re-implemented the components client-server protocol using &lt;a href="http://www.sencha.com/products/extjs/extdirect/"&gt;Ext.Direct&lt;/a&gt;. The main result of it are multiplexed remote calls between the client and the server side of a component. Not only consecutive remote calls from a component get wrapped-up in a single actual call, but also calls from different child components in a composite component, being fired in a row, will be multiplexed into a single call to the server! The response from the server will carry back personal responses for each of the components participating in the communication, and for each individual call. This tutorial will show how we can benefit from this feature, making our code even more modular.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/writelesscodeblog/~4/Qp3u7MqNALY" height="1" width="1"/&gt;</content>
    <summary type="html">This blog post shows off a very cool new feature in Netzke Core which allows for much cleaner code in composite components.</summary>
  <feedburner:origLink>http://writelesscode.com/blog/2011/03/01/better-separation-of-concerns-in-netzke-core-with-ext-direct/</feedburner:origLink></entry>
  <entry>
    <id>tag:writelesscode.com,2011-01-27:/blog/2011/01/27/testing-extjs-rails-components-with-cucumber-and-webdriver-in-netzke/</id>
    <title type="html">Testing Ext JS/Rails components with Cucumber and WebDriver in Netzke</title>
    <published>2011-01-26T23:00:00Z</published>
    <updated>2011-01-26T23:00:00Z</updated>
    <link rel="alternate" href="http://feedproxy.google.com/~r/writelesscodeblog/~3/4yFZnWpaEf4/" />
    <content type="html">&lt;p&gt;&lt;img align="right" class="frame-right" width="209" height="70" src="http://writelesscode.com/images/2011-01-27.jpg" alt="Netzke Basepack Cucumber tests"&gt;If you're maintaining an open source project, a peace of mind is impossible without a decent test coverage. I've been successfully testing Netzke using Cucumber and Selenium/WebDriver (with some complementary RSpec tests as well). In this brief blogpost I will show you an example of a typical test scenario in Netzke Basepack, along with the code for a Cucumber step that communicates to the Ext JS component being tested. At the end, you can enjoy a little video I recorded of running complete Cucumber test suite on Basepack - I just thought it looked fun!&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/writelesscodeblog/~4/4yFZnWpaEf4" height="1" width="1"/&gt;</content>
    <summary type="html">This brief blogpost will show you an example of a typical test scenario in Netzke Basepack, along with the code for a Cucumber step that communicates to the Ext JS component being tested.</summary>
  <feedburner:origLink>http://writelesscode.com/blog/2011/01/27/testing-extjs-rails-components-with-cucumber-and-webdriver-in-netzke/</feedburner:origLink></entry>
  <entry>
    <id>tag:writelesscode.com,2011-01-13:/blog/2011/01/13/sencha-touch-rails-components-with-netzke-part-1/</id>
    <title type="html">Sencha Touch/Rails Components With Netzke, Part 1</title>
    <published>2011-01-12T23:00:00Z</published>
    <updated>2011-01-12T23:00:00Z</updated>
    <link rel="alternate" href="http://feedproxy.google.com/~r/writelesscodeblog/~3/xFclE6wbsh8/" />
    <content type="html">&lt;p&gt;&lt;img align="right" class="frame-right" width="320" height="167" src="http://writelesscode.com/images/2011-01-12-4.jpg" alt="Sencha Touch Tutorial Result"&gt;&lt;strong&gt;Update: Netzke currently dropped support for Sencha Touch&lt;/strong&gt;.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/writelesscodeblog/~4/xFclE6wbsh8" height="1" width="1"/&gt;</content>
    <summary type="html">This tutorial shows how to build reusable Sencha Touch components with Netzke Core.</summary>
  <feedburner:origLink>http://writelesscode.com/blog/2011/01/13/sencha-touch-rails-components-with-netzke-part-1/</feedburner:origLink></entry>
  <entry>
    <id>tag:writelesscode.com,2010-11-02:/blog/2010/11/02/netzke-06-is-out-whats-new/</id>
    <title type="html">Netzke 0.6 is out: what's new</title>
    <published>2010-11-01T23:00:00Z</published>
    <updated>2010-11-01T23:00:00Z</updated>
    <link rel="alternate" href="http://feedproxy.google.com/~r/writelesscodeblog/~3/O-jWlI7HiBc/" />
    <content type="html">&lt;p&gt;&lt;img align="right" class="frame-right" width="320" height="197" src="http://writelesscode.com/images/2010-11-01-1.jpg" alt="Netzke progress on GitHub"&gt;About 7 weeks ago I joined the development team of a Berlin based company called &lt;a href="http://www.familienservice.de/"&gt;Familien Service&lt;/a&gt; to help them start with a long-term project where they would use Netzke as the basis for a fairly complex CRM-application. Thanks to constant feedback from their really talented guys, as well as random help from other contributors on GitHub, Netzke has made some significant progress, resulting in that a week ago, after &lt;a href="http://rubyandrails.eu/articles/introduction-to-netzke--2"&gt;presenting Ext JS and Netzke":http://www.slideshare.net/netzke/rails-ext-js-and-netzke at "Ruby and Rails european conference&lt;/a&gt; in Amsterdam, I released the version 0.6.0 of both netzke-core and netzke-basepack. In this post I'd like to highlight the most important changes that found their way into the release.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/writelesscodeblog/~4/O-jWlI7HiBc" height="1" width="1"/&gt;</content>
    <summary type="html">This post highlights the most important changes that found their way into version 0.6.</summary>
  <feedburner:origLink>http://writelesscode.com/blog/2010/11/02/netzke-06-is-out-whats-new/</feedburner:origLink></entry>
  <entry>
    <id>tag:writelesscode.com,2010-06-27:/blog/2010/06/27/one-to-many-associations-in-netzke/</id>
    <title type="html">One-to-Many Associations in Netzke</title>
    <published>2010-06-26T22:00:00Z</published>
    <updated>2010-06-26T22:00:00Z</updated>
    <link rel="alternate" href="http://feedproxy.google.com/~r/writelesscodeblog/~3/FJn1ahcl5YE/" />
    <content type="html">&lt;p&gt;&lt;img align="right" class="frame-right" width="320" height="280" src="http://writelesscode.com/images/2010-06-27.jpg" alt="One-to-many associations in Netzke"&gt;Let's say we have a grid listing clerks, and we want to be able to assign a boss to a clerk (yes, my "favorite setup":http://demo.netzke.org/grid_panel). A traditional way to do this is by using a combobox listing available bosses as options. Netzke does it for you automatically when it detects a foreign key between the model's attributes. However, sometimes we want to be in more control over how one-to-many associations are handled in Netzke grids and panels. This tutorial will show you how to configure the following:&lt;img src="http://feeds.feedburner.com/~r/writelesscodeblog/~4/FJn1ahcl5YE" height="1" width="1"/&gt;</content>
    <summary type="html">Using one-to-many associations in Netzke grids and forms.</summary>
  <feedburner:origLink>http://writelesscode.com/blog/2010/06/27/one-to-many-associations-in-netzke/</feedburner:origLink></entry>
  <entry>
    <id>tag:writelesscode.com,2010-06-14:/blog/2010/06/14/extjs-rails-crud-application-in-7-minutes/</id>
    <title type="html">ExtJS/Rails CRUD Application in 7 Minutes</title>
    <published>2010-06-13T22:00:00Z</published>
    <updated>2010-10-26T22:00:00Z</updated>
    <link rel="alternate" href="http://feedproxy.google.com/~r/writelesscodeblog/~3/3DQyIRO0emA/" />
    <content type="html">&lt;p&gt;&lt;img align="right" class="frame-right" width="170" height="170" src="http://writelesscode.com/images/2010-06-14-extjswithrails.png" alt="ExtJS and Rails With"&gt;This post will lead you through simple steps of creating a task manager web application with Ext JS, Ruby on Rails, and &lt;a href="http://netzke.org"&gt;Netzke&lt;/a&gt; It will take you approximately 7 minutes to build, and if you're beforehand curious whether it's worth following, go straight to the last section but one (by far the biggest in this tutorial), where I discuss the results. The goal is to create a web application that will allow you to add, edit and remove TODO tasks, as well as mark them done. In addition to that, you'll be able to sort and search the tasks, edit several tasks at once, and more. You may start you stopwatch now, and let's get to the job.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/writelesscodeblog/~4/3DQyIRO0emA" height="1" width="1"/&gt;</content>
    <summary type="html">Build a full-featured Netzke task manager in no time.</summary>
  <feedburner:origLink>http://writelesscode.com/blog/2010/06/14/extjs-rails-crud-application-in-7-minutes/</feedburner:origLink></entry>
  <entry>
    <id>tag:writelesscode.com,2010-06-11:/blog/2010/06/11/extjs-and-rails-with-netzke-virtual-attributes-in-grids-and-forms/</id>
    <title type="html">ExtJS and Rails with Netzke: Virtual Attributes in Grids and Forms</title>
    <published>2010-06-10T22:00:00Z</published>
    <updated>2010-06-10T22:00:00Z</updated>
    <link rel="alternate" href="http://feedproxy.google.com/~r/writelesscodeblog/~3/HIA5cTTfFic/" />
    <content type="html">&lt;p&gt;&lt;img align="right" class="frame-right" width="314" height="182" src="http://writelesscode.com/images/2010-06-11.jpg" alt="ExtJS and Rails With Netzke. Virtual attributes."&gt; This blogpost will focus on how Netzke lets you specify and configure a model's (virtual) attributes mapped to columns (in grids) and fields (in forms). The way it was done before passed through several iterations of improvements, and finally I can say that I found an approach I'm currently happy with. It's very flexible, but at the same time the resulting code is readable, concise, and simply looks very habitual. Which problems is it solving? 1) Imagine, you want to render some HTML code in a grid cell (a link, an icon, etc). You could easily declare a method right in the model and use it as a virtual attribute. But it totally doesn't feel right to put this into your model, as it's about presenting the data, not the data itself. 2) Besides, different widgets may need different "representational" attributes for the same model - how would we handle that? Mix them in, in some way, into the model all together? Doesn't feel right either, especially if there are naming conflicts. 3) Also, different widgets may need to render the same attribute in a different way (e.g., with different formatting). Well, all this is now covered in Netzke. Read on.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/writelesscodeblog/~4/HIA5cTTfFic" height="1" width="1"/&gt;</content>
    <summary type="html">This blogpost will focus on how Netzke lets you specify and configure a model's (virtual) attributes mapped to columns (in grids) and fields (in forms).</summary>
  <feedburner:origLink>http://writelesscode.com/blog/2010/06/11/extjs-and-rails-with-netzke-virtual-attributes-in-grids-and-forms/</feedburner:origLink></entry>
</feed>

