blog.arkency.com
Thanks to repositories... - Arkency Blog
http://blog.arkency.com/2015/06/thanks-to-repositories
See our books for programmers. Rails, React.js, blogging, remote). June 11, 2015. I am working in Arkency for 2 months now and building a tender documentation system for our client. The app is interesting because it has a dynamic data structure constructed by its users. I would like to tell you about my approaches to the system implementation and why the repository pattern allows me to be more safe while data structure changes. And that book inspired me to prepare data access layer as a set of repositori...
blog.arkency.com
How to start using UUID in ActiveRecord with PostgreSQL - Arkency Blog
http://blog.arkency.com/2014/10/how-to-start-using-uuid-in-activerecord-with-postgresql
See our books for programmers. Rails, React.js, blogging, remote). How to start using UUID in ActiveRecord with PostgreSQL. October 2, 2014. Author of photo: Christian Haugen. Although it may be obvious for many developers, there are still some that are not aware of great features that PostgreSQL allows to use with ActiveRecord. This tutorial is intended to reveal UUID type, which we can use in our Rails applications, especially as models’ attributes. According to the documentation. Is extremely interest...
blog.arkency.com
How to persist hashes in Rails applications with PostgreSQL - Arkency Blog
http://blog.arkency.com/2014/10/how-to-persist-hashes-in-rails-applications-with-postgresql
See our books for programmers. Rails, React.js, blogging, remote). How to persist hashes in Rails applications with PostgreSQL. October 13, 2014. Our recent blogpost about using UUID in Rails projects with PostgreSQL. Was appreciated so we decided to publish a tutorial about storing hashes in our favorite database. Let’s see how it can be achieved. Sometimes we may need to not only store plain attributes like. But also more complex objects. For now let’s talk about hashes. In previous blogpost about UUIDs.
andrzejonsoftware.blogspot.com
Andrzej on Software: How can Rails react to the rise of the JavaScript applications?
http://andrzejonsoftware.blogspot.com/2013/12/how-can-rails-react-to-rise-of.html
Saturday, December 28, 2013. How can Rails react to the rise of the JavaScript applications? The rise of JavaScript applications is tremendous. Every week new JS frameworks appear. Every website UI is now JS-heavy. How can Rails react to it? Do we need to worry about our jobs? Let's go back to the history for a while. Rails was created as a light-weight, but well-structured alternative to create dynamic, db-backed, html websites. Where are we now? They're completely different in every Rails app. Ofte...
andrzejonsoftware.blogspot.com
Andrzej on Software: Angular or Ember? Congratulations, you've already won.
http://andrzejonsoftware.blogspot.com/2013/02/angular-or-ember-congratulations-youve.html
Saturday, February 23, 2013. Congratulations, you've already won. Conference we've decided to have a Single Page Applications "fight". (The format of fight worked pretty well last year for the JRuby vs Rubinius battle). We're having Ember, angular, Backbone and hexagonaljs. Representatives. As I'm representing the last one, during the last few days, I've did more research on the other alternatives. Congratulations, that was a good choice! February 24, 2013 at 9:45:00 AM GMT 1. The non-framework approach ...
andrzejonsoftware.blogspot.com
Andrzej on Software: From Rails to JavaScript frontends
http://andrzejonsoftware.blogspot.com/2015/02/from-rails-to-javascript-frontends.html
Wednesday, February 11, 2015. From Rails to JavaScript frontends. I've collected a number of my blog posts, which together may help you in the transition from Rails to JavaScript (or CoffeeScript) frontends. Many of the posts are about the mental transition you need to make along the way, while other posts are more technical. I think it's best to read them in the order I put it here, as they present the road I took over the last 5 years. 1 Rails is not MVC. 2 Frontend is a separate application.
andrzejonsoftware.blogspot.com
Andrzej on Software: How to write a Ruby-related book - the tools
http://andrzejonsoftware.blogspot.com/2014/12/how-to-write-ruby-related-book-tools.html
Sunday, December 28, 2014. How to write a Ruby-related book - the tools. I have recently published the 1.0 release of the "Rails Refactoring: Rails Controllers" book. It took me over 1 year since I started. Over the time, I've experimented with many tools which helped me along the way. This post is a summary of some of the tools. For the initial writing. Github for storing the source files (markdown). Trello for task management. The minimal requirements was to have a tool that generates a PDF. Then I swi...
andrzejonsoftware.blogspot.com
Andrzej on Software: TDDing a unit, not a class
http://andrzejonsoftware.blogspot.com/2015/02/tdding-unit-not-class.html
Tuesday, February 3, 2015. TDDing a unit, not a class. Some time ago, I blogged about "Unit tests vs Class tests". Where I described how it differs when you think of a unit more as a collection of classes instead of a single class. How can we TDD such a unit? Triggered me to explain it a bit more. The title of the thread was interesting: "How does one TDD a user and session model? Here is my response:. You probably need to implement functions like:. Test wrong credentials dont authenticate. In a Rails ap...
andrzejonsoftware.blogspot.com
Andrzej on Software: Starting my journey with Volt
http://andrzejonsoftware.blogspot.com/2015/02/starting-my-journey-with-volt.html
Wednesday, February 18, 2015. Starting my journey with Volt. Let me start with a disclaimer that I'm new to the Volt. Framework. I probably get some things wrong. Don't rely on my opinions here :) The reason I'm blogging about it is to document my learning process. Also, by blogging I hope that dear readers will catch my mistakes and correct them in the comments. Thanks to that I'll learn more and can share a better knowledge in the future blog posts :). I came to Rails very early, in 2004. It was du...
andrzejonsoftware.blogspot.com
Andrzej on Software: From backend to frontend - the mental transition
http://andrzejonsoftware.blogspot.com/2012/06/from-backend-to-frontend-mental.html
Monday, June 25, 2012. From backend to frontend - the mental transition. Recently I blogged about my thoughts on the idea that frontends are in fact separate applications. Today, I'd like to describe the transition of my mental model in thinking about views and frontends. I thought that it was only me who went that path, but this excellent Backbone introduction slide deck. Helped me realize that it's a common process for backend developers. This process consists of the following steps:. Single page appli...
SOCIAL ENGAGEMENT