<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Cezar Halmagean</title>
    <description>The latest articles on DEV Community by Cezar Halmagean (@chalmagean).</description>
    <link>https://dev.to/chalmagean</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F52533%2F3998eeee-9a15-4c10-912a-4e5b57758e1e.jpg</url>
      <title>DEV Community: Cezar Halmagean</title>
      <link>https://dev.to/chalmagean</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chalmagean"/>
    <language>en</language>
    <item>
      <title>How to Send Tailwindcss-Styled Emails With Ruby on Rails 7</title>
      <dc:creator>Cezar Halmagean</dc:creator>
      <pubDate>Tue, 15 Nov 2022 04:48:20 +0000</pubDate>
      <link>https://dev.to/chalmagean/how-to-send-tailwindcss-styled-emails-with-ruby-on-rails-7-3j0d</link>
      <guid>https://dev.to/chalmagean/how-to-send-tailwindcss-styled-emails-with-ruby-on-rails-7-3j0d</guid>
      <description>&lt;p&gt;Have you ever tried to create a good-looking email design from scratch?&lt;/p&gt;

&lt;p&gt;Or how about using TailwindCSS to write your email layouts?&lt;/p&gt;

&lt;p&gt;Well, if you did, you've probably failed. A lot.&lt;/p&gt;

&lt;p&gt;And it's safe to say reminding you about it is not a good way to make friends.&lt;/p&gt;

&lt;p&gt;But! I'm here to help.&lt;/p&gt;

&lt;p&gt;Let me show you how I create beautiful email templates in just a few minutes and how I use them in my Rails projects.&lt;/p&gt;

&lt;h2&gt;
  
  
  Creating good-looking emails should be easy
&lt;/h2&gt;

&lt;p&gt;Instead of settling for plain-text emails or half-assed HTML designs, we should be able to come up with a good-looking design and not spend ages working on it.&lt;/p&gt;

&lt;p&gt;And here's why:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Good design makes you look professional&lt;/li&gt;
&lt;li&gt;It's not that hard to create amazing emails if you know how&lt;/li&gt;
&lt;li&gt;Your SaaS can sell more products&lt;/li&gt;
&lt;li&gt;Your customers will trust you more&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Fortunately, this is super easy to do, and you'll be done in no time.&lt;/p&gt;

&lt;p&gt;Here are your options for creating good-looking emails across email clients.&lt;/p&gt;

&lt;h2&gt;
  
  
  Option 1: Do it yourself
&lt;/h2&gt;

&lt;p&gt;I want to mention this option because... well... it's doable. But I wouldn't recommend it.&lt;/p&gt;

&lt;p&gt;You basically start from nothing, learn all about email design (and all the little quirks that email client has), build your layout, and test it (with an email testing service).&lt;/p&gt;

&lt;p&gt;I don't recommend this option because it takes a lot of time, and you could probably use that time to do other things.&lt;/p&gt;

&lt;p&gt;But it's an option. For sure.&lt;/p&gt;

&lt;h3&gt;
  
  
  Option 2: Done for you
&lt;/h3&gt;

&lt;p&gt;If you ask me, this one is probably the best option if you value your time.&lt;/p&gt;

&lt;p&gt;You purchase a done-for-you email kit/template from a design service (or designer) and use it in your Rails project.&lt;/p&gt;

&lt;p&gt;The good thing about it is that these templates are already tested, so you don't have to spend your time on that.&lt;/p&gt;

&lt;h2&gt;
  
  
  Option 3: TailwindCSS design
&lt;/h2&gt;

&lt;p&gt;This third option is a hybrid between the DIY option and the done-for-you.&lt;/p&gt;

&lt;p&gt;Just like you would use TailwindCSS to create your browser layouts, you can use it to create email templates.&lt;/p&gt;

&lt;p&gt;But this won't work in Rails out of the box. Unless you create your layouts using HTML tables and use something like the &lt;a href="https://github.com/fphilipe/premailer-rails"&gt;premailer-rails gem&lt;/a&gt; to inline your CSS (I haven't tried this approach).&lt;/p&gt;

&lt;p&gt;The way I've done it is by using &lt;a href="//maizzle.com"&gt;Maizzle&lt;/a&gt;. They give you a nice starter template, and a Node project, so you can build your template quickly.&lt;/p&gt;

&lt;p&gt;When you're done, you can export the HTML and copy/paste it into your Rails mailer layout.&lt;/p&gt;

&lt;p&gt;If you want to see the video I've made or read the full article, check out the &lt;a href="https://mixandgo.com/learn/ruby-on-rails/email-design-with-tailwindcss?utm_source=dev.to&amp;amp;utm_medium=organic&amp;amp;utm_campaign=email_tailwind"&gt;full guide here&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>rails</category>
      <category>tailwindcss</category>
    </item>
    <item>
      <title>How to Pick the Right Web Stack and Level Up Quickly</title>
      <dc:creator>Cezar Halmagean</dc:creator>
      <pubDate>Fri, 21 Oct 2022 11:13:58 +0000</pubDate>
      <link>https://dev.to/chalmagean/how-to-pick-the-right-web-stack-and-level-up-quickly-31c6</link>
      <guid>https://dev.to/chalmagean/how-to-pick-the-right-web-stack-and-level-up-quickly-31c6</guid>
      <description>&lt;p&gt;As a self-taught web developer, I started my career by looking for advice on what to learn on internet forums.&lt;/p&gt;

&lt;p&gt;My first programming language was Perl.&lt;/p&gt;

&lt;p&gt;Back then, Perl and PHP were all the rage. And I picked Perl because others had recommended it.&lt;/p&gt;

&lt;p&gt;You can imagine that wasn't the best choice, but it made perfect sense at the time.&lt;/p&gt;

&lt;p&gt;The problem was I used the news to plan my career. Because I could've made better use of that time.&lt;/p&gt;

&lt;p&gt;Here's how I would do that now if I were looking to start a career in web development.&lt;/p&gt;

&lt;p&gt;First, I'd do some &lt;strong&gt;market research&lt;/strong&gt; by looking at the various job boards. I'd then make a list of all the languages and frameworks that hire junior developers.&lt;/p&gt;

&lt;p&gt;That would be the first step.&lt;/p&gt;

&lt;p&gt;Then, I'd &lt;strong&gt;pick one language or framework with the highest potential&lt;/strong&gt; and  set a goal to learn it.&lt;/p&gt;

&lt;p&gt;But I wouldn't learn everything.&lt;/p&gt;

&lt;p&gt;Instead, I'd &lt;strong&gt;learn the 20%&lt;/strong&gt; that would get me a job at a company where I could continue learning.&lt;/p&gt;

&lt;p&gt;I picked 20% because of the Pareto principle (or the 80/20 rule).&lt;/p&gt;

&lt;p&gt;Finally, I'd &lt;strong&gt;try to spend the least amount of time possible in this learning phase&lt;/strong&gt;. Because the more time you spend learning, the more time you're not getting paid.&lt;/p&gt;

&lt;p&gt;The quickest (and cheapest) way to learn is to either enroll in a Bootcamp or find a 1-on-1 coach. And if those options sound expensive, you're not factoring in your time.&lt;/p&gt;

&lt;p&gt;If you want to know how much your time costs, look up a junior salary and see how much they make per hour.&lt;/p&gt;

&lt;p&gt;I hope this helps. And if you want to read the full guide, check out the link below.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mixandgo.com/blog/how-to-pick-the-right-web-stack-and-level-up-quickly?utm_source=dev_to&amp;amp;utm_medium=organic&amp;amp;utm_campaign=the_right_stack&amp;amp;utm_content=post"&gt;How to Pick the Right Web Stack and Level Up Quickly&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>3 Reasons Ruby on Rails Is the Best Way to Start Learning Web Development in 2022</title>
      <dc:creator>Cezar Halmagean</dc:creator>
      <pubDate>Wed, 29 Dec 2021 13:58:23 +0000</pubDate>
      <link>https://dev.to/chalmagean/3-reasons-ruby-on-rails-is-the-best-way-to-start-learning-web-development-in-2022-31mh</link>
      <guid>https://dev.to/chalmagean/3-reasons-ruby-on-rails-is-the-best-way-to-start-learning-web-development-in-2022-31mh</guid>
      <description>&lt;p&gt;With so many new languages popping up everywhere, it's hard to decide which one to pick up or if Ruby on Rails is still a good choice in 2022.&lt;/p&gt;

&lt;p&gt;So if you're just starting out with learning how to code, or web development, or if you're leaning towards Ruby on Rails but you're not sure if it's a good choice, I hope this quick video will give you some answers.&lt;/p&gt;

&lt;p&gt;My name is Cezar and I've been using Ruby since 2008 to build all sorts of web applications, from simple apps to full-blown multi-million dollar ones.&lt;/p&gt;

&lt;p&gt;And today, I'm going to share with you 3 reasons why I think Ruby on Rails is still your best bet in 2022.&lt;/p&gt;

&lt;p&gt;Here's the Youtube version if you want to watch it instead.&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/GUP129t2Sl4"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Reason #1: Ruby Is Easy to Learn
&lt;/h2&gt;

&lt;p&gt;When you're getting started, there are so many unfamiliar concepts thrown at you that your biggest problem will be remembering them all. Not to mention understanding what each one means. So learning a language that has fewer of those is preferred.&lt;/p&gt;

&lt;p&gt;But that doesn't mean Ruby is less powerful. It's just that it was designed with the developer's experience in mind.&lt;/p&gt;

&lt;p&gt;You have to realize that the big factors at play here are confidence and consistency. If you can stick around and keep learning long enough, you're guaranteed to win.&lt;/p&gt;

&lt;p&gt;So what Ruby gives you, and in my opinion it does it better than other languages, is small wins very quickly, fewer unfamiliar concepts, and syntax that looks a lot like english.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reason #2: Helps You Learn Best Practices
&lt;/h2&gt;

&lt;p&gt;The second reason to learn Ruby on Rails is it holds your hand as you go through the process of figuring out how web development works.&lt;/p&gt;

&lt;p&gt;Namely it's a collection of best practices, and a lot industry conventions that are baked in for you to use from day one.&lt;/p&gt;

&lt;p&gt;With web development you can do the same thing in so many different ways, but Rails forces you to one tried and tested way that works best as a starting point. &lt;/p&gt;

&lt;p&gt;That means you'll be able to build perfectly good web applications even if you don't understand how everything fits together. You can figure that out later.&lt;/p&gt;

&lt;p&gt;That's how I learned Ruby. I started building web applications with Rails by copying what others have done, and then I slowly figured out how things work behind the scenes.&lt;/p&gt;

&lt;p&gt;Now this might not be the best way to learn programming, but it worked for me.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reason #3: Plenty of Jobs
&lt;/h2&gt;

&lt;p&gt;This one is probably important to you if you're watching this video.&lt;/p&gt;

&lt;p&gt;But rest assured that you'll find a lot of jobs for both Ruby and Rails. And once you get good at building web applications, most of those skills are transferable to other similar languages, like Python, or Javascript.&lt;/p&gt;

&lt;p&gt;So I wouldn't worry too much about this aspect because what's really important here is for you to get productive as quickly as possible. And both Ruby &amp;amp; Rails will help you do just that.&lt;/p&gt;

&lt;p&gt;I hope this helped.&lt;/p&gt;

</description>
      <category>rails</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
