Being a long time Nokia feature phone user and fan, I was more than excited to get the new Nokia 230. This phone is priced at EUR 80 which is a reasonable price. I hate the “availability” that smartphones give you, and I love how feature phones take away just that. Nokia (or Microsoft) advertises… Continue reading Nokia 230 Review: Nice looking, but an Engineering Breakdown
Cells-Hamlit: The Fastest View Engine Around.
The Hamlit gem is a reimplementation of the popular Haml markup language, which unfortunately is based on a quite old, convoluted codebase. Hamlit borrows the syntax, but rewrites the entire engine code leveraging the excellent Temple gem, which is a parser, compiler and optimizer for template languages and is also used in Slim. Wow, that’s… Continue reading Cells-Hamlit: The Fastest View Engine Around.
Reform 2.1 With Dry-Validation and Grouping
Just in time for Christmas, Reform 2.1 is ready for you. It has two great new additions: we now support the awesome Piotr Solnica’s dry-validation gem, and I introduced validation groups. Reform is a form object gem that decouples validation of data from models. Its full documentation can be found on the Trailblazer website. Validation… Continue reading Reform 2.1 With Dry-Validation and Grouping
Representable 2.4: How Functional Programming Speeds Up Rendering And Parsing.
The great thing about being unemployed is you finally get to work on Open-Source features you always wanted to do but never had the time to. Representable 2.4 internally is completely restructured, it has lost tons of code in favor for a simpler, faster, functional approach, we got rid of internal state, and it now… Continue reading Representable 2.4: How Functional Programming Speeds Up Rendering And Parsing.
The Only Alternative to a Rails Monolith are Micro Services? Bullshit!
The Rails Way is wrong and has led thousands of projects to an unmaintainable state of highly coupled software assets. In order to keep the growing complexity maintainable, and to maximize reusability, people now start to introduce “micro services”, which are physically separated, completely stand-alone applications that provide a subset of the application’s functionality via… Continue reading The Only Alternative to a Rails Monolith are Micro Services? Bullshit!
Wraps in Representable 2.3
Recently we rolled out Representable 2.3. The main addition here is the ability to suppress wraps. When talking about wraps, I am not referring to deliciously rolled flat bread filled with mouth-watering vegetables, grilled chicken and chilli sauce, no, I am thinking of container tags for documents. Wraps, y’all! Usually, you’d define the document wrap… Continue reading Wraps in Representable 2.3
Reform 2.0 – Form Objects for Ruby.
A few days ago I pushed the next version of Reform: Version 2. While this is still a release candidate, it can be considered stable. The reason I blog as if it was a major release is: I want you to test, try, and complain. Speak now or forever hold your peace! Now is the… Continue reading Reform 2.0 – Form Objects for Ruby.
MiniTest::Spec, Capybara, Rails Integration Tests, and Cells: It Works!
I had a hard time getting MiniTest::Spec working with Capybara matchers, in combination with Rails integration tests and cells tests. I almost switched to Rspec but then finally figured out how simple it is. Why People Use Rspec. The reason people use Rspec is: It works. Everything popular is supported out-of-the-box provided by the hard… Continue reading MiniTest::Spec, Capybara, Rails Integration Tests, and Cells: It Works!
Disposable – The Missing API of ActiveRecord
Disposable gives you Twins. Twins are non-persistent domain objects. They know nothing about persisting things, hence the gem name. They Allow me to model object graphs that reflect my domain without restricting me to the database schema. Let me work on that object graph without writing to the database. Only when syncing the graph writes… Continue reading Disposable – The Missing API of ActiveRecord
Cells 4.0 – Goodbye Rails! Hello Ruby!
The Cells gem has helped many developers to re-structure and re-think their view layer in Rails. It provides view models that embrace parts of your UI into self-contained widgets. What was partials, filters, helpers and controller code is now moved into a separate class. View models are plain Ruby and use OOP features like inheritance… Continue reading Cells 4.0 – Goodbye Rails! Hello Ruby!