<?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: Andy The Web Dev Queen</title>
    <description>The latest articles on DEV Community by Andy The Web Dev Queen (@webdevqueen).</description>
    <link>https://dev.to/webdevqueen</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%2F1624923%2Fcc0a064d-00d0-4cdd-ab00-5885243ee222.JPG</url>
      <title>DEV Community: Andy The Web Dev Queen</title>
      <link>https://dev.to/webdevqueen</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/webdevqueen"/>
    <language>en</language>
    <item>
      <title>3 reasons why I love Doctrine</title>
      <dc:creator>Andy The Web Dev Queen</dc:creator>
      <pubDate>Fri, 21 Jun 2024 14:33:04 +0000</pubDate>
      <link>https://dev.to/webdevqueen/3-reasons-why-i-love-doctrine-30f5</link>
      <guid>https://dev.to/webdevqueen/3-reasons-why-i-love-doctrine-30f5</guid>
      <description>&lt;p&gt;Doctrine is a powerful Object-Relational Mapper (ORM) for PHP, widely used in the Symfony framework but versatile enough to integrate with various other PHP applications. Personally, I use it with the PHP framework Nette which is widely used in Czechia where I'm based. Here are three reasons why I love Doctrine:&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Handling Database Entities as Objects
&lt;/h2&gt;

&lt;p&gt;One of the most compelling reasons I use Doctrine is its ability to handle database entities as objects. This object-oriented approach to database interaction offers several advantages:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Simplified Code&lt;/strong&gt;: With Doctrine, I can work with database records as if they were regular PHP objects. This eliminates the need for complex SQL queries and instead, I define entities as classes and map them to database tables. This not only makes my code more readable but also reduces the likelihood of SQL injection attacks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Seamless Data Manipulation&lt;/strong&gt;: Doctrine allows for seamless data manipulation through methods on entity objects. For example, instead of writing an SQL query to update a record, I can simply modify the properties of an entity and persist the changes. This abstraction layer makes my code cleaner and more maintainable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Relationships Management&lt;/strong&gt;: Handling relationships between entities (like one-to-many, many-to-many, one-to-one, etc.) becomes really straightforward with Doctrine. By defining relationships in my entity classes, I can effortlessly navigate between related records, making my data model more intuitive and reflective of the actual business logic.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Events
&lt;/h2&gt;

&lt;p&gt;Doctrine's event system is another feature that significantly enhances its flexibility and power. Events in Doctrine allow me to hook into the lifecycle of an entity and perform operations at specific points in time.&lt;/p&gt;

&lt;p&gt;Doctrine provides a set of predefined events such as &lt;code&gt;prePersist&lt;/code&gt;, &lt;code&gt;postPersist&lt;/code&gt;, &lt;code&gt;preUpdate&lt;/code&gt;, and &lt;code&gt;postUpdate&lt;/code&gt;. These events give me hooks to execute custom logic before or after an entity is persisted, updated, or removed. This is particularly useful for tasks like logging changes, sending notifications, or validating data before database operations. For example, I use events for &lt;code&gt;createdAt&lt;/code&gt; and &lt;code&gt;updatedAt&lt;/code&gt; parameters. This way I can keep the business logic decoupled from the entity operations. This separation of concerns leads to a more modular and maintainable codebase, as my entities remain focused on data representation while the event listeners handle additional logic.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Command Line Interface (CLI)
&lt;/h2&gt;

&lt;p&gt;Doctrine's CLI is a powerful tool that streamlines database management tasks and provides numerous commands that simplify the development process. Creating, updating, or removing entities has never been easier and it saves me a lot of time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Doctrine’s ability to handle database entities as objects, its powerful event system, and its comprehensive CLI tools make it an exceptional ORM for PHP developers. I cannot imagine a development without Doctrine anymore. Its features not only enhance my productivity but also contribute to writing clean, maintainable, and efficient code. Whether I am building a small application or a large enterprise system, Doctrine provides the tools and flexibility needed to manage my database interactions effectively.&lt;/p&gt;

&lt;p&gt;Do you use Doctrine in your projects? And why?&lt;/p&gt;

</description>
      <category>php</category>
      <category>doctrine</category>
      <category>database</category>
      <category>oop</category>
    </item>
    <item>
      <title>But you don't look like a web developer</title>
      <dc:creator>Andy The Web Dev Queen</dc:creator>
      <pubDate>Wed, 19 Jun 2024 16:23:02 +0000</pubDate>
      <link>https://dev.to/webdevqueen/but-you-dont-look-like-a-web-developer-27m6</link>
      <guid>https://dev.to/webdevqueen/but-you-dont-look-like-a-web-developer-27m6</guid>
      <description>&lt;p&gt;When you think of a web developer, what comes to your mind? Most people from my private life outside technology would describe such human as a man, often wearing glasses, hunched over a laptop in a dimly lit room, surrounded by empty coffee cups and energy drink cans. Maybe he’s an introvert, someone who’s more comfortable with code than with people, lacking in social skills and physical fitness. This stereotype is so ingrained in our collective consciousness that anyone who doesn’t fit this mold might be met with surprise, or even skepticism.&lt;/p&gt;

&lt;h2&gt;
  
  
  “But you don’t look like a web developer.”
&lt;/h2&gt;

&lt;p&gt;This phrase is something I hear almost every time I introduce myself as a web developer (sometimes even in the STEM environment, but mostly in private life). You see, I am a web developer, but I don’t fit the outdated stereotype. I’m a woman, nearly 30 years old, in good shape, and I like sports. I take pride in my appearance, use make up, get my nails done, and care for myself because I want to be attractive. Yet, my abilities and passion for web development are no less than anyone else’s.&lt;/p&gt;

