<?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: Sorin Marta</title>
    <description>The latest articles on DEV Community by Sorin Marta (@sorinmarta).</description>
    <link>https://dev.to/sorinmarta</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%2F103367%2F24aca08d-8fe5-445d-b3c0-643c16eebe72.jpg</url>
      <title>DEV Community: Sorin Marta</title>
      <link>https://dev.to/sorinmarta</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sorinmarta"/>
    <language>en</language>
    <item>
      <title>The easiest way to do migrations in WordPress</title>
      <dc:creator>Sorin Marta</dc:creator>
      <pubDate>Fri, 09 Feb 2024 19:01:34 +0000</pubDate>
      <link>https://dev.to/sorinmarta/the-easiest-way-to-do-migrations-in-wordpress-1dl</link>
      <guid>https://dev.to/sorinmarta/the-easiest-way-to-do-migrations-in-wordpress-1dl</guid>
      <description>&lt;p&gt;I did lots of plugin migrations between WordPress plugins.&lt;/p&gt;

&lt;p&gt;WooCommerce to MemberPress, and vice-versa.&lt;/p&gt;

&lt;p&gt;LearnDash to LifterLMS, and vice-versa.&lt;/p&gt;

&lt;p&gt;And many others.&lt;/p&gt;

&lt;p&gt;In that process I was often faced with the issue of having to write scripts that would import data from custom CSVs to the WordPress database.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Not anymore!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I built a plugin that allows anyone to map data from CSVFiles to the WordPress database. The plugin is called &lt;strong&gt;&lt;a href="https://wordpress.org/plugins/csvmapper/"&gt;CSVMapper&lt;/a&gt;&lt;/strong&gt;. You can use it completely free from the WordPress repository. 🎇&lt;/p&gt;

&lt;p&gt;It allows you to add data as post meta, user meta, posts, or even custom tables.&lt;/p&gt;

&lt;p&gt;Please let me know if you guys have any feedback!&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>csv</category>
      <category>migration</category>
    </item>
    <item>
      <title>How Do We Structure Our Admin Pages in WordPress</title>
      <dc:creator>Sorin Marta</dc:creator>
      <pubDate>Thu, 01 Feb 2024 23:26:07 +0000</pubDate>
      <link>https://dev.to/sorinmarta/how-do-we-structure-our-admin-pages-in-wordpress-1mm4</link>
      <guid>https://dev.to/sorinmarta/how-do-we-structure-our-admin-pages-in-wordpress-1mm4</guid>
      <description>&lt;p&gt;Over the years, I've built lots of plugins, and every time, I had to code the structure of the administration pages from the WordPress dashboard.&lt;/p&gt;

&lt;p&gt;Most of the time, the plugins were &lt;em&gt;'client plugins'&lt;/em&gt;, meaning I was &lt;em&gt;hired&lt;/em&gt; to build them based on a brief.&lt;/p&gt;

&lt;p&gt;In that case, I didn't really have the freedom to design them how I see fit.&lt;/p&gt;

&lt;p&gt;But since I started publishing my own plugins through &lt;a href="https://tadamus.com"&gt;Tadamus&lt;/a&gt; &lt;strong&gt;I'm finally free to design and structure the pages as I see fit&lt;/strong&gt;. It all started with &lt;a href="https://tadamus.com/products/wp-fusion-slack"&gt;WP Fusion Slack&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;And here comes the problem that I want to discuss here&lt;/em&gt;. How do I prevent the repetitive task of implementing the same design structure for all the pages?&lt;/p&gt;

&lt;h2&gt;
  
  
  First steps
&lt;/h2&gt;

&lt;p&gt;The thought that came to mind was to use a front-end framework or library like &lt;a href="https://react.dev/"&gt;React&lt;/a&gt; or &lt;a href="https://svelte.dev/"&gt;Svelte&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;And since the block editor is based on React, I went for React. Although, my geek spirit still thinks I should have used Svelte 😅.&lt;/p&gt;

&lt;p&gt;At some point, I'll write a follow-up article on how I configured React, Babel, and Webpack to be able to create and render pages in the dashboard.&lt;/p&gt;

&lt;h2&gt;
  
  
  Introducing the WP UI
