learn-ruby
Nokogiri
Our great sponsors
learn-ruby | Nokogiri | |
---|---|---|
16 | 20 | |
521 | 6,105 | |
- | 0.2% | |
9.3 | 9.4 | |
6 days ago | 5 days ago | |
C | ||
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
learn-ruby
-
Being laid off in 2023-2024 as an early-career developer
More consistent learning. The job search also gave me a chance to get back to my Ruby/web development learning roadmap. I realized that at my last job, I wasn't consistently spending time improving my skills, outside of whatever I might (if I was lucky) be learning in work projects. It's just hard to fight against the pressure of the day-to-day work. Here are some approaches that I'll try this time around: Disregard immediate applicability and learn something I'm interested in for the sake of expanding my mind. Right now that's learning functional programming. Learn actively, whether by contributing to Exercism's Ruby track, building a collection of Ruby code katas, or maybe even creating a text-based game.
-
Desperately need direction!
Beyond these basics, I've put together a list of my favorite Ruby/Rails learning resources.
-
Learning Git: my favorite resources
I made the Git list by (1) scouring the Web for recommended resources, then (2) trying out each one to see if it would be worth going through to the end. In case you're curious about which resources didn't make the cut, here's the commit where they are removed.
-
Learning Ruby: a retrospective
As a guide to my reflections today, I'll use my "Learning Ruby" roadmap, which originally arose out of the chaos of my bookmark hell, where I was having trouble keeping track of the actually important learning resources. The roadmap worked well for me and eventually I put it up on GitHub because making it public gives me more motivation to keep making progress.
-
Looking for Career Change
For me, Ruby was a great choice for a career change. I used to be a teacher until I quit in 2020, then over the next 1.5 years I studied and practiced part-time, while working full-time in a remote customer support job. Ever since I started learning Ruby, I've saved my favorite learning resources here: https://github.com/fpsvogel/learn-ruby. Many of them are free.
-
OOP vs. services for organizing business logic: is there a third way?
So I've set out to explore the problem of organizing business logic from more angles than before, using the resources listed below. These lists are excerpted from my "Learning Ruby" road map which I often update, so you may want to find these lists there if this post is old at the time of your reading it. The sections corresponding to the lists below are, at the time of writing, "Rails architecture" and "Rails codebases".
-
Ruby for beginners
For more resources, here's my list of my favorites: https://github.com/fpsvogel/learn-ruby
-
Learning Rails vs JS ecosystem?
I'll tell my story and you can decide if it resonates with you at all. Also these might help you: my Ruby roadmap (favorite learning resources), and my blog post "How to find your first Rails job".
-
what things do I have to learn to build a web app with Rails?
I've made a big list of my favorite learning resources, but here are some possible first steps:
-
Recently started first software engineering job, looking for course to improve Rails skills
I actually don't know of a good "beyond the basics" Rails course. The one or two that I've seen out there are prohibitively expensive. For me the best way forward has been to improve in specific areas, such as OOP, testing, and SQL basics. I've made a list of my favorite resources in each area, which might help you.
Nokogiri
- Web Scraping in Python – The Complete Guide
-
Did you know Nokogiri now has opt-in HTML5 parsing?
release planning: v1.16.0 · Issue #2897 · sparklemotion/nokogiri
-
As a Go developer, I’m surprised Crystal isn’t more popular
What's holding me back from going all in with Crystal is I have a lot of pre-existing Ruby code, and porting Ruby code to Crystal can be tricky. For example, Crystal lacks an Enumerator class (aka generators) due to captured block semantics. I also wish the shards ecosystem was a little more mature; for example there's multiple HTML parsing libraries, but none have all of the features that Ruby's Nokogiri has. For new greenfield backend projects, I would totally use Crystal.
-
Two months into learning Ruby, it is the most beautiful language I ever learned
Welcome! Ruby isn't exactly "dying", but the hype/popularity is definitely fading. This is primarily because Ruby is no longer "new", most of Ruby's popularity came from Rails, and now Rails is no longer the "new hotness". However, Ruby still has lots of awesome features and lots of awesome other libraries and frameworks, such as the new fancy irb gem that uses reline, nokogiri, chunky_png, the async gems, Dragon Ruby, SciRuby, Ronin, and the new Hanami web framework.
- What should I be learning?
- Comparable maintained Kimurai alternative?
-
In "Your Name" (2016), Mitsuha and Tesshi are seen turning a tree into their makeshift café, which is why one of the trees in the town is later missing
great for hacking at xml
-
Ditch Your Version Manager
Mike has worked hard over the years to have Nokogiri come with its dependencies. It does come with libxml and all that is required.
From https://nokogiri.org
> These dependencies are met by default by Nokogiri's packaged versions of the libxml2 and libxslt source code, but a configuration option --use-system-libraries is provided to allow specification of alternative library locations.
Some authors work hard to have their tools do the right thing and consistently.
-
Web scraping with rails
If the page is rendered as html you can use Nokogiri. It has great support and is pretty easy to get started with too.
-
Nokogiri 1.12 supports HTML5 parsing (after assimilating Nokogumbo)
And even now, pulling in a Java-based HTML5 parser is still probably easier than re-implementing in FFI, which is why I created https://github.com/sparklemotion/nokogiri/issues/2227 and would love to have this the conversation there if possible.
What are some alternatives?
git-katas - A set of exercises for deliberate Git Practice
Oga - Oga is an XML/HTML parser written in Ruby.
ruby - Exercism exercises in Ruby.
Ox - Ruby Optimized XML Parser
AWS-in-bullet-points - ☁️ AWS summary in bullet points
HTML::Pipeline - HTML processing filters and utilities
alba - Alba is a JSON serializer for Ruby, JRuby and TruffleRuby.
Oj - Optimized JSON
Hanami - The web, with simplicity.
ROXML - ROXML is a module for binding Ruby classes to XML. It supports custom mapping and bidirectional marshalling between Ruby and XML using annotation-style class methods, via Nokogiri or LibXML.
ruby-science - The reference for writing fantastic Rails applications
HappyMapper - Object to XML mapping library, using Nokogiri (Fork from John Nunemaker's Happymapper)