30 Oct '16, 4pm

Ruby: Factory Pattern on simple example

30 October 2016 Patterns Design Hey! I wrote couple posts about patterns (strategy , decorator and template ). This list can not be complete without Factory Method pattern. Here is how Wiki describes this pattern : the factory method pattern is a creational pattern that uses factory methods to deal with the problem of creating objects without having to specify the exact class of the object that will be created. From this description we see that it's a creational pattern and using it we will be able to instantiate objects of some classes. Let's go through this pattern by example. It will be similar to one we had in dependency injection . Our goal to develop report generator which will support different file formats. We know that at the beginning it should support at least two file formats: csv and json. Today I want to show how to go from the most basic implementation to Fa...

Full article: http://rubyblog.pro/2016/10/factory-method-pattern-in-ruby

Tweets

Decorator Pattern in Ruby

rubyflow.com 29 Oct '16, 7pm

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

Five Practices for Robust Ruby on Rails Applica...

blog.codeship.com 31 Oct '16, 3pm

This article was originally published on Brewhouse’s blog by Philippe Creux , and with his permission, we’re sharing it he...

Ruby On Rails Setting 1 by xinmobile

freelancer.com 29 Oct '16, 10am

website builders on ruby on rails , ruby on rails on windows 7 , ruby on rails on line console , rails solutions ruby on r...

The latest Today in #Ruby, #Rails, & #Python!

paper.li 30 Oct '16, 11am

Today in #Ruby, #Rails, & #Python News from Rubyists and Pythonistas by David Young Please enable Javascript to correctly ...

I would like to hire a Ruby on Rails Developer ...

freelancer.com 30 Oct '16, 11am

ruby on rails developer for hire , hire ruby on rails developer india , hire ruby on rails developer , hire ruby on rails ...

Review: Keep Ruby Weird 2016

rubyflow.com 31 Oct '16, 3pm

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

Ruby On Rails Setting2 by xinmobile

freelancer.com 29 Oct '16, 10am

website builders on ruby on rails , ruby on rails on windows 7 , ruby on rails on line console , rails solutions ruby on r...

Ruby On Rails Setting by xinmobile

freelancer.com 29 Oct '16, 10am

pascal source code dchp server , java source code client server bidding app , j2me source code sms server , forum ruby cod...

Using the Push API with VAPID in Ruby

rubyflow.com 29 Oct '16, 1am

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

Continuous Integration and Deployment for Ruby ...

rubyflow.com 29 Oct '16, 3pm

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

The latest Today in #Ruby, #Rails, & #Python!

paper.li 29 Oct '16, 11am

Today in #Ruby, #Rails, & #Python News from Rubyists and Pythonistas by David Young Please enable Javascript to correctly ...

TIL: there's a knitting pattern called Ruby on Rails. And it is very pretty

TIL: there's a knitting pattern called Ruby on ...

ravelry.com 07 Nov '16, 11am

Where knitting design meets software development, follow the track to Ruby on Rails (Shawl). This design is the first patt...

Should I learn Ruby on Rails or Django/Flask?

reddit.com 28 Oct '16, 1pm

As someone who uses RoR on a regular basis - I honestly like it. It forces you to learn it extensively before you can use ...

Natural Language Generation in Ruby (with JRuby...

rubyflow.com 28 Oct '16, 8pm

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...