Dev Thoughts

Musings from my development journey.

Topics

Breaking bad - what happens when you defy conventions?

large

Talk by Christoph Gockel

What is Rails?

It's like a city. Each module is like a different part of a city.

Areas of Freedom in Rails

Status Quo

Pareto principle: 80/20 principle. 80% of Rails applications only use around 20% of the Rails framework.

Analyzing the Boot Process

  • Skipping the rails/all flag and only pick and choose the components needed
  • Bundle.require(*Rails.groups)
  • config.active_support.bare = true
  • config.auto_load = false
  • Monkeypatch constantize
  • Will need to require any needed libraries on a file by file basis

Practical Tips

Break up your spec helpers

  • spec_helper.rb - Rspec and helpers
  • rails_spec_helper.rb - spec_helper.rb and Rails

Conventions are heuristics, not rules

Rails offers enough flexibility in order to support different implementation options.

Architecture

Book recommendation: Domain Driven Design

Final Notes

Know your tools, keep asking why you are following patterns to ensure it's the right process.

6205288ecbfff3df3e44008f296d7d76
Eskeeeetit
Comment posted by Ducko over 1 year ago
B71c635e0d9eb72e7b349f9499bb8631
Useful post! Thanks
Comment posted by Dev over 1 year ago
B642b4217b34b1e8d3bd915fc65c4452
Ayyyo
Comment posted by Name over 1 year ago
55502f40dc8b7c769880b10874abc9d0
tests
Comment posted by Test over 1 year ago
B642b4217b34b1e8d3bd915fc65c4452
testing
Comment posted by Name over 1 year ago
E615b4bfacff4ad801a9aa409d4f17af
Why don't you comment your code?
Comment posted by Anthony over 1 year ago
B642b4217b34b1e8d3bd915fc65c4452
Thank you, Jordan for everything you've helped me do!
Comment posted by Name over 1 year ago
76a95ef8ceb1123bc285a2bd535a6dab
fdfdffffffffffffffffff
Comment posted by Enter over 1 year ago
37d8af210e5b9042d4c289660e0240f3
niceee
Comment posted by Gautam 10 months ago
F51afc0b486dd854a451f948e9e5f28a
fdsafasfdsa
Comment posted by fdsaf 10 months ago
F51afc0b486dd854a451f948e9e5f28a
gogogogo
Comment posted by fdsaf 10 months ago
F51afc0b486dd854a451f948e9e5f28a
dddddddddddddddd
Comment posted by fdsaf 10 months ago
F51afc0b486dd854a451f948e9e5f28a
fdsafasfdsafdasfdsafdsa
Comment posted by fdsaf 10 months ago
F51afc0b486dd854a451f948e9e5f28a
Cookie cleared, but still can post.
Comment posted by fdsaf 10 months ago
F51afc0b486dd854a451f948e9e5f28a
websocket is not safe??????
Comment posted by fdsaf 10 months ago
F51afc0b486dd854a451f948e9e5f28a
eeeeeeeeeeeeeeeee
Comment posted by fdsaf 10 months ago
B71c635e0d9eb72e7b349f9499bb8631
One of the best course in the industries! DO it or Go home!
Comment posted by Dev 10 months ago
68fae76020e9c5094c15ca7f39764ef3
dsdsd
Comment posted by jagrok 9 months ago
68fae76020e9c5094c15ca7f39764ef3
dsdsdssd
Comment posted by jagrok 9 months ago
23fd18459510adeeaf16dfeafd28fa04
niiiiiiice <3
Comment posted by ssss 8 months ago
B71c635e0d9eb72e7b349f9499bb8631
I purchased this course and finally start to build the same project on my own! Jordan is realy the best teacher, focused on deep details and know how to insert concept in our heads! Thanks
Comment posted by Dev 6 months ago
68a717d86e1bb46d5998173a6cd4419b
This is a test comment for DevcampPortfolio site. ,,,class function return ,,,end
Comment posted by test001 5 months ago
68a717d86e1bb46d5998173a6cd4419b
aaaaaaaa
Comment posted by test001 5 months ago
68a717d86e1bb46d5998173a6cd4419b
njnakcknlkfnlk
Comment posted by test001 5 months ago
B10786cbffba65c3b7c6fa1ad4912119
this is cool!
Comment posted by andy 3 months ago
1ede9a7313166241e0a3c66315ca23ce
good
Comment posted by Sacko 3 months ago
03a3af30d723c3641f0ce2868f54589c
hello
Comment posted by x about 1 month ago
03a3af30d723c3641f0ce2868f54589c
hello
Comment posted by x about 1 month ago