<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PHP &#8211; Marcos Rego</title>
	<atom:link href="https://marcosrego.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>https://marcosrego.com</link>
	<description>Web Development</description>
	<lastBuildDate>Wed, 25 Dec 2024 23:35:07 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.1</generator>
	<item>
		<title>Rydoo</title>
		<link>https://marcosrego.com/websites/rydoo/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Sun, 25 Dec 2022 23:34:00 +0000</pubDate>
				<category><![CDATA[Websites]]></category>
		<category><![CDATA[Blade]]></category>
		<category><![CDATA[Jamstack]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Rydoo]]></category>
		<category><![CDATA[Sass]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=261</guid>

					<description><![CDATA[Since March 2020, I&#8217;ve been working for the Marketing Team at Rydoo. Although the core website was not made by me, I did together with the team lots of changes and improvements and as time went by the website embraced my signature. A technical signature, that has been fitting perfectly on the team&#8217;s vibe and [&#8230;]]]></description>
										<content:encoded><![CDATA[<span id="more-261"></span>
<!--noteaser-->



<figure class=" fixed-video_mobile mr-fadein  wp-block-video fixed-video_mobile mr-fadein"><video autoplay loop muted preload="none" src="https://marcosrego.com/wp-content/uploads/2021/08/rydoo_site_phone.mp4" playsinline></video></figure>



<figure class=" fixed-video_desktop mr-fadein  wp-block-video fixed-video_desktop mr-fadein"><video autoplay loop muted preload="none" src="https://marcosrego.com/wp-content/uploads/2021/08/rydoo_site_desktop.mp4" playsinline></video></figure>



<h2 class="wp-block-heading"><strong>Since March 2020, I&#8217;ve been working for the Marketing Team at Rydoo. </strong></h2>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="   wp-block-button"><a class="wp-block-button__link has-main-background-color-color has-main-text-color-background-color has-text-color has-background wp-element-button" href="https://www.rydoo.com/" target="_blank" rel="noreferrer noopener"><strong>Visit website</strong></a></div>
</div>



<p>Although the core website was not made by me, I did together with the team lots of changes and improvements and as time went by the website embraced my signature.</p>



<p>A technical signature, that has been fitting perfectly on the team&#8217;s vibe and knowhow, that I&#8217;m very happy to be part of.</p>



<p>We made the website more structured, scalable, optimized for search engines and easier to use by everyone involved.</p>



<p><strong>One key feature is the inclusion of different platforms inside the same environment and ecosystem.</strong><br><strong>Platforms such as:</strong></p>



<ul class="wp-block-list">
<li><strong>Marketplace</strong></li>



<li><strong>CFO Corner</strong></li>



<li><strong>Compliance Centre</strong></li>
</ul>



<p></p>



<figure class="    wp-block-gallery has-nested-images columns-1 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Home.png" target="_blank" rel="noopener"><img fetchpriority="high" decoding="async" width="1902" height="969" data-id="2728" src="https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Home.png" alt="Rydoo-Home" class="wp-image-2728" title="Rydoo Home - Rydoo" srcset="https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Home.png 1902w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Home-300x153.png 300w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Home-1024x522.png 1024w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Home-768x391.png 768w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Home-1536x783.png 1536w" sizes="(max-width: 1902px) 100vw, 1902px" /></a><figcaption class="wp-element-caption">Rydoo&#8217;s Homepage</figcaption></figure>



<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Marketplace.png" target="_blank" rel="noopener"><img decoding="async" width="1902" height="969" data-id="2724" src="https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Marketplace.png" alt="Rydoo-Marketplace" class="wp-image-2724" title="Rydoo Marketplace - Rydoo" srcset="https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Marketplace.png 1902w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Marketplace-300x153.png 300w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Marketplace-1024x522.png 1024w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Marketplace-768x391.png 768w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Marketplace-1536x783.png 1536w" sizes="(max-width: 1902px) 100vw, 1902px" /></a><figcaption class="wp-element-caption">Rydoo&#8217;s Marketplace</figcaption></figure>



<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-CFOCorner.png" target="_blank" rel="noopener"><img decoding="async" width="1902" height="969" data-id="2725" src="https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-CFOCorner.png" alt="Rydoo-CFOCorner" class="wp-image-2725" title="Rydoo CFOCorner - Rydoo" srcset="https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-CFOCorner.png 1902w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-CFOCorner-300x153.png 300w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-CFOCorner-1024x522.png 1024w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-CFOCorner-768x391.png 768w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-CFOCorner-1536x783.png 1536w" sizes="(max-width: 1902px) 100vw, 1902px" /></a><figcaption class="wp-element-caption">Rydoo&#8217;s CFO Corner</figcaption></figure>



<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Journeys.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" width="1902" height="969" data-id="2723" src="https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Journeys.png" alt="Rydoo-Journeys" class="wp-image-2723" title="Rydoo Journeys - Rydoo" srcset="https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Journeys.png 1902w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Journeys-300x153.png 300w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Journeys-1024x522.png 1024w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Journeys-768x391.png 768w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Journeys-1536x783.png 1536w" sizes="auto, (max-width: 1902px) 100vw, 1902px" /></a><figcaption class="wp-element-caption">Rydoo&#8217;s Journeys</figcaption></figure>



<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Compliance_Centre.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" width="1902" height="969" data-id="2727" src="https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Compliance_Centre.png" alt="Rydoo-Compliance_Centre" class="wp-image-2727" title="Rydoo Compliance Centre - Rydoo" srcset="https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Compliance_Centre.png 1902w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Compliance_Centre-300x153.png 300w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Compliance_Centre-1024x522.png 1024w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Compliance_Centre-768x391.png 768w, https://marcosrego.com/wp-content/uploads/2021/08/Rydoo-Compliance_Centre-1536x783.png 1536w" sizes="auto, (max-width: 1902px) 100vw, 1902px" /></a><figcaption class="wp-element-caption">Rydoo&#8217;s Compliance Centre</figcaption></figure>
</figure>
]]></content:encoded>
					
		
		<enclosure url="https://marcosrego.com/wp-content/uploads/2021/08/rydoo_site_phone.mp4" length="5417673" type="video/mp4" />
<enclosure url="https://marcosrego.com/wp-content/uploads/2021/08/rydoo_site_desktop.mp4" length="8530619" type="video/mp4" />

			</item>
		<item>
		<title>Please avoid these variables! Better practices&#8230;</title>
		<link>https://marcosrego.com/blog/variables-to-avoid/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Mon, 24 Oct 2022 21:00:14 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[For developers]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Sass]]></category>
		<category><![CDATA[Tips and tricks]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=2744</guid>

					<description><![CDATA[What is a variable? Variables are very handy strings that, as the name suggests, can vary or change one day. They can be called from many places and in many ways to be used and reused (depending on the coding language). What makes them handy is: When you need to change one, you only need [&#8230;]]]></description>
										<content:encoded><![CDATA[<span id="more-2744"></span>
<!--noteaser-->



<h2 class="wp-block-heading"><strong>What is a variable?</strong></h2>



<p>Variables are very handy strings that, as the name suggests, can vary or change one day. They can be called from many places and in many ways to be used and reused (depending on the coding language).</p>



<p>What makes them handy is: When you need to change one, you only need to change its value in one place, the new value will then pass to every location where you called the variable, by its name.</p>



<figure class="  wp-block-table is-style-stripes"><table><thead><tr><th class="has-text-align-center" data-align="center">Coding language</th><th class="has-text-align-center" data-align="center">Variable construction</th></tr></thead><tbody><tr><td class="has-text-align-center" data-align="center">CSS</td><td class="has-text-align-center" data-align="center">var(&#8211;name)</td></tr><tr><td class="has-text-align-center" data-align="center">SCSS &amp; PHP</td><td class="has-text-align-center" data-align="center">$name</td></tr><tr><td class="has-text-align-center" data-align="center">JavaScript</td><td class="has-text-align-center" data-align="center">var name<br>const name<br>let name</td></tr></tbody></table><figcaption class="wp-element-caption"><a href="https://en.wikipedia.org/wiki/Comparison_of_programming_languages_(basic_instructions)#Variable_and_constant_declarations" target="_blank" rel="noreferrer noopener">Here you&#8217;ll find</a> how to create and call variables on more coding languages.</figcaption></figure>



<div style="height:25px" aria-hidden="true" class="  wp-block-spacer"></div>



<h2 class="wp-block-heading"><strong>What to avoid in a variable name?</strong></h2>



<p>Even if a variable suggests a change, I see many times developers using names such as $white in SCSS or var(&#8211;white) in CSS. This for me doesn&#8217;t make any sense&#8230; How am I supposed to change to a value other than white? </p>



<p>Even if we can change the colour value, and it visually applies as expected, the code will be illegible. It will be read &#8220;white&#8221; when it isn&#8217;t. For example, it doesn&#8217;t make sense to have a #cecece on a $white variable.</p>



<p>It stops being a real variable.</p>



<p>It would be much better to call it $light, so it could be changed to any light colour on future design system changes. You might think this would still limit to a certain type of colour, and you are right, but at least it can vary as the name suggests. </p>



<p>And we could always take this to another level, call it $secondary_colour or $colourTertiary, so we could use any colour, making it future-proof as long as it&#8217;s not confused with the main/primary one.</p>



<p>We will recap with more examples below&#8230;</p>



<aside class="  wp-block-group sidebar has-main-text-color-color has-aside-background-color-background-color has-text-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<section class="wp-block-group has-main-text-color-color has-main-background-color-background-color has-text-color has-background"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<h3 class="   wp-block-heading has-main-text-color-color has-text-color"><strong>Do you need a website?</strong></h3>



<figure class="    wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="538" src="https://marcosrego.com/wp-content/uploads/2021/07/store-marcosrego-opengraph-1024x538.png" alt="Marcos Rego Store Opengraph Image" class="wp-image-1021" title="store marcosrego opengraph - Please avoid these variables! Better practices..." srcset="https://marcosrego.com/wp-content/uploads/2021/07/store-marcosrego-opengraph-1024x538.png 1024w, https://marcosrego.com/wp-content/uploads/2021/07/store-marcosrego-opengraph-300x158.png 300w, https://marcosrego.com/wp-content/uploads/2021/07/store-marcosrego-opengraph-768x403.png 768w, https://marcosrego.com/wp-content/uploads/2021/07/store-marcosrego-opengraph.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="  has-main-text-color-color has-text-color">If you need a <strong>website</strong>, you can check the <strong><a href="https://marcosrego.com/client-area/shop/" data-type="post" data-id="673">Shop</a></strong> on the <strong><a href="https://marcosrego.com/./client-area/" data-type="category" data-id="52">Client Area</a></strong> and get an estimation of the development cost. <strong>Pay only 20%</strong>, until the website is ready.</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="   wp-block-button"><a class="wp-block-button__link has-invert-color-color has-link-color-background-color has-text-color has-background wp-element-button" href="https://marcosrego.com/client-area/shop/"><strong>go to THE SHOP</strong></a></div>
</div>
</div></section>
</div></aside>



<div style="height:25px" aria-hidden="true" class="  wp-block-spacer"></div>



<h2 class="wp-block-heading"><strong>Use a standard method on the names</strong></h2>



<p>Be consistent when giving a name, stick to one method on all your coding or, at least, depending on the code language.</p>



<p>On PHP, it is typical to use <strong>underscores</strong> on variables with two or more words, on JavaScript the <strong>camel case</strong> method is more typical and on CSS the hyphen.</p>



<p>But if you can stick with only one method on all coding languages, it&#8217;s even better, I would say.</p>



<p>My favourite nowadays is camel case, so something like this: $colourPrimary.</p>



<div style="height:25px" aria-hidden="true" class="  wp-block-spacer"></div>



<h2 class="wp-block-heading"><strong>Make it scalable with a convention!</strong></h2>



<p>Another tip, but very optional, is to set a <strong>convention</strong> to make the variables more <strong>scalable</strong>.</p>



<p>For instance, start the name with the property type and only then the actual name in camel case. In this situation, you can even combine underscores with camel cases. Here&#8217;s what I mean: </p>



<ul class="wp-block-list">
<li>$colour_PrimaryLight.</li>



<li>$size_Spacing2 (don&#8217;t use &#8220;margin&#8221; on the name, that way you can reuse that size on paddings and font-sizes).</li>



<li>$size_font_TitleBig (create another &#8220;layer&#8221; to say that this specific size is to be used only for text).</li>
</ul>



<p>This will avoid conflicts, mistakes and make certain variables easier to find when you have a lot of them.</p>



<div style="height:25px" aria-hidden="true" class="  wp-block-spacer"></div>



<h2 class="wp-block-heading"><strong>Quick recap</strong></h2>



<figure class="  wp-block-table is-style-stripes"><table><thead><tr><th class="has-text-align-center" data-align="center">Avoid</th><th class="has-text-align-center" data-align="center">Regular name</th><th class="has-text-align-center" data-align="center">Better name <br>(future-proof)</th></tr></thead><tbody><tr><td class="has-text-align-center" data-align="center"><s>white</s></td><td class="has-text-align-center" data-align="center">light</td><td class="has-text-align-center" data-align="center">colour_TertiaryLight</td></tr><tr><td class="has-text-align-center" data-align="center"><s>margin150</s></td><td class="has-text-align-center" data-align="center">margin2</td><td class="has-text-align-center" data-align="center">size_Spacing2</td></tr></tbody></table></figure>



<div style="height:25px" aria-hidden="true" class="  wp-block-spacer"></div>



<h2><b>Comments</b></h2>
<div id="disqus_thread"></div>
<script>
if(mrGetCookie('cookielawinfo-checkbox-functional') == 'yes') {
    var disqus_config = function () {
        this.page.url = (location.protocol+'//'+location.host+location.pathname).replace("/account/", "/");
        this.page.identifier = document.querySelector("article").id.replace("post-", "");
    };
    
    (function() {
    var d = document, s = d.createElement('script');
    s.src = 'https://marcosrego-web.disqus.com/embed.js';
    s.setAttribute('data-timestamp', +new Date());
    (d.head || d.body).appendChild(s);
    })();
} else {
    document.querySelector('#disqus_thread').innerHTML = 'You cannot view or add comments because you did not consent to the use of functional cookies: <a class="  cli_manage_current_consent" style="cursor:pointer;">Manage your consent.</a>';
}
</script>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Mr.Dev.&#8217;s Framework</title>
		<link>https://marcosrego.com/development/mrdev-framework/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Mon, 01 Nov 2021 10:31:00 +0000</pubDate>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Mr.Dev.]]></category>
		<category><![CDATA[Mr.Dev.'s Framework]]></category>
		<category><![CDATA[Mr.Utils]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=403</guid>

					<description><![CDATA[Mr.Dev. is your provider of developing tools! He gives you a theme framework with optional features and add-ons that extend the natural workflow of WordPress. How? This framework focus exclusively on adding optional functionalities that WordPress doesn&#8217;t bring by default in its interface, avoiding bloating even more the system. Because those are all optional, you [&#8230;]]]></description>
										<content:encoded><![CDATA[<span id="more-403"></span>
<!--noteaser-->



<figure class=" fixed-video_mobile mr-fadein  wp-block-video fixed-video_mobile mr-fadein"><video autoplay loop muted preload="none" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_mobile.mp4" playsinline></video></figure>



<figure class=" fixed-video_desktop mr-fadein  wp-block-video fixed-video_desktop mr-fadein"><video autoplay loop muted preload="none" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_desktop.mp4" playsinline></video></figure>



<h2 class="wp-block-heading" id="mr-dev-is-your-provider-of-developing-tools"><strong>Mr.Dev. is your provider of developing tools!</strong></h2>



<h3 class="  wp-block-heading" id="he-gives-you-a-theme-framework-with-optional-features-and-add-ons-that-extend-the-natural-workflow-of-wordpress"><strong>He gives you a theme framework with optional features and add-ons that extend the natural workflow of WordPress.</strong></h3>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="   wp-block-button"><a class="wp-block-button__link has-invert-color-color has-link-color-background-color has-text-color has-background wp-element-button" href="https://marcosrego.com/client-area/downloads/?product=mrdevs-framework"><strong>Get it now</strong></a></div>



<div class="   wp-block-button"><a class="wp-block-button__link has-main-background-color-color has-main-text-color-background-color has-text-color has-background wp-element-button" href="#features">Features</a></div>



<div class="   wp-block-button"><a class="wp-block-button__link has-main-background-color-color has-main-text-color-background-color has-text-color has-background wp-element-button" href="#all-framework-features-work-with-any-theme">STARTER THEME</a></div>
</div>



<div style="height:25px" aria-hidden="true" class="  wp-block-spacer"></div>



<div style="height:25px" aria-hidden="true" class="  wp-block-spacer"></div>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-1 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 class="  wp-block-heading" id="how"><strong>How?</strong></h4>



<p><strong>This framework focus exclusively on adding <a href="#features">optional functionalities</a> that WordPress doesn&#8217;t bring by default in its interface, avoiding bloating even more the system.</strong></p>



<p>Because those are all optional, you the developer can decide and control which <a href="#features">features</a> are needed on a project basis. This also helps your clients to easily navigate the backend and customize the site with the options that you want them to see.</p>



<div style="height:25px" aria-hidden="true" class="  wp-block-spacer"></div>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<h4 class="  wp-block-heading" id="why"><strong>Why?</strong></h4>



<p>WordPress already comes with the blocks editor. When you add a legacy theme or a site builder you increase the bloat of the system.</p>



<p>They usually come full of features <em>(many times repeated ones)</em>, adding extra layers, changing the original workflow and decreasing the overall speed and longevity. <strong>That&#8217;s why it&#8217;s important to have a light framework that focus on <a href="#features">optional extensions</a> only.</strong></p>



<div style="height:25px" aria-hidden="true" class="  wp-block-spacer"></div>
</div>
</div>



<h3 class="  wp-block-heading" id="features"><strong>Which features are available?</strong></h3>



<figure class="   wp-block-gallery has-nested-images columns-1 wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_configuration.jpg"><img loading="lazy" decoding="async" width="1024" height="693" data-id="954" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_configuration-1024x693.jpg" alt="Mr.Dev.&#039;s Framework - Configuration page" class="wp-image-954" title="mrdev framework configuration - Mr.Dev.&#039;s Framework" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_configuration-1024x693.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_configuration-300x203.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_configuration-768x520.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_configuration.jpg 1342w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Enable only the options that you need on the configuration page. Including a maintenance mode and the use of Mr.Utils (CSS classes and JS functions).</figcaption></figure>



<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_styles.jpg"><img loading="lazy" decoding="async" width="1024" height="693" data-id="958" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_styles-1024x693.jpg" alt="Mr.Dev.&#039;s Framework - Styles" class="wp-image-958" title="mrdev framework styles - Mr.Dev.&#039;s Framework" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_styles-1024x693.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_styles-300x203.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_styles-768x520.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_styles.jpg 1342w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Optionally use the plugin settings, the customizer or the block editor, to control global colors (with light and dark mode support), fonts, sizes and breakpoints everywhere.</figcaption></figure>



<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_files.jpg"><img loading="lazy" decoding="async" width="1024" height="693" data-id="956" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_files-1024x693.jpg" alt="Mr.Dev.&#039;s Framework - Files page" class="wp-image-956" title="mrdev framework files - Mr.Dev.&#039;s Framework" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_files-1024x693.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_files-300x203.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_files-768x520.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_files.jpg 1342w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Optionally add files or external urls, choose where and when to load each one <em>(on a specific page, posts, blog, category)</em> and edit them directly in WordPress with the default plugins editor.</figcaption></figure>



<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_media.jpg"><img loading="lazy" decoding="async" width="1024" height="693" data-id="1331" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_media-1024x693.jpg" alt="Mr.Dev.&#039;s Framework - Media" class="wp-image-1331" title="mrdev framework media - Mr.Dev.&#039;s Framework" srcset="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_media-1024x693.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_media-300x203.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_media-768x520.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_media.jpg 1342w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Optionally create more sizes to your images (scaled or cropped). Those sizes will appear on the srcset and also on the block and classic editors.</figcaption></figure>
</figure>



<h3 class="  wp-block-heading" id="all-framework-features-work-with-any-theme"><strong>All framework features work with any theme!</strong></h3>



<p>But if you want to start from scratch and focus on the features given by the framework, then <strong>Mr.Dev. gives you a boilerplate theme</strong> that you can use.</p>



<p>Despite being a boilerplate, you can develop complete websites without needing to add or edit the base code, that&#8217;s thanks to the features of the Framework together with the block editor.</p>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-2 wp-block-columns-is-layout-flex">
<div class="  wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:30%">
<figure class="    wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="768" src="https://marcosrego.com/wp-content/uploads/2021/11/screenshot-1024x768.png" alt="Mr.Dev.&#039;s Theme Screenshot" class="wp-image-2481" title="screenshot - Mr.Dev.&#039;s Framework" srcset="https://marcosrego.com/wp-content/uploads/2021/11/screenshot-1024x768.png 1024w, https://marcosrego.com/wp-content/uploads/2021/11/screenshot-300x225.png 300w, https://marcosrego.com/wp-content/uploads/2021/11/screenshot-768x576.png 768w, https://marcosrego.com/wp-content/uploads/2021/11/screenshot.png 1200w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>



<div class="  wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:70%">
<p>The <a href="https://marcosrego.com/client-area/downloads/?product=theme-mrdevtheme">Mr.Dev&#8217;s Theme</a> is a boilerplate that <strong>works with the default Full Site Editor</strong>. By joining the Framework, you can control the default styles that appear on the FSE and you&#8217;ll be up to date with all the new features that are coming to WordPress.</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="   wp-block-button"><a class="wp-block-button__link has-main-background-color-color has-main-text-color-background-color has-text-color has-background wp-element-button" href="https://marcosrego.com/client-area/downloads/?product=theme-mrdevtheme">DOWNLOAD</a></div>



<div class="   wp-block-button"><a class="wp-block-button__link has-main-background-color-color has-main-text-color-background-color has-text-color has-background wp-element-button" href="https://github.com/marcosrego-web/mrdev-theme#mrdevs-theme" target="_blank" rel="noreferrer noopener">+INFO</a></div>
</div>
</div>
</div>



<div style="height:76px" aria-hidden="true" class="  wp-block-spacer"></div>



<div class="wp-block-buttons is-content-justification-left is-layout-flex wp-container-core-buttons-is-layout-5 wp-block-buttons-is-layout-flex">
<div class="   wp-block-button"><a class="wp-block-button__link has-invert-color-color has-link-color-background-color has-text-color has-background wp-element-button" href="https://marcosrego.com/client-area/downloads/?product=mrdevs-framework"><strong>Get THE FRAMEWORK</strong></a></div>
</div>



]]></content:encoded>
					
		
		<enclosure url="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_mobile.mp4" length="2539458" type="video/mp4" />
<enclosure url="https://marcosrego.com/wp-content/uploads/2021/06/mrdev-framework_desktop.mp4" length="2424924" type="video/mp4" />

			</item>
		<item>
		<title>FlipBook Block</title>
		<link>https://marcosrego.com/development/flipbook-block/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Fri, 20 Aug 2021 00:00:00 +0000</pubDate>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Block editor]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[FlipBook]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[React]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=2905</guid>

					<description><![CDATA[Let your visitors turn the pages! FlipBook Block is a simple yet effective WordPress block that shows a PDF from your Media in a Flip Book.]]></description>
										<content:encoded><![CDATA[<span id="more-2905"></span>
<!--noteaser-->



<figure class=" fixed-video_mobile mr-fadein  wp-block-video fixed-video_mobile mr-fadein"><video autoplay loop muted preload="none" src="https://marcosrego.com/wp-content/uploads/2023/01/flipbook-block_phone.mp4" playsinline></video></figure>



<figure class=" fixed-video_desktop mr-fadein  wp-block-video fixed-video_desktop mr-fadein"><video autoplay loop muted preload="none" src="https://marcosrego.com/wp-content/uploads/2023/01/flipbook-block_desktop.mp4" playsinline></video></figure>



<h2 class="wp-block-heading" id="mr-dev-is-your-provider-of-developing-tools"><strong>Let your visitors turn the pages!</strong></h2>



<h3 class="  wp-block-heading" id="he-gives-you-a-powerful-wordpress-widget-to-display-your-content-with-many-customizable-layouts-and-options">FlipBook Block is a simple yet effective WordPress block that shows a PDF from your Media in a Flip Book.</h3>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="   wp-block-button"><a class="wp-block-button__link has-invert-color-color has-link-color-background-color has-text-color has-background wp-element-button" href="https://marcosrego.com/client-area/downloads/?product=flipbook-block"><strong>Get it now (free)</strong></a></div>
</div>
]]></content:encoded>
					
		
		<enclosure url="https://marcosrego.com/wp-content/uploads/2023/01/flipbook-block_phone.mp4" length="1268494" type="video/mp4" />
<enclosure url="https://marcosrego.com/wp-content/uploads/2023/01/flipbook-block_desktop.mp4" length="231121" type="video/mp4" />

			</item>
		<item>
		<title>Mr.Dev.&#8217;s Widget</title>
		<link>https://marcosrego.com/development/mrdev-widget/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Thu, 19 Aug 2021 23:50:29 +0000</pubDate>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Mr.Dev.]]></category>
		<category><![CDATA[Mr.Dev.'s Widget]]></category>
		<category><![CDATA[Mr.Utils]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=574</guid>

					<description><![CDATA[Mr.Dev. is your provider of developing tools! He gives you a powerful WordPress widget to display your content with many customizable layouts and options.]]></description>
										<content:encoded><![CDATA[<span id="more-574"></span>
<!--noteaser-->



<figure class=" fixed-video_mobile mr-fadein  wp-block-video fixed-video_mobile mr-fadein"><video autoplay loop muted preload="none" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdevwidget_phone.mp4" playsinline></video></figure>



<figure class=" fixed-video_desktop mr-fadein  wp-block-video fixed-video_desktop mr-fadein"><video autoplay loop muted preload="none" src="https://marcosrego.com/wp-content/uploads/2021/06/mrdevwidget_desktop.mp4" playsinline></video></figure>



<h2 class="wp-block-heading" id="mr-dev-is-your-provider-of-developing-tools"><strong>Mr.Dev. is your provider of developing tools!</strong></h2>



<h3 class="  wp-block-heading" id="he-gives-you-a-powerful-wordpress-widget-to-display-your-content-with-many-customizable-layouts-and-options"><strong>He gives you a powerful WordPress widget to display your content with many customizable layouts and options.</strong></h3>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="   wp-block-button"><a class="wp-block-button__link has-invert-color-color has-link-color-background-color has-text-color has-background wp-element-button" href="https://marcosrego.com/client-area/downloads/?product=mrdevs-widget"><strong>Get it now (free)</strong></a></div>



<div class="   wp-block-button"><a class="wp-block-button__link has-main-background-color-color has-main-text-color-background-color has-text-color has-background wp-element-button" href="https://marcosrego.com/mrdev-widget-module-themes/">themes &amp; layouts</a></div>



<div class="   wp-block-button"><a class="wp-block-button__link has-main-background-color-color has-main-text-color-background-color has-text-color has-background wp-element-button" href="https://marcosrego.com/mrdev-widget-module-features/">features</a></div>
</div>
]]></content:encoded>
					
		
		<enclosure url="https://marcosrego.com/wp-content/uploads/2021/06/mrdevwidget_desktop.mp4" length="1035711" type="video/mp4" />
<enclosure url="https://marcosrego.com/wp-content/uploads/2021/06/mrdevwidget_phone.mp4" length="8592552" type="video/mp4" />

			</item>
		<item>
		<title>editor4roks</title>
		<link>https://marcosrego.com/development/editor4roks/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Sat, 12 Jun 2021 17:08:00 +0000</pubDate>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=885</guid>

					<description><![CDATA[If you use Roksprocket then you should add editor4roks, it will make the widget/module more friendly for anyone editing on it! With editor4roks the descriptions will have a WYSIWYG editor, to be easier to edit and links easier to put directly on the modules/widgets. Tested on Joomla with the editors: TinyMCE, JCE and an included [&#8230;]]]></description>
										<content:encoded><![CDATA[<span id="more-885"></span>
<!--noteaser-->



<figure class=" fixed-video_mobile mr-fadein  wp-block-video fixed-video_mobile mr-fadein"><video autoplay loop muted preload="none" src="https://marcosrego.com/wp-content/uploads/2021/06/editor4roks-wordpress_phone.mp4" playsinline></video></figure>



<figure class=" fixed-video_desktop mr-fadein  wp-block-video fixed-video_desktop mr-fadein"><video autoplay loop muted preload="none" src="https://marcosrego.com/wp-content/uploads/2021/06/editor4roks-joomla_desktop.mp4" playsinline></video></figure>



<h2 class="wp-block-heading" id="if-you-use-roksprocket-then-you-should-add-editor4roks-it-will-make-the-widget-module-more-friendly-for-anyone-editing-on-it"><strong>If you use <a href="https://rockettheme.com/joomla/extensions/roksprocket" target="_blank" rel="noreferrer noopener nofollow">Roksprocket</a> then you should add editor4roks, it will make the widget/module more friendly for anyone editing on it</strong>!</h2>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="   wp-block-button"><a class="wp-block-button__link has-invert-color-color has-link-color-background-color has-text-color has-background wp-element-button" href="https://marcosrego.com/client-area/downloads/?product=editor4roks"><strong>Get it now (free)</strong></a></div>
</div>



<h3 class="  wp-block-heading" id="with-editor4roks-the-descriptions-will-have-a-wysiwyg-editor-to-be-easier-to-edit-and-links-easier-to-put-directly-on-the-modules-widgets"><strong>With editor4roks the descriptions will have a WYSIWYG editor, to be easier to edit and links easier to put directly on the modules/widgets.</strong></h3>



<p>Tested on <strong><a href="https://marcosrego.com/tag/joomla/" data-type="post_tag" data-id="46">Joomla</a></strong> with the editors: TinyMCE, JCE and an included NicEdit.<br>Tested on <strong><a href="https://marcosrego.com/tag/wordpress/" data-type="post_tag" data-id="23">WordPress</a></strong> with the editors: TinyMCE, TinyMCE Advanced and an included NicEdit.<br>This is not an official plugin of RocketTheme.</p>
]]></content:encoded>
					
		
		<enclosure url="https://marcosrego.com/wp-content/uploads/2021/06/editor4roks-wordpress_phone.mp4" length="304263" type="video/mp4" />
<enclosure url="https://marcosrego.com/wp-content/uploads/2021/06/editor4roks-joomla_desktop.mp4" length="252999" type="video/mp4" />

			</item>
		<item>
		<title>Itemzero</title>
		<link>https://marcosrego.com/websites/itemzero/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Sat, 10 Apr 2021 18:38:50 +0000</pubDate>
				<category><![CDATA[Websites]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[eCommerce]]></category>
		<category><![CDATA[Freelance]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Mr.Dev.]]></category>
		<category><![CDATA[Mr.Dev.'s Framework]]></category>
		<category><![CDATA[Mr.Dev.'s Widget]]></category>
		<category><![CDATA[Mr.Utils]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Store]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=1</guid>

					<description><![CDATA[Portfolio and eCommerce website developed for Itemzero, a design studio specialized in the intersection between technology, information design and editorial design. This project is heavily powered by Mr.Dev. and it&#8217;s the perfect showcase of what is possible to do when combining his framework with his frontend toolkit. The framework allowed the use of the block [&#8230;]]]></description>
										<content:encoded><![CDATA[<span id="more-1"></span>
<!--noteaser-->



<figure class=" fixed-video_mobile mr-fadein  wp-block-video fixed-video_mobile mr-fadein"><video autoplay loop muted preload="none" src="https://marcosrego.com/wp-content/uploads/2021/06/itemzero-site_mobile.mp4" playsinline></video></figure>



<figure class=" fixed-video_desktop mr-fadein  wp-block-video fixed-video_desktop mr-fadein"><video autoplay loop muted preload="none" src="https://marcosrego.com/wp-content/uploads/2021/06/itemzero-site_desktop.mp4" playsinline></video></figure>



<h2 class="wp-block-heading"><strong>Portfolio and eCommerce website developed for Itemzero, a design studio specialized in the intersection between technology, information design and editorial design.</strong></h2>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="   wp-block-button"><a class="wp-block-button__link has-main-background-color-color has-main-text-color-background-color has-text-color has-background wp-element-button" href="https://shop.itemzero.com/" target="_blank" rel="noreferrer noopener"><strong>Visit website</strong></a></div>
</div>



<p>This project is heavily powered by Mr.Dev. and it&#8217;s the perfect showcase of what is possible to do when combining <a href="https://marcosrego.com/development/mrdev-framework/" data-type="post" data-id="278">his framework</a> with <a href="https://marcosrego.com/development/mr-utils/" data-type="post" data-id="473">his frontend toolkit</a>.</p>



<p>The framework allowed the use of the block editor on WooCommerce product pages.<br>The frontend toolkit (Mr.Utils) allowed to make specific customizations and to easily use components such as sliders and tabs inside the block editor.</p>



<p>And because this website uses those plugins that I developed, some other plugins that I selected and because I manage this website&#8217;s server + domain, <strong>Itemzero&#8217;s score on Google Pagespeed Insights shows excellent results</strong>.</p>



<figure class="   wp-block-gallery has-nested-images columns-1 is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2021/04/itemzero-pagespeed-score_jan-2022.jpg"><img loading="lazy" decoding="async" width="1024" height="485" data-id="2385" src="https://marcosrego.com/wp-content/uploads/2021/04/itemzero-pagespeed-score_jan-2022-1024x485.jpg" alt="itemzero pagespeed score jan-2022" class="wp-image-2385" title="itemzero pagespeed score jan 2022 - Itemzero" srcset="https://marcosrego.com/wp-content/uploads/2021/04/itemzero-pagespeed-score_jan-2022-1024x485.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/04/itemzero-pagespeed-score_jan-2022-300x142.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/04/itemzero-pagespeed-score_jan-2022-768x364.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/04/itemzero-pagespeed-score_jan-2022-1536x727.jpg 1536w, https://marcosrego.com/wp-content/uploads/2021/04/itemzero-pagespeed-score_jan-2022.jpg 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Itemzero&#8217;s product page score on January 2022 according to Google Pagespeed Insights. <a href="https://pagespeed.web.dev/report?url=https%3A%2F%2Fshop.itemzero.com%2Fproducts%2Fthe-book-cover%2F" target="_blank" data-type="URL" data-id="https://pagespeed.web.dev/report?url=https%3A%2F%2Fshop.itemzero.com%2Fproducts%2Fthe-book-cover%2F" rel="noreferrer noopener">Recheck the score</a></figcaption></figure>



<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-select_toggle.jpg"><img loading="lazy" decoding="async" width="1024" height="577" data-id="1610" src="https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-select_toggle-1024x577.jpg" alt="Itemzero product variations uses Mr.Dev.&#039;s Widget" class="wp-image-1610" title="itemzero mrdev widget select toggle - Itemzero" srcset="https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-select_toggle-1024x577.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-select_toggle-300x169.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-select_toggle-768x432.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-select_toggle-1536x865.jpg 1536w, https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-select_toggle.jpg 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Itemzero&#8217;s product variations for typefaces are presented using Mr.Utils pagination options with the select dropdown as toggle.</figcaption></figure>



<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-radio_toggle.jpg"><img loading="lazy" decoding="async" width="1024" height="574" data-id="1609" src="https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-radio_toggle-1024x574.jpg" alt="Itemzero product testimonials uses Mr.Dev.&#039;s radio buttons as pagination toggle" class="wp-image-1609" title="itemzero mrdev widget radio toggle - Itemzero" srcset="https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-radio_toggle-1024x574.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-radio_toggle-300x168.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-radio_toggle-768x430.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-radio_toggle-1536x861.jpg 1536w, https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-radio_toggle.jpg 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Itemzero&#8217;s product testimonials uses Mr.Utils radio buttons as pagination toggle.</figcaption></figure>



<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-tabs.jpg"><img loading="lazy" decoding="async" width="1024" height="572" data-id="1611" src="https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-tabs-1024x572.jpg" alt="Itemzero&#039;s shop uses tabs" class="wp-image-1611" title="itemzero mrdev widget tabs - Itemzero" srcset="https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-tabs-1024x572.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-tabs-300x168.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-tabs-768x429.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-tabs-1536x858.jpg 1536w, https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-tabs.jpg 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Itemzero&#8217;s shop uses tabs from Mr.Utils components.</figcaption></figure>



<figure class="     wp-block-image size-large"><a href="https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-woocommerce.jpg"><img loading="lazy" decoding="async" width="1024" height="576" data-id="1607" src="https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-woocommerce-1024x576.jpg" alt="Itemzero promotions for the Book Cover using Mr.Dev.&#039;s widget" class="wp-image-1607" title="itemzero mrdev widget woocommerce - Itemzero" srcset="https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-woocommerce-1024x576.jpg 1024w, https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-woocommerce-300x169.jpg 300w, https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-woocommerce-768x432.jpg 768w, https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-woocommerce-1536x864.jpg 1536w, https://marcosrego.com/wp-content/uploads/2021/04/itemzero-mrdev_widget-woocommerce.jpg 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Itemzero&#8217;s Shop uses <a href="https://marcosrego.com/development/mrdev-widget/" data-type="post" data-id="574">Mr.Dev.&#8217;s Widget</a> compatibility with WooCommerce.</figcaption></figure>
</figure>
]]></content:encoded>
					
		
		<enclosure url="https://marcosrego.com/wp-content/uploads/2021/06/itemzero-site_mobile.mp4" length="5264819" type="video/mp4" />
<enclosure url="https://marcosrego.com/wp-content/uploads/2021/06/itemzero-site_desktop.mp4" length="5830365" type="video/mp4" />

			</item>
		<item>
		<title>Fazer</title>
		<link>https://marcosrego.com/websites/fazer/</link>
		
		<dc:creator><![CDATA[Marcos Rego]]></dc:creator>
		<pubDate>Sat, 10 Apr 2021 18:11:00 +0000</pubDate>
				<category><![CDATA[Websites]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[eCommerce]]></category>
		<category><![CDATA[Freelance]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Mr.Dev.]]></category>
		<category><![CDATA[Mr.Dev.'s Framework]]></category>
		<category><![CDATA[Mr.Utils]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://marcosrego.com/?p=2940</guid>

					<description><![CDATA[Fazer is a new Portuguese magazine about design, their eCommerce website was designed by Carvalho Bernau and developed by me. The development of this project showcases perfectly the combined power of WordPress&#8216; block editor, with Mr.Dev.&#8217;s Framework, Mr.Dev&#8217;s Theme, Mr.Utils and some custom code. Mr.Dev.&#8217;s Theme is a boilerplate theme, that allowed using all the [&#8230;]]]></description>
										<content:encoded><![CDATA[<span id="more-2940"></span>
<!--noteaser-->



<figure class=" fixed-video_mobile mr-fadein  wp-block-video fixed-video_mobile mr-fadein"><video autoplay loop muted preload="none" src="https://marcosrego.com/wp-content/uploads/2021/04/fazer_site_phone-1.mp4" playsinline></video></figure>



<figure class=" fixed-video_desktop mr-fadein  wp-block-video fixed-video_desktop mr-fadein"><video autoplay loop muted preload="none" src="https://marcosrego.com/wp-content/uploads/2021/04/fazer_site_desktop-1.mp4" playsinline></video></figure>



<h2 class="wp-block-heading"><strong>Fazer is a new Portuguese magazine about design, their eCommerce website was designed by <a href="http://carvalho-bernau.com/" data-type="URL" data-id="http://carvalho-bernau.com/" target="_blank" rel="noreferrer noopener nofollow">Carvalho Bernau</a> and developed by me.</strong></h2>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="   wp-block-button"><a class="wp-block-button__link has-main-background-color-color has-main-text-color-background-color has-text-color has-background wp-element-button" href="https://fazer.design/" target="_blank" rel="noreferrer noopener"><strong>Visit website</strong></a></div>
</div>



<p>The development of this project showcases perfectly the combined power of <a href="/account/tag/wordpress/">WordPress</a>&#8216; block editor, with Mr.Dev.&#8217;s Framework, Mr.Dev&#8217;s Theme, Mr.Utils and some custom code.</p>



<p><a href="/account/development/mrdev-framework/#all-framework-features-work-with-any-theme">Mr.Dev.&#8217;s Theme</a> is a boilerplate theme, that allowed using all the features of the block editor on WooCommerce pages (including products and templates), while having the default colors managed from Mr.Dev.&#8217;s Framework.</p>



<p><a href="https://marcosrego.com/development/mr-utils/" data-type="post" data-id="473">Mr.Utils</a> with <a href="https://marcosrego.com/development/mrdev-framework/" data-type="post" data-id="403">Mr.Dev.&#8217;s Framework</a>, added extra style options to the block editor including custom utility classes. That was very handy to define variables to all sizes (font-sizes, padding, margins, etc) and have them editable from one unique place in the backend if needed.</p>



<p>For all the custom code, I used the <a href="/account/development/mrdev-framework/#features">file manager of Mr.Dev.&#8217;s Framework</a> to select where to load each CSS and JS, reducing unused code for each page. This was important for speed purposes. Some PHP custom code was also created. All files can be accessed trough the Framework and edited on the backend, using WordPress&#8217; default plugin files editor.</p>



<p>The custom code was important to reach some specific needs of the design, here are some examples:</p>



<ul class="wp-block-list">
<li>Temporarily have the homepage redirecting to the most recent product/magazine-issue.</li>



<li>Align footnotes with the text, according to the position of the note in the text (on non-mobile breakpoints).</li>



<li>Automatically detect the color of the most recent product and apply it as accent color on the entire site (Products&#8217; colors are added on Mr.Dev.&#8217;s Framework, by having the variable equal to the product slug).</li>



<li>Allow different svg logos for each product (Uses safe SVG).</li>



<li>Enable cache for almost all the pages, regardless of the cart item count. This was made possible by having custom javascript and cookies, to detect the number of items in cart. Also detects which products, to show a &#8220;View the cart&#8221; when a product is already in the cart.</li>



<li>Detect when the scroll passes the header to change the color of the logo, menu, and &#8220;Buy&#8221; buttons from white to the accent color.</li>



<li>Use the alt text of an image, to tell which should be the object-position/background-position for each breakpoint.</li>



<li>Highlight the sub-menus according to the scroll on the page.</li>



<li>Replace default tags taxonomy in favor of authors (multiple authors).</li>



<li>Automatically create categories in Afazeres/Blog matching each WooCommerce product.</li>
</ul>
]]></content:encoded>
					
		
		<enclosure url="https://marcosrego.com/wp-content/uploads/2021/04/fazer_site_phone-1.mp4" length="5430444" type="video/mp4" />
<enclosure url="https://marcosrego.com/wp-content/uploads/2021/04/fazer_site_desktop-1.mp4" length="4823172" type="video/mp4" />

			</item>
	</channel>
</rss>
