<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Alexandre Beato on Medium]]></title>
        <description><![CDATA[Stories by Alexandre Beato on Medium]]></description>
        <link>https://medium.com/@alexandrebeato?source=rss-5a4a3865f0be------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*mRhf_FJGILw1DvWP6TnOJw.png</url>
            <title>Stories by Alexandre Beato on Medium</title>
            <link>https://medium.com/@alexandrebeato?source=rss-5a4a3865f0be------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 09:56:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alexandrebeato/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[[pt-br] Arquitetura para projeto em Angular com fácil desenvolvimento e manutenção.]]></title>
            <link>https://medium.com/@alexandrebeato/pt-br-arquitetura-para-projeto-em-angular-com-f%C3%A1cil-desenvolvimento-e-manuten%C3%A7%C3%A3o-817a15e0d10c?source=rss-5a4a3865f0be------2</link>
            <guid isPermaLink="false">https://medium.com/p/817a15e0d10c</guid>
            <category><![CDATA[single-page-applications]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[design-patterns]]></category>
            <dc:creator><![CDATA[Alexandre Beato]]></dc:creator>
            <pubDate>Thu, 13 Sep 2018 02:00:37 GMT</pubDate>
            <atom:updated>2018-09-13T02:04:35.011Z</atom:updated>
            <content:encoded><![CDATA[<p>A english version of this article can be found <a href="https://medium.com/@alexandrebeato/en-angular-architecture-to-good-development-and-maintenance-69b18175a082">here</a>.</p><p>E ai galera, beleza? Depois de alguns dias procurando uma boa maneira para desenvolver e manter uma aplicação Angular (2+) eu decidi criar uma de acordo com a minha própria perspectiva.</p><p>Uma aplicação de exemplo para esta explicação pode ser encontrada no <a href="https://github.com/AlexandreBeato/angular-architecture">GitHub</a>.</p><p>Eu acredito que você já deve saber como criar uma aplicação Angular do zero. Caso não, veja <a href="https://angular.io/guide/quickstart">aqui</a>.</p><p>Ok, vamos lá!</p><h4>Por que eu preciso de uma arquitetura para o meu projeto Angular?</h4><p>Uma aplicação desenvolvida com Angular é muito fácil de ser criada mas sair escrevendo componentes e módulos sem nenhuma organização pode ser um desastre. Dizendo por experiência própria, é muito difícil trabalhar com uma <strong>grande bola de lama </strong>(termo utilizado para descrever um projeto com o código bem bagunçado) e quando a aplicação começa a crescer fica cada vez mais difícil e perigoso fazer qualquer alteração no código.</p><h4>Como esse padrão arquitetural funciona?</h4><p>É muito simples, aqui o objetivo é isolar cada tipo de código em seu devido lugar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ni-vyHBN5VojkSmbExgb3g.png" /><figcaption>Exemplo</figcaption></figure><p>No módulo principal você pode criar uma pasta <strong>models</strong> para criar os objetos usados na aplicação inteira.</p><p>Você também deve criar uma pasta <strong>modules</strong> para criar cada módulo dentro de sua própria pasta.</p><p>Cada módulo contém:</p><ul><li>Pasta <strong>components</strong>, com um arquivo <em>typescript</em> para cada componente no módulo.</li><li>Pasta <strong>pages</strong>, com o HTML de cada componente no módulo.</li><li>Pasta <strong>styles</strong>, com as folhas de estilo utilizadas nos componentes.</li><li>Pasta <strong>services</strong>, com os serviços utilizados nos componentes.</li><li>Pasta <strong>pipes</strong>, com os pipes utilizados nos componentes.</li></ul><p>Isolando desta forma, o trabalho de manutenção e desenvolvimento de novos recursos para a aplicação será fácil. Espero ter ajudado alguém. Obrigado.</p><p>Todas críticas e sugestões são bem-vindas. Você pode enviar para o meu e-mail:</p><ul><li>alebeato9@gmail.com</li></ul><p>Ou abrir uma <em>issue</em> no repositório do GitHub.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=817a15e0d10c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[en] Angular Architecture to good development and maintenance.]]></title>
            <link>https://medium.com/@alexandrebeato/en-angular-architecture-to-good-development-and-maintenance-69b18175a082?source=rss-5a4a3865f0be------2</link>
            <guid isPermaLink="false">https://medium.com/p/69b18175a082</guid>
            <category><![CDATA[design-patterns]]></category>
            <category><![CDATA[single-page-applications]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[software-architecture]]></category>
            <dc:creator><![CDATA[Alexandre Beato]]></dc:creator>
            <pubDate>Thu, 13 Sep 2018 01:43:32 GMT</pubDate>
            <atom:updated>2018-09-13T13:35:13.723Z</atom:updated>
            <content:encoded><![CDATA[<p>Uma versão em português deste artigo pode ser encontrada <a href="https://medium.com/@alexandrebeato/pt-br-arquitetura-para-projeto-em-angular-com-f%C3%A1cil-desenvolvimento-e-manuten%C3%A7%C3%A3o-817a15e0d10c">aqui</a>.</p><p>Hello guys, what’s up? After some days searching for a good way to develop and maintain an Angular (2+) application, I’ve decided to create one from my own perspective.</p><p>A example application for this explanation can be found on <a href="https://github.com/AlexandreBeato/angular-architecture">GitHub</a>.</p><p>I assume that you already know how to create an angular application. If you don’t, see <a href="https://angular.io/guide/quickstart">here</a>.</p><p>Ok, lets go!</p><h4>Why I need a architecture to my Angular project?</h4><p>An application built in Angular it’s easy to develop but writing components and modules without some organization can be disastrous.</p><p>I can say from my own experience, it’s too hard work with a big ball of mud. When the application starts growing it becomes more difficult and dangerous to make changes in code.</p><h4>How this architecture works?</h4><p>It’s too simple, here the objetive it’s to isolate every type of code in your own place.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ni-vyHBN5VojkSmbExgb3g.png" /><figcaption>Example</figcaption></figure><p>In the main module can you create a <strong>models</strong> folder to create the objects used in entire application.</p><p>You must create a <strong>modules</strong> folder to create every module inside his own folder.</p><p>Every module has:</p><ul><li><strong>Components </strong>folder, with a typescript file for each component in module.</li><li><strong>Pages </strong>folder, with the HTML of each component in module.</li><li><strong>Styles </strong>folder, with stylesheets of each component in module.</li><li><strong>Services </strong>folder, with the services used in components.</li><li><strong>Pipes</strong> folder, with the pipes used in components.</li></ul><p>Isolating in this way, the work of maintenance and development of new features for the application will be easy. I hope I’ve helped someone. Thank you.</p><p>All reviews and suggestions are <strong>welcome</strong>. You can send to my email :</p><ul><li><a href="/service/mailto:alebeato9@gmail.com">alebeato9@gmail.com</a></li></ul><p>Or creating a issue in github repository.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69b18175a082" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>