&lt;p&gt;The image of the "ideal" web developer is not just a harmless stereotype; it’s a narrow definition that excludes the vast diversity within the tech community. The reality is that web developers come from all walks of life. They are men and women, young and old, extroverts and introverts, athletes and artists. Our skills and passions shouldn't be measured by our appearance or lifestyle choices, yet they still do.&lt;/p&gt;

&lt;p&gt;In fact, diversity in web development brings about a richer and more creative environment. Different perspectives lead to innovative solutions and more user-friendly products. When we cling to outdated stereotypes, we not only limit our view but also discourage many talented individuals who might feel they don’t belong.&lt;/p&gt;

&lt;p&gt;For me, being a web developer is about problem-solving, creativity, and continuous learning. It’s about staying curious and pushing the boundaries of what technology can do. It doesn’t require me to sacrifice my social life, neglect my physical health, or conform to an image that doesn’t represent who I am.&lt;/p&gt;

&lt;p&gt;I want to challenge the notion of what a web developer should look like. Next time you meet someone in tech, resist the urge to judge their capabilities based on their appearance. Instead, focus on their skills, passion, and the unique perspective they bring to the table.&lt;/p&gt;

&lt;p&gt;In a world where technology is constantly evolving, so too should our understanding of those who create it. Let’s embrace the diversity within our community and move beyond the stereotypes. After all, it’s not about how we look, but what we can build together.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>discuss</category>
      <category>career</category>
      <category>womenintech</category>
    </item>
    <item>
      <title>What it's like to be a woman developer</title>
      <dc:creator>Andy The Web Dev Queen</dc:creator>
      <pubDate>Fri, 14 Jun 2024 15:46:24 +0000</pubDate>
      <link>https://dev.to/webdevqueen/what-its-like-to-be-a-woman-developer-4d0</link>
      <guid>https://dev.to/webdevqueen/what-its-like-to-be-a-woman-developer-4d0</guid>
      <description>&lt;p&gt;As a woman developer, my journey in the tech industry has been a blend of unique challenges and rewarding experiences. Despite numerous initiatives promoting gender diversity, women, especially those in backend development roles, remain underrepresented. Here’s a glimpse into my personal experience navigating this male-dominated field.&lt;/p&gt;

&lt;h2&gt;
  
  
  The landscape of women in tech
&lt;/h2&gt;

&lt;p&gt;Before I even entered the tech world, I was already aware of the gender imbalance there. Breaking into this field was surrounded by societal stereotypes and a historical bias against women in STEM. Even my parents questioned my decision to study IT at the university when I told them for the first time. Even when I was A student in high school and there was a 99 % probability I would attend some university, they thought I would choose a different field, some "more feminine" field, such as medicine, law, or economics. They were kind of "shocked" by my choice of IT being the field of my future career. It's important to say that this was in 2014, 10 years ago.&lt;/p&gt;

&lt;p&gt;I would like to believe our society has evolved in the last 10 years but the data claim the opposite. Over the past decade, the ratio of women in tech positions has improved from around 20% to nearly 30%. While progress has been made, significant disparities remain, especially in specialized technical roles and leadership positions. &lt;/p&gt;

&lt;h2&gt;
  
  
  The team dynamic
&lt;/h2&gt;

&lt;p&gt;Thanks to the low ratio of women in tech, joining only male tech teams has been a common experience for me. I usually was the only woman on the team. Interestingly, I’ve found that my presence often brings a positive shift in team dynamics. I don't think it was personal since I am not special in comparison to any other woman in the world. I think that they were cheered up just by having 'some' feminine energy around them. Many of my male colleagues express genuine happiness and enthusiasm about having a woman on the team. This isn’t just about gender diversity on paper; it’s about the fresh perspectives and diverse approaches I bring to problem-solving and project management. Our team environment becomes more collaborative and inclusive, which benefits everyone involved.&lt;/p&gt;

&lt;h2&gt;
  
  
  Intellectual attraction
&lt;/h2&gt;

&lt;p&gt;One of the more intriguing aspects of my career is the intellectual curiosity I often spark among my male colleagues. Many men in the tech industry seem genuinely interested in women who can engage in technical discussions and share their expertise. This mutual respect for knowledge and skills has led to stronger professional relationships and a deeper appreciation for diverse viewpoints within the team.&lt;/p&gt;

&lt;h2&gt;
  
  
  Challenges and biases
&lt;/h2&gt;

&lt;p&gt;However, being a woman in tech isn’t without its challenges. I’ve faced implicit biases and stereotypes that have sometimes created obstacles in my career. There have been moments where I felt the need to prove my technical skills and knowledge repeatedly, more so than my male counterparts.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Being a woman developer in a male-dominated industry has its unique set of challenges and rewards. My journey has taught me the importance of resilience, support, and the power of diverse perspectives. Despite the difficulties, the impact that women like me have on tech teams and the industry as a whole is undeniable. By continuing to support and promote gender diversity in tech, we can create a more inclusive and innovative future. And personally, I think that men like working with tech-based women. As more women enter the tech workforce, our contributions not only enrich the industry but also pave the way for future generations of women developers.&lt;/p&gt;

</description>
      <category>womenintech</category>
      <category>career</category>
      <category>beginners</category>
      <category>discuss</category>
    </item>
  </channel>
</rss>