&lt;/h2&gt;

&lt;p&gt;Now, after choosing React, I had to refactor the components I created for the first admin page into a small library, which eventually got turned into an NPM package called &lt;a href="https://www.npmjs.com/package/@tadamus/wpui"&gt;WP UI&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;It can also be found in the &lt;a href="https://github.com/tadamuscom/wpui"&gt;Github repo&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;In it, I added everything I used on the first page, and since then, I have kept adding components that I thought I'd be using going forward.&lt;/p&gt;

&lt;p&gt;I did my best to keep the components as extendable as possible, so please feel free to check them out and let me know if you have any suggestions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Suggestions
&lt;/h2&gt;

&lt;p&gt;Currently, the package is in an initial phase. So, I'm open to any kind of feedback from you guys. So please let me know in the comments section or &lt;a href="https://tadamus.com/contact"&gt;our contact form&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;Also, if any of you guys think it would help you if I document the process of creating this library, please let me know. 🙂&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>webdev</category>
      <category>react</category>
      <category>plugindevelopment</category>
    </item>
    <item>
      <title>A special case of Impostor Syndrome</title>
      <dc:creator>Sorin Marta</dc:creator>
      <pubDate>Fri, 21 Sep 2018 22:26:16 +0000</pubDate>
      <link>https://dev.to/sorinmarta/a-special-case-of-impostor-syndrome-59i4</link>
      <guid>https://dev.to/sorinmarta/a-special-case-of-impostor-syndrome-59i4</guid>
      <description>

&lt;p&gt;Being a programmer isn't as easy as they say on the internet. And probably everyone here can approve that.&lt;/p&gt;

&lt;p&gt;Even if we love what we do as programmers, sometimes we are not as happy as we should be. A good reason for that is the Impostor Syndrome, that's a common problem for the developers who just started their way into the industry.&lt;/p&gt;

&lt;h2&gt;But first, what's up with this syndrome? Is it a mental problem or something?&lt;/h2&gt;

&lt;p&gt;Basically not, it's just a bad impression that we develop about ourselves. We under-estimate ourselves and we think that this isn't our place and we are not a good fit for this job.&lt;/p&gt;

&lt;p&gt;Usually, that's just in our mind, and we have to get over it in order to be a good programmer. But still, it might be a huge problem in our process of learning.&lt;/p&gt;

&lt;p&gt;Ok, in an another way of speaking let's see what &lt;a href="https://en.wikipedia.org/wiki/Impostor_syndrome"&gt;Wikipedia&lt;/a&gt; says about it:&lt;/p&gt;

&lt;p&gt;&lt;i&gt;"Impostor syndrome (also known as impostor phenomenon, impostorism, fraud syndrome or the impostor experience) is a psychological pattern in which an individual doubts their accomplishments and has a persistent internalized fear of being exposed as a "fraud"."&lt;/i&gt;&lt;/p&gt;

&lt;h2&gt;Ok, what's the special case?&lt;/h2&gt;

&lt;p&gt;Well... in my case, it doesn't really go away. I already have a few years of coding already, but still... I have moments when I feel like an impostor.&lt;/p&gt;

&lt;p&gt;And that's probably not just me, probably a lot of people got the same problem as I do but they don't talk about it.&lt;/p&gt;

&lt;p&gt;Probably in my case it became more intensive since we started &lt;a href="https://tadamus.com"&gt;Tadamus&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Those moments are really hard to pass, and if you are not a strong one it might make you stop.&lt;/p&gt;

&lt;h2&gt;What can be done?&lt;/h2&gt;

&lt;p&gt;Nothing, &lt;b&gt;ignore it&lt;/b&gt;. Keep on your track, work for your passion and for your future. Keep building awesome things or start building even more awesome things.&lt;/p&gt;

&lt;p&gt;Keep in mind that you are unique in your own way and whatever happens with your life, it was meant to happen and it will bring progress in one way or another.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Keep your head up and be prepared for that opportunity that's going to come!&lt;/b&gt;&lt;/p&gt;


</description>
      <category>impostorsyndrome</category>
      <category>health</category>
      <category>lifestyle</category>
      <category>codingproblems</category>
    </item>
  </channel>
</rss>
