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 almost 7 years ago
B71c635e0d9eb72e7b349f9499bb8631
Useful post! Thanks
Comment posted by Dev about 7 years ago
B642b4217b34b1e8d3bd915fc65c4452
Ayyyo
Comment posted by Name almost 7 years ago
55502f40dc8b7c769880b10874abc9d0
tests
Comment posted by Test almost 7 years ago
B642b4217b34b1e8d3bd915fc65c4452
testing
Comment posted by Name almost 7 years ago
E615b4bfacff4ad801a9aa409d4f17af
Why don't you comment your code?
Comment posted by Anthony almost 7 years ago
B642b4217b34b1e8d3bd915fc65c4452
Thank you, Jordan for everything you've helped me do!
Comment posted by Name almost 7 years ago
76a95ef8ceb1123bc285a2bd535a6dab
fdfdffffffffffffffffff
Comment posted by Enter over 6 years ago
37d8af210e5b9042d4c289660e0240f3
niceee
Comment posted by Gautam about 6 years ago
F51afc0b486dd854a451f948e9e5f28a
fdsafasfdsa
Comment posted by fdsaf about 6 years ago
F51afc0b486dd854a451f948e9e5f28a
gogogogo
Comment posted by fdsaf about 6 years ago
F51afc0b486dd854a451f948e9e5f28a
dddddddddddddddd
Comment posted by fdsaf about 6 years ago
F51afc0b486dd854a451f948e9e5f28a
fdsafasfdsafdasfdsafdsa
Comment posted by fdsaf about 6 years ago
F51afc0b486dd854a451f948e9e5f28a
Cookie cleared, but still can post.
Comment posted by fdsaf about 6 years ago
F51afc0b486dd854a451f948e9e5f28a
websocket is not safe??????
Comment posted by fdsaf about 6 years ago
F51afc0b486dd854a451f948e9e5f28a
eeeeeeeeeeeeeeeee
Comment posted by fdsaf about 6 years ago
B71c635e0d9eb72e7b349f9499bb8631
One of the best course in the industries! DO it or Go home!
Comment posted by Dev about 6 years ago
68fae76020e9c5094c15ca7f39764ef3
dsdsd
Comment posted by jagrok about 6 years ago
68fae76020e9c5094c15ca7f39764ef3
dsdsdssd
Comment posted by jagrok about 6 years ago
23fd18459510adeeaf16dfeafd28fa04
niiiiiiice <3
Comment posted by ssss about 6 years 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 almost 6 years ago
68a717d86e1bb46d5998173a6cd4419b
This is a test comment for DevcampPortfolio site. ,,,class function return ,,,end
Comment posted by test001 almost 6 years ago
68a717d86e1bb46d5998173a6cd4419b
aaaaaaaa
Comment posted by test001 almost 6 years ago
68a717d86e1bb46d5998173a6cd4419b
njnakcknlkfnlk
Comment posted by test001 almost 6 years ago
B10786cbffba65c3b7c6fa1ad4912119
this is cool!
Comment posted by andy over 5 years ago
1ede9a7313166241e0a3c66315ca23ce
good
Comment posted by Sacko over 5 years ago
03a3af30d723c3641f0ce2868f54589c
hello
Comment posted by x over 5 years ago
03a3af30d723c3641f0ce2868f54589c
hello
Comment posted by x over 5 years ago
Dc0f4656c5361a1227343c0c08665557
5555555555
Comment posted by pao almost 5 years ago
Dc0f4656c5361a1227343c0c08665557
6666666666
Comment posted by pao almost 5 years ago
B0aa3b0f6fc4e854a2aed690392bf1c8
vkhvclckhkc
Comment posted by Mahak over 4 years ago
B0aa3b0f6fc4e854a2aed690392bf1c8
Despite its name, Urllib3 is not a successor of urllib2, which is part of Python’s core. If you want to use as many core Python features as possible, perhaps because you’re limited to what you can install, then take a look at urlllib.request. For end-users, I strongly recommend the requests package (see #6 on this list). This package is #1 because almost 1200 packages depend on urllib3, many of them ranking very high on this list as well.
Comment posted by Mahak over 4 years ago
B0aa3b0f6fc4e854a2aed690392bf1c8
testing
Comment posted by Mahak about 4 years ago
B0aa3b0f6fc4e854a2aed690392bf1c8
Testing
Comment posted by Mahak about 4 years ago
B0aa3b0f6fc4e854a2aed690392bf1c8
hello
Comment posted by Mahak about 4 years ago
B0aa3b0f6fc4e854a2aed690392bf1c8
testing
Comment posted by Mahak about 4 years ago
94fba03762323f286d7c3ca9e001c541
Thank you
Comment posted by mar over 2 years ago