<?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: Remi Hernandez</title>
    <description>The latest articles on DEV Community by Remi Hernandez (@remi_hernandez).</description>
    <link>https://dev.to/remi_hernandez</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%2F138879%2Fb6a340ef-8e0f-4ad8-ac7f-78a8cae14625.jpg</url>
      <title>DEV Community: Remi Hernandez</title>
      <link>https://dev.to/remi_hernandez</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/remi_hernandez"/>
    <language>en</language>
    <item>
      <title>Flask: convert an existing app to Application Factory pattern</title>
      <dc:creator>Remi Hernandez</dc:creator>
      <pubDate>Fri, 10 Jun 2022 10:54:54 +0000</pubDate>
      <link>https://dev.to/remi_hernandez/flask-convert-an-existing-app-to-application-factory-pattern-2409</link>
      <guid>https://dev.to/remi_hernandez/flask-convert-an-existing-app-to-application-factory-pattern-2409</guid>
      <description>&lt;p&gt;I'm on the path to convert a big existing app to Application Factory pattern. The current state is import orders (you know with at the end of the app file stuff like :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;from . import models
from .api import ep as ep_blueprint
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or import app in some functions which create circular imports etc .. &lt;/p&gt;

&lt;p&gt;Before I jump in it, do you have some advices or strategy in mind ? A plan maybe ?&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>flask</category>
      <category>python</category>
      <category>refactoring</category>
    </item>
  </channel>
</rss>
