<?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[FDDevops - Medium]]></title>
        <description><![CDATA[Your source for all things Dart, Flutter, Devops ecosystem - Medium]]></description>
        <link>https://medium.com/fddevops?source=rss----1eb60f1945aa---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>FDDevops - Medium</title>
            <link>https://medium.com/fddevops?source=rss----1eb60f1945aa---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 19:59:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/fddevops" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Rise of Dart Beyond Flutter: Unleashing the Power of Backend Development]]></title>
            <link>https://medium.com/fddevops/the-rise-of-dart-beyond-flutter-unleashing-the-power-of-backend-development-589291a07864?source=rss----1eb60f1945aa---4</link>
            <guid isPermaLink="false">https://medium.com/p/589291a07864</guid>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[dartlang]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[dart-programming-language]]></category>
            <dc:creator><![CDATA[Jeremy Andrews]]></dc:creator>
            <pubDate>Sun, 28 Jul 2024 13:58:37 GMT</pubDate>
            <atom:updated>2024-07-28T13:58:37.529Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*7MjfbQ75rP84F6OBGb5EWg.png" /></figure><p>While Dart has undeniably gained popularity through the success of Flutter, its potential extends far beyond mobile app development. The Dart community has been working tirelessly to create robust, enterprise-grade frameworks and backend libraries that deserve recognition. These contributions, essential for building scalable and efficient backend systems, are compiled in our highly curated directory at <a href="https://dartdevtools.com/">dartdevtools.com</a>.</p><h3>Dart: More Than Just Flutter</h3><p>Flutter’s success has cast a spotlight on Dart, but it’s essential to acknowledge the significant advancements in Dart’s backend capabilities. Developers have been leveraging Dart to create powerful, high-performance backend solutions. From handling complex server-side logic to integrating seamlessly with various databases and services, Dart is proving to be a versatile and powerful language for backend development.</p><h3>Discover Enterprise-Grade Frameworks and Libraries</h3><p>At <a href="https://dartdevtools.com/">dartdevtools.com</a>, we have meticulously curated a directory of the best Dart backend frameworks and libraries. Whether you’re looking for robust ORM solutions, efficient web frameworks, or essential utility libraries, our resource has you covered. Our goal is to provide developers with a comprehensive collection of tools that can enhance their backend development experience and help them build scalable, maintainable, and high-performance applications.</p><h3>Join the Community and Contribute</h3><p>We believe in the power of community-driven development. If you have a library or framework that you believe should be part of our directory, we encourage you to submit it. Your contributions can help other developers discover tools that can make their backend development journey smoother and more efficient.</p><p>For new frameworks or libraries, we invite you to join our <a href="https://discord.gg/UyJ7RsfcuC">Discord channel</a>. By sharing your work there, you can get direct support and feedback from our community. Our goal is to help you get the word out and ensure that your contributions receive the recognition they deserve.</p><h3>Conclusion</h3><p>Dart’s backend capabilities are evolving rapidly, and it’s time we shine a light on the incredible work happening in this space. By exploring the curated resources at <a href="https://dartdevtools.com/">dartdevtools.com</a> and contributing to the community, you can be part of this exciting journey. Let’s continue to build and support a vibrant ecosystem for Dart backend development together.</p><p>Visit <a href="https://dartdevtools.com/">dartdevtools.com</a> today and explore the future of Dart beyond Flutter!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=589291a07864" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fddevops/the-rise-of-dart-beyond-flutter-unleashing-the-power-of-backend-development-589291a07864">The Rise of Dart Beyond Flutter: Unleashing the Power of Backend Development</a> was originally published in <a href="https://medium.com/fddevops">FDDevops</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is Flutter The Future Of Web]]></title>
            <link>https://medium.com/fddevops/is-flutter-the-future-of-web-bd68e1b3db69?source=rss----1eb60f1945aa---4</link>
            <guid isPermaLink="false">https://medium.com/p/bd68e1b3db69</guid>
            <category><![CDATA[flutter-widget]]></category>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[flutter-ui]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <dc:creator><![CDATA[Talha Zahid Qazi]]></dc:creator>
            <pubDate>Sat, 15 Jan 2022 16:35:17 GMT</pubDate>
            <atom:updated>2022-01-15T16:35:17.675Z</atom:updated>
            <content:encoded><![CDATA[<p>Websites these days require the use of HTML, JavaScript, and CSS. This concept should not be new, but if I were to ask you to create a website without using these three technologies, it would probably ask you some questions about what transpired during that process!</p><p>There are many competitors in this space. From Flash and Silverlight to JavaScript frameworks like backbone or AngularJS — they’ve all tried their best, with each only lasting a short while before being replaced by another technology that was better suited for particular use cases.</p><h3>How Is Flutter Any Better?</h3><p>With an HTML webpage, you deal with the page as if it were just one extensive document. In Flutter, though, “pages” or what users interact within are drawn on a Canvas. That means everything from how fonts look to where colors come into play has been rethought for this unique context! This means that code can control every pixel instead of JavaScript or CSS, as most websites do nowadays!</p><p>It sounds pretty surprising, no HTML, instead draw on the canvas, and the code will compile itself in the background. Let’s explore this new concept of drawing into a canvas.</p><h3>Drag and Drop instead of Documents</h3><p>If you have used Figma or Adobe Xd, it would be easier to understand. Making the user scroll horizontally in Flutter is just putting together some widgets, and you are done. As simple as Drag and Drop.</p><p>Since Flutter is more of a visual framework, it allows developers to focus on the visuals instead of worrying about the code and pixels the developer used to put in the HTML.</p><h3>Sticking with one language</h3><p>You usually use HTML as your markup language, CSS as your styling syntax, and JavaScript as your programming language. However, this can be done in a single language when working with Flutter.</p><p>The Flutter framework uses Dart as its programming language, and all of the application’s looks, feel &amp; business logic are written in it. Along with static type, checking comes null safety soon, so every line you code for your app, no matter if used to describe styles visually give or control how things work, can be thoroughly checked before running through build servers which means more minor bugs!</p><h3>More accessible to layout your app</h3><p>The best feature about Flutter is creating your layouts using either a row or column that has children properties. When thinking about it, most people want their arrays in rows (side by side) and not columns because they take up less space overall when printed out on paper — but there’s no need to worry if this doesn’t suit what design ideas. Are being implemented! You’ll still have plenty of room for creativity with individual styling throughout each item within the list while keeping result quality intact through scaffolding techniques built right into the platform itself.</p><h3>Control over every pixel in the viewport</h3><p>The beauty of Flutter is that it renders every pixel to the screen, giving developers and designers a great deal more control over what their app or experience looks like from one end to another. It’s not fast enough for today’s standards, but things such as GPU accelerated canvases will take some time before we see any significant improvement in performance with this particular technology. Flutter is a great framework to design mobile-first and keep your work looking good across all devices. With Flutter, you don’t have to worry about creating separately for desktop browsers or iOs because it’ll adjust automatically — without sacrificing quality!</p><h3>Goodbye, webpack!</h3><p>Building a Flutter App for the web doesn’t require anything from Webpack since it does not need to reflect on these platforms — making this case very strong by itself (in my mind).</p><h3>But We’re Not Quite There Yet</h3><p>With the recent developments in web development, it has become necessary for Flutter websites to have server-side rendering (SSR) so that search engines can scrape them and SEO them better. This will ultimately affect how people find information on your site — the content is no longer interpretable only by humans but also machines!</p><p>A solution seems unlikely because of ongoing discussions about this issue among browser developers; however, there are ways around having complete control over all pages if you’re willing to sacrifice some accuracy when ranking them based on different keywords used throughout each webpage.</p><p>Drawing on the canvas has some performance implications, but these aren’t as bad as you think. It is a test app that makes heavy visual effects, and it runs at near 60fps on MacBook! Even when dragging over sheets in different places, there is still plenty of space to optimize further. That could be done by improving drawing techniques or making smart decisions while loading webpages with content — both before they become active elements (elements) and during their initial load time afterward, if possible.</p><p>The Flutter framework has been in development for less than two years, but it already provides an incredible amount of performance and features.</p><p>Imagine a website that would load faster and have better SEO, all because you made one with server-side rendering.</p><p>You could create an app without using webpack or any other module bundler — how cool will this be? With just HTML + CSS+JS, it seems like there are no limits on what can happen!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bd68e1b3db69" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fddevops/is-flutter-the-future-of-web-bd68e1b3db69">Is Flutter The Future Of Web</a> was originally published in <a href="https://medium.com/fddevops">FDDevops</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is Dart?]]></title>
            <link>https://medium.com/fddevops/what-is-dart-4bef1a61d8ea?source=rss----1eb60f1945aa---4</link>
            <guid isPermaLink="false">https://medium.com/p/4bef1a61d8ea</guid>
            <category><![CDATA[google]]></category>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[Talha Zahid Qazi]]></dc:creator>
            <pubDate>Tue, 11 Jan 2022 14:31:07 GMT</pubDate>
            <atom:updated>2022-01-11T14:31:06.638Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introductory notes on Dart and Flutter</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/367/1*4ioW7-Be4USBQQet6HprqA.png" /></figure><p>What Is Dart?</p><p>An open-source programming language developed by Google. It allows developers to use an object-oriented language with static type analysis. It was first released in 2011, and since then, it has evolved in itself and its primary goals. After the arrival of version 2.0 of the language, Flutter (which will be explained later) has been its prime focus.</p><h3>What makes Dart special?</h3><p>Unlike many other programming languages, Dart is designed to make development fast and easy. It comes equipped with a relatively extensive set of tools such as its package manager, making updates seamless for developers. It has various compilers/transpilers that allow you to compile your code into different formats to be run on any device without changing anything except where they’re stored (on disk) etc. All this goodness wrapped up in the Just-in-Time build process means changes made will become executable immediately — talk about convenience!</p><p>The code compiles in the native language during production which means, no particular environment is needed like different languages for front and backend.</p><p>Dart has a similar syntax to other languages, like JavaScript and Java. Learning Dart is as easy if you know one of these others! In addition, it offers excellent support for asynchronous programming that makes working with generators super simple.</p><h3>Where can I use Dart?</h3><p>You can use dart for almost anything is a general-purpose language:</p><ul><li>In web applications, you can use the dart library Html and the transpiler to transform the Dart code into javascript or using frameworks like AngularDart.</li><li>On servers, you can use the dart HTTP and dart io libraries. Frameworks like Aqueduct can also be used when working with servers.</li><li>In mobile applications, thanks to Flutter.</li></ul><h3>Flutter</h3><p>Flutter is an easy-to-use framework that allows you to create cross-platform applications with just one code. Developers use multiple codes for each app while working for multiplatform frameworks, such as Ionic or React Native. Because of multiple codes, they are compiled in Native language, making them slower than those developers working in JavaScript. Flutter enables users to publish their apps on both Android and iOS and come up looking across all operating system versions no matter what device happens upon it! This means less time spent designing your user interface, consistent throughout every platform.</p><p>The fantastic thing about this technology? You don’t have to be a developer, rather a designer.</p><p>Besides mobile applications, Flutter can also make web and desktop applications. It is used in the beta version for web applications, and the desktop is currently in the development phase.</p><p>Some applications that have been developed using Flutter are:</p><ul><li>Google Ads</li><li>AppTree</li><li>Reflect</li><li>inLapp Coffee</li><li>SSHButtons</li></ul><p>Here are some of the resources where you can get to know a lot better about Dart and Flutter:</p><ul><li>The Dart webpage offers a wealth of information, including language documentation and various tutorials. One beneficial resource is the Language Tour, which introduces the syntax for newbies like myself!</li><li>Dartpad allows you to experiment on the browser without installing anything on the device.</li><li>Community packages can be found on the webpage of the packets repository.</li><li>Pages of Dart and Flutter on Medium.</li><li>Learn to start using Flutter by going to its website.</li><li>Flutter’s Youtube Channel has extensive videos on how to start using Flutter.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4bef1a61d8ea" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fddevops/what-is-dart-4bef1a61d8ea">What Is Dart?</a> was originally published in <a href="https://medium.com/fddevops">FDDevops</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Low Code is revolutionizing the software industry:]]></title>
            <link>https://medium.com/fddevops/low-code-is-revolutionizing-the-software-industry-d6aa88871cc1?source=rss----1eb60f1945aa---4</link>
            <guid isPermaLink="false">https://medium.com/p/d6aa88871cc1</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[revolution]]></category>
            <category><![CDATA[science]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[low-code]]></category>
            <dc:creator><![CDATA[Talha Zahid Qazi]]></dc:creator>
            <pubDate>Fri, 17 Dec 2021 14:32:33 GMT</pubDate>
            <atom:updated>2021-12-17T14:32:32.484Z</atom:updated>
            <content:encoded><![CDATA[<h3>What’s dominating in developing software?</h3><p>In recent years, low code has strongly influenced businesses and the software industry.</p><p>The advantages this development provides have made it possible for more companies to adopt these applications and improve their competitive edge.</p><h3>So, what is Low code?</h3><p>Building fully functional applications without minimal complex coding are the simplest definition of low code.</p><p>Low code toolkits have made it possible for anyone to develop their app in as little time and with less expertise than ever before. These SaaS products allow users a wide range of options when designing an application; from start to finish, they’re just one click away!</p><h3>Low Code Market Growth</h3><p>In recent years, the growth of low code can be attributed to several factors, including the pandemic and organizations’ increased pressure on IT for delivering value both internally within business units or externally with end-users.</p><p>The standard code trend has had a significant impact on the software industry. In February, Gartner predicted that there would be a growth of 23% for low-code development technologies, and it’s expected to get even better in 2022 when they’re projected at over 6 billion dollars!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/0*FB48pFK3PDjfSN_D" /></figure><p>Chart from <a href="https://www.gartner.com/en/newsroom/press-releases/2021-02-15-gartner-forecasts-worldwide-low-code-development-technologies-market-to-grow-23-percent-in-2021"><strong><em>Gartner Forecasts Worldwide Low-Code Development Technologies Market to Grow 23% in 2021</em></strong></a></p><p>With the increase in low code and no-code development, it is clear that Gartner’s prediction for 2024 will come true.</p><p>By 2024, more than 65% of app deviations would be done via a low coding strategy, which has grown exponentially over recent years!</p><p>Low code serves those without a coding background. According to TechRepublic, as much as 60% of applications are developed outside the IT departments, and out of that, 30% are created using low code. This helps organizations reduce backlogs, decrease costs, improve agility, and produce low code automation.</p><h3>Industry Types of Low Code Development Platforms</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/0*LbjyfQNujYqakExr" /></figure><p>Gartner has also classified low code development into the main categories that are,</p><ul><li>Niche tools</li><li>Ecosystem tools</li><li>Purpose-built application platforms.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/0*ghN1zZKqanTz6HrB" /></figure><h3>Niche tools</h3><p>A niche tool is a type of software that has been specifically developed to solve one specific problem, like a front-end application. This includes business process management (BPM) and no code technology, which helps companies build websites faster without having any technical knowledge whatsoever!</p><h3>Ecosystem tools</h3><p>Ecosystem tools typically consist of prominent software application vendors. They provide a path for creating more excellent value in their cloud ecosystems and creating solutions for specific business needs.</p><h3>Purpose-built application platforms</h3><p>Purpose-built application platforms are built to address custom application development using low code. They are not pure standard code but include a common code framework and tools for multi-experience development.</p><h3>Low Code Development and the Future</h3><p>Low-code and citizen developers are the new way of doing business. The pandemic has unveiled the importance of having accessible software, which can be developed with low codes or written by nonprofessional programmers like yourself!</p><p>According to Forbes, low-code solves the problem by providing a proven way for enterprises to develop digital solutions faster and helping them compete with the market.</p><p>Low code and no code stand together with a rise in developers who don’t like to code. This will create new roles for the developers. These roles would enhance the speed of development and efficiency in productivity.</p><p>Those who code their way to a product don’t have to worry about being obsolete. After all, the low code frameworks require coding as well.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6aa88871cc1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fddevops/low-code-is-revolutionizing-the-software-industry-d6aa88871cc1">Low Code is revolutionizing the software industry:</a> was originally published in <a href="https://medium.com/fddevops">FDDevops</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is Low-Code Development?]]></title>
            <link>https://medium.com/fddevops/what-is-low-code-development-e4b6185ad078?source=rss----1eb60f1945aa---4</link>
            <guid isPermaLink="false">https://medium.com/p/e4b6185ad078</guid>
            <category><![CDATA[flutter-widget]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[low-code]]></category>
            <dc:creator><![CDATA[Talha Zahid Qazi]]></dc:creator>
            <pubDate>Sat, 11 Dec 2021 17:47:10 GMT</pubDate>
            <atom:updated>2021-12-11T17:47:10.251Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fQy6nNSWy2s5zAU5" /></figure><p>Low code development is a visual approach to developing complex software faster than building everything from scratch.</p><p>These solutions have lessened the need for a massive development team to create a single application. “It takes very little coding skill to create a low code app, but it does require expertise in using the platform,” says Sanjeev Verma, Founder &amp; CEO, Voyant Business Solutions Ltd.</p><p>Now developers can focus on the customer experience and acquisition rather than managing a complex backend and infrastructure.</p><p>Low code in 2022 will continue to evolve and grow, especially with Cross-Platform development languages like Dart and frameworks like Flutter.</p><h3>Who Can Low Code Help?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Uhw4BRlXTgZHMPc0" /></figure><ul><li>Businesses to go digital, which can have a significant impact on their bottom line</li><li>Small and Medium Enterprises (SMEs) who cannot afford considerable development costs and cannot hire developers</li><li>Startups and small business owners who don’t want to learn complex coding languages can focus only on business logic.</li><li>Enterprises that are looking for a quick way to deliver small projects with minimal efforts</li><li>Enterprises who want to create apps that can be easily integrated into their existing systems without having to make any significant changes</li><li>Getting started with low code doesn’t require any technical skills; it takes a few clicks to create your first app.</li></ul><h3>Low Code: The future</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aMg1HgQY0exkjOay" /></figure><p>Here are three reasons why low code is the future.</p><ul><li>Cost Savings</li></ul><p>This approach to software development reduces the need for multiple teams. Hire two separate mobile teams (one for IOS and one for Android), and then another team for the web is inefficient. A standard code platform provides the ready-to-market infrastructure needed to quickly get your app up and running.</p><ul><li>Agility</li></ul><p>Low code platforms let business users create apps to automate their workflow with smaller design and development teams, speeding up time to market.</p><ul><li>Flexibility</li></ul><p>Platforms like <a href="http://aortem.dev/">Aortem</a> and Flutter Flow are easy to use because of their simple drag and drop interface for both designers and developers. Users can change their product while collaborating with the backend developers to implement changes swiftly.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4b6185ad078" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fddevops/what-is-low-code-development-e4b6185ad078">What Is Low-Code Development?</a> was originally published in <a href="https://medium.com/fddevops">FDDevops</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Three Essential Roles Needed On Your App Team]]></title>
            <link>https://medium.com/fddevops/three-essential-roles-needed-on-your-app-team-17e1dd6b20bf?source=rss----1eb60f1945aa---4</link>
            <guid isPermaLink="false">https://medium.com/p/17e1dd6b20bf</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Jeremy Andrews]]></dc:creator>
            <pubDate>Thu, 17 Jun 2021 17:31:08 GMT</pubDate>
            <atom:updated>2021-06-17T17:31:07.360Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xk_Xu_vtFn6kUfDhoo82zA.png" /><figcaption>Building Your App Develpment Team</figcaption></figure><p>You have an idea for an app or application, but not sure how to pull it off. Even if you are an amazing developer or engineer, the idea of handling the design mockups, the development, anything devops, and devsecops all together may concern you. Nevertheless you’ll need certain roles on your team if you are to be successful.</p><p>Your team and in particular the tech stack that your team is familiar with will vary depending on whether you are building a webapp, mobile app, or both. To start your search, start with <a href="http://starthawk.io/">starthawk.io</a> and <a href="http://angel.co/">angel.co</a>. If you have a promising project you are more likely to find people who are interested in hearing about your idea. These sites also tend to attract individuals who are already familiar with certain terminology like equity, performance bonus, cliff etc.</p><h3>The Backend</h3><p>A good backend is hard to find.</p><p>At the early stage, you are looking more for a generalist backend (not necessarily full stack). I refer to this as the full backend. Someone who can both build an API, and understands how to manage a Postgres, MariaDB or Mongo DB with and without relying on a <a href="https://severalnines.com/database-blog/best-dbaas-solutions-postgresql">managed solution</a> . Depending on how complex of an application you are trying to build, and how quickly you are trying to get to market, two separate backends with complimentary skills may be needed. For example, one backend that focuses exclusively on data security, devsec ops, deployments, while the other backend focuses on building out the backend of the application.</p><p>In certain circumstances you may need to bring on a specialist. Let’s say someone who specializes in algorithms. From my experience, specialist are usually great in their area of expertise, but may not fully understand how the other parts of a system, platform, or technology fit together, which can be very detrimental if they are trying to manage multiple parts of your application.</p><h3>The Product Manager</h3><p>Great product managers are the ones that often take full responsibility of the success or in many cases the failure of a product. One of their main responsibilities is to provide substantial feedback to leadership through daily updates and status reports, ensuring everything is on time and on budget. Normally they are generalist when it comes to familiarity with different technologies and managing a team. In a pinch, this person could serve as an interim developer, but that role is not a long term fit for this position.</p><p>The perfect candidate will be able to manage very well and report on the progress being made on your platform. A product manager is usually essential to your app team and choosing the right candidate will be extremely important to your applications overall success. Good candidates will have managed several products from mockup to launch successfully and can show you example successes of products they have managed.</p><blockquote><em>If your product manager understands backend architecture for example but does not know the first thing about front end design or the needs of a high end designer and how their work fits into the workflow and process specifically, then your application may be headed for trouble. Keep that in mind when you search to fill this role.</em></blockquote><h3>The front end designer</h3><p>The front end designer is a unique and challenging role to hire for. Depending on the complexity of your application, you may need to break this role into a front end developer and a product designer. Some product designers are very comfortable with the mockup process all the way to building out the front end prototype. Others prefer to stick on the product design, focusing entirely on UX and UI.</p><p>In either circumstance, I find the best places to recruit designers are <a href="https://www.behance.net/">Behance</a> or <a href="https://dribbble.com/">Dribble</a> project. The front end designer will be fully responsible for your UX and UI — note the differences below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GL6rWqnBsMP6QuEr.jpg" /></figure><p>If you decide to hire a separate designer and front end developer role, you may want to consider building your app in <a href="https://flutter.dev/">Flutter</a>, a cross platform framework based on <a href="https://dart.dev/">Dart</a> for mobile, web, and desktop apps. There is also a growing dart, flutter and devops community here <a href="https://discord.gg/DASCuNJd.">https://discord.gg/DASCuNJd.</a></p><p>While it’s not easy to find the perfect mix of talent to build your mobile application, hopefully the above tools and references will help you get a good head start.</p><p><em>Originally published at </em><a href="https://thestartupguy.dev/three-essential-roles-on-your-app-team/"><em>https://thestartupguy.dev</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=17e1dd6b20bf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fddevops/three-essential-roles-needed-on-your-app-team-17e1dd6b20bf">Three Essential Roles Needed On Your App Team</a> was originally published in <a href="https://medium.com/fddevops">FDDevops</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[7 Must Have Flutter Web Packages To Include In Your Next WebApp Build]]></title>
            <link>https://medium.com/fddevops/7-must-have-flutter-web-packages-to-include-in-your-next-webapp-build-16425cb8110f?source=rss----1eb60f1945aa---4</link>
            <guid isPermaLink="false">https://medium.com/p/16425cb8110f</guid>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Jeremy Andrews]]></dc:creator>
            <pubDate>Thu, 10 Jun 2021 17:32:46 GMT</pubDate>
            <atom:updated>2021-06-10T17:32:45.470Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zU98AY2E9Cn_TuJheFLJ7g.png" /><figcaption>Flutter Web Packages</figcaption></figure><p>This is a follow-up to previous article where we spoke about desktop packages for your next web build. You can find a link to that article <a href="https://medium.com/fddevops/5-must-have-flutter-desktop-packages-to-include-in-your-next-build-e45d6dfd3995">here</a>. Packages consist of prewritten code that contributes to the Flutter and Dart ecosystems. A package includes dependencies, Dart libraries, apps, resources, tests, images, and examples. A plugin is a special kind of package that makes functionality available to the app.</p><h3>Provider</h3><p>If this one is familiar, it is because it was mentioned in our previous article. Instead of writing a lengthy and complex InheritedWidget class, the provider allows for a simplified allocation of resources.</p><h4>Example Usage</h4><p><strong>EXPOSING A VALUE AND NEW OBJECT INSTANCE</strong></p><pre>Provider( create: (_) =&gt; MyModel(), child: ... )</pre><pre>ChangeNotifierProvider.value( value: MyModel(), child: ... )</pre><p>Provider allows you expose a an object and also create/listen/dispose of it. To expose a newly created object, use the default constructor of a provider. Do not use the .value constructor if you want to create an object, or you may otherwise have undesired side-effects. Here are some guidelines.</p><p><strong>DO</strong> create a new object inside create.</p><p><strong>DON’T</strong> use Provider.value to create your object.</p><p><strong>DON’T</strong> create your object from variables that can change over the time. In such a situation, your object would never be updated when the value changes.</p><p>If you want to pass variables that can change over time to your object, consider using ProxyProvider:</p><pre>int count; ProxyProvider0( update: (_, ) =&gt; MyModel(count), child: ... )</pre><pre>int count; Provider( create: (_) =&gt; MyModel(count), child: ... )</pre><p><strong>NOTE:</strong></p><p>When using the create/update callback of a provider, it is worth noting that this callback is lazily called by default. What this means is, until the value is requested at least once, the create/update callbacks won’t be called. This behavior can be disabled if you want to pre-compute some logic, using the lazy parameter:</p><p>Reusing an existing object instance: If you already have an object instance and want to expose it, you should use the .value constructor of a provider.</p><pre>MyProvider( create: (_) =&gt; Something(), lazy: false, )</pre><p>Failing to do so may call the dispose method of your object when it is still in use. Here is some guidance.</p><p><strong>DO</strong> use ChangeNotifierProvider.value to provide an existing ChangeNotifier.</p><p><strong>DON’T</strong> reuse an existing ChangeNotifier using the default constructor.</p><pre>MyChangeNotifier variable; ChangeNotifierProvider.value( value: variable, child: ...) MyChangeNotifier variable; ChangeNotifierProvider( create: (_) =&gt; variable, child: ... )</pre><h4>Reading a value</h4><p>The easiest way to read a value is by using the extension methods on [BuildContext]:</p><ol><li>context.watch(), which makes the widget listen to changes on T</li><li>context.read(), which returns T without listening to it</li><li>context.select&lt;T, R&gt;(R cb(T value)), which allows a widget to listen to only a small part of T.</li></ol><p>You can also use the static method Provider.of(context), which behaves in a similar manner to context.watch() and when you pass &quot;false&quot; to the listen parameter (ie. Provider.of(context,listen: false) it will behave similarly to read. It&#39;s worth noting that context.read() won&#39;t rebuild the widget when the value changes. In addition, context.read() cannot be called inside StatelessWidget.build/State.build. However, it can be called outside of these methods.</p><p>The methods described above will start searching the widget tree from the 1st widget that is associated with the BuildContext passed, and will return the nearest variable of type T found (or throw if nothing is found).</p><p>It’s worth noting that this operation is O(1). It doesn’t involve actually walking in the widget tree. Combined with the first example of exposing a value, this widget will read the exposed String and render “Hello World.”</p><pre>class Home extends StatelessWidget { @override Widget build(BuildContext context) { return Text( // Don&#39;t forget to pass the type of the object you want to obtain to `watch`! context.watch&lt;String&gt;(), ); }}</pre><p>Alternatively, instead of using these methods, we can use Consumer and Selector. These can be useful for performance optimizations or when it is difficult to obtain a BuildContext descendant of the provider.</p><h3>MultiProvider</h3><p>When injecting many values in big applications, Provider can rapidly become nested:</p><pre>Provider&lt;Something&gt;( create: (_) =&gt; Something(), child: Provider&lt;SomethingElse&gt;( create: (_) =&gt; SomethingElse(), child: Provider&lt;AnotherThing&gt;( create: (_) =&gt; AnotherThing(), child: someWidget, ), ), ),</pre><pre>MultiProvider( providers: [ Provider&lt;Something&gt;(create: (_) =&gt; Something()), Provider&lt;SomethingElse&gt;(create: (_) =&gt; SomethingElse()), Provider&lt;AnotherThing&gt;(create: (_) =&gt; AnotherThing()), ], child: someWidget, )</pre><p>The behavior of both examples is strictly the same. MultiProvider only changes the appearance of the code.</p><h3>ProxyProvider</h3><p>ProxyProvider is a provider that combines multiple values from other providers into a new object, and sends the result to Provider. That new object is then updated whenever one of the providers depends on updates. The following example uses ProxyProvider to build translations based on a counter coming from another provider.</p><pre>Widget build(BuildContext context) { return MultiProvider( providers: [ ChangeNotifierProvider(create: (_) =&gt; Counter()), ProxyProvider&lt;Counter, Translations&gt;( update: (_, counter, ) =&gt; Translations(counter.value), ), ], child: Foo(), ); } class Translations { const Translations(this._value); final int _value; String get title =&gt; &#39;You clicked $_value times&#39;; }</pre><p>There are several flavors: ProxyProvider vs ProxyProvider2 vs ProxyProvider3 . The digit after the class name is the number of other providers that ProxyProvider depends on.</p><p>ProxyProvider vs ChangeNotifierProxyProvider vs ListenableProxyProvider, They all work similarly, but instead of sending the result into a Provider, the ChangeNotifierProxyProvider will send its value to a ChangeNotifierProvider.</p><h3>URL launcher for web</h3><p>URL launcher’s core function is to send users to URLs on a single tap. It can also be used to send a user to a specific email address.</p><p>In order to install the URL launcher plugin in your web application, a dependency needs to be added in the pubcpec.yaml file.</p><p>Once you have the url launcher web dependency in your pubspec, you should be able to use package url as normal. keep in mind that Flutter web and Flutter Mobile do diverge in some cases, so when using packages ensure you have the right dependencies listed.</p><pre>dependencies:</pre><pre>url_launcher: ^5.1.4<br>url_launcher_web: ^0.1.0</pre><h3>Flutter_bloc: 7.0.0</h3><p>Bloc makes it easy to separate presentation from business logic, making your code fast, easy to test, and reusable. When building production quality applications, managing state becomes critical. As developers we want to know what state our application is in at any point in time, easily test every case to make sure our app is responding appropriately, record every single user interaction in our application so that we can make data-driven decisions, and work as efficiently as possible by reusing components both within our application and across other applications.</p><p>This package allows developers to develop apps faster by following the same patterns and conventions throughout an entire codebase.</p><h4>Example Usage</h4><p>We can integrate the CounterPage widget in CounterCubit by using the BlocBuilder.</p><p><strong>counter_cubit.dart</strong></p><pre>class CounterCubit extends Cubit&lt;int&gt; { CounterCubit() : super(0); void increment() =&gt; emit(state + 1); void decrement() =&gt; emit(state - 1); }</pre><p><strong>counter_page.dart</strong></p><pre>class CounterPage extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: const Text(&#39;Counter&#39;)), body: BlocBuilder&lt;CounterCubit, int&gt;( builder: (context, count) =&gt; Center(child: Text(&#39;$count&#39;)), ), floatingActionButton: Column( crossAxisAlignment: CrossAxisAlignment.end, mainAxisAlignment: MainAxisAlignment.end, children: &lt;Widget&gt;[ Padding( padding: const EdgeInsets.symmetric(vertical: 5.0), child: FloatingActionButton( child: const Icon(Icons.add), onPressed: () =&gt; context.read&lt;CounterCubit&gt;().increment(), ), ), Padding( padding: const EdgeInsets.symmetric(vertical: 5.0), child: FloatingActionButton( child: const Icon(Icons.remove), onPressed: () =&gt; context.read&lt;CounterCubit&gt;().decrement(), ), ), ], ), ); }}</pre><p>At this point we have successfully separated our presentational layer from our business logic layer. Notice that the CounterPage widget knows nothing about what happens when a user taps the buttons. The widget simply tells the CounterCubit that the user has pressed either the increment or decrement button.</p><h3>Flutter_blurhash 0.6.0</h3><p>This package provides a compact representation of a placeholder for an image. Constrain your widget render area and let BlurHash fill the pixels.</p><pre>class BlurHashApp extends StatelessWidget { const BlurHashApp({Key? key}) : super(key: key); @override Widget build(BuildContext context) =&gt; MaterialApp( home: Scaffold( appBar: AppBar(title: const Text(&quot;BlurHash&quot;)), body: const SizedBox.expand( child: Center( child: AspectRatio( aspectRatio: 1.6, child: BlurHash(hash: &quot;L5H2EC=PM+yV0g-mq.wG9c010J}I&quot;), ), ), ), ), ); }</pre><h3>Location</h3><p>This package shares the location with the user and features call backs whenever location is changed. To start using this plugin add a dependency to the package’s pubspec.yaml file. This package works directly out of the box for Flutter Web</p><h4>Example Usage</h4><pre>import &#39;package:location/location.dart&#39;;</pre><p>In order to request the location, manually check the Location Service status and Permission status.</p><pre>Location location = new Location(); bool _serviceEnabled; PermissionStatus _permissionGranted; LocationData _locationData;</pre><p>For requiring continuous callbacks on change of location:</p><pre>location.onLocationChanged.listen((LocationData currentLocation) { // Use current location }); _serviceEnabled = await location.serviceEnabled(); if (!_serviceEnabled) { _serviceEnabled = await location.requestService(); if (!_serviceEnabled) { return; } } _permissionGranted = await location.hasPermission(); if (_permissionGranted == PermissionStatus.denied) { _permissionGranted = await location.requestPermission(); if (_permissionGranted != PermissionStatus.granted) { return; } } _locationData = await location.getLocation();</pre><p><em>Originally published at </em><a href="https://thestartupguy.dev/7-must-have-flutter-web-packages-to-include-in-your-next-webapp-build/"><em>https://thestartupguy.dev</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=16425cb8110f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fddevops/7-must-have-flutter-web-packages-to-include-in-your-next-webapp-build-16425cb8110f">7 Must Have Flutter Web Packages To Include In Your Next WebApp Build</a> was originally published in <a href="https://medium.com/fddevops">FDDevops</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Must-Have Flutter Desktop Packages to Include in Your Next Build]]></title>
            <link>https://medium.com/fddevops/5-must-have-flutter-desktop-packages-to-include-in-your-next-build-e45d6dfd3995?source=rss----1eb60f1945aa---4</link>
            <guid isPermaLink="false">https://medium.com/p/e45d6dfd3995</guid>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[flutter-desktop]]></category>
            <category><![CDATA[desktop-app]]></category>
            <dc:creator><![CDATA[Jeremy Andrews]]></dc:creator>
            <pubDate>Thu, 03 Jun 2021 17:32:42 GMT</pubDate>
            <atom:updated>2021-06-03T17:32:40.970Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bb3DHdXUZN86oo-hyQNE_A.png" /></figure><p>Flutter is a software development kit developed by Google in 2018. Since its inception, it has garnered substantial industry acclaim. What makes it stand out is its simple and easy-to-learn coding language Dart, simple and eye-catching designs of widgets, and cross-platform development abilities.</p><p>Flutter continues to make vast improvements and is now a stable product for both flutter web and mobile. While Flutter Desktop is still in alpha, you can expect massive enhancements in the coming months as developers continue to use it for desktop application development. In this article, we’ll walk you through the 5 must-have desktop packages worth including in your next build.</p><p><strong>Why is Desktop still relevant?</strong></p><p>You’d be good company if you were made to believe that the era of the desktop app was finished. After all, mobile application development and its <a href="https://www.businessofapps.com/data/app-statistics/">usage</a> continues to soar, and most of the attention is on the future of mobile.</p><p>Still many users prefer to view an application on a larger screen, even if it’s not a desktop app. Desktop users can view more information, navigate easily, and can spend more time with an application.</p><p><strong>The rise in Cross-Platform Development</strong></p><p>In the past couple of years, there has been a significant decline in the demand for native developers. DRY (don’t repeat yourself) has been the holy grail for developers for a long time. There was the “promise” (no pun intended) of JsNode, then Xamarin as a cross development tool to use on a multitude of platforms. This feature is missing from native development.</p><p>Flego was the first-ever cross-platform development tool, now referred to as React Native. Flutter is a cross-platform development tool equipped with UI rendering components, navigation, testing, and a plethora of libraries. The Flutter engine is packed with all the features that developers need to build and deploy their app.</p><p>Because of these new developments, many peoples are of the view that Flutter is likely to replace electron for desktop development.</p><p><strong>The Flutter Engine</strong></p><p>The goal of the Flutter team is to build a cross-platform UI toolkit that enables code reusability. This leads to the development of the Flutter engine. From a technical standpoint, the Flutter engine puts pixels on the screen when they are required. Flutter engine is a cornerstone of Flutter’s speedy and high-quality output.</p><p>Flutter’s new desktop-oriented version alpha release enables more keyboard inputs, mouse controls, and a large screen display.</p><p><strong>Desktop Packages for Flutter</strong></p><p>There are a plethora of desktop packages that work on Windows, Mac, and Linux Operating systems. Here is a quick overview of the packages.</p><p><strong>1.</strong> <a href="https://pub.dev/packages/provider"><strong>Provider 5.0.0</strong></a><strong> (Null Safety)</strong></p><p>It is a wrapper around an InheritedWidget to make it reusable and easy to use. You can use Provider in your code instead of manually writing Inheritedwidget, you’ll get the following benefits:</p><ul><li>Simplified allocation of resources</li><li>Lazy-loading</li><li>A significant reduction in boilerplate and making of a new class every time</li><li>User-friendly dev tools</li><li>The most reliable way to use IngeritedWidget in your code</li><li>Provides more scalability for classes, extending the <a href="https://api.flutter.dev/flutter/foundation/Listenable-class.html">listening class</a> — an object that maintains your list of listeners</li></ul><p><strong>2.</strong> <a href="https://pub.dev/packages/google_fonts"><strong>Google_fonts</strong></a></p><p>No surprise here. This Flutter package enables you to use any of the 977 fonts and their variants from fonts.google.com in your flutter app.</p><p><strong>Getting Started with google_fonts</strong></p><p>With the google_fonts package, .ttf or .otf files don’t need to be stored in your assets folder and can be mapped in pubspec. They can be retrieved once by using the HTTP command at runtime and can be cached in the app’s system. This package is designed specifically to reduce the app bundle size. With the google_fonts package, developers can choose between pre-bundling the fonts and choose them over HTTP, while using the same API.</p><p><strong>3.</strong> <a href="https://pub.dev/packages/photo_view"><strong>Flutter Photo View</strong></a></p><p>A simple zoomable image/content widget for flutter. PhotoView enables users to zoom images and cater to the user’s pinch, rotate, and drag gestures.</p><p>It can also be used to display any widget inside an image such as Container, Text, or SVG. While the PhotoView Flutter package is easy to use, it is extremely customizable via its options and controllers.</p><p><strong>How to Install it?</strong></p><p>Add photo_view as a dependency in your pubspec.yaml file</p><p><strong>Import Photo View:</strong></p><p>import ‘package:photo_view/photo_view.dart’;</p><p><strong>Very Basic Usage</strong></p><p>Here is how you can use this package in your code</p><pre>@override</pre><pre>Widget build(BuildContext context) {</pre><pre>return Container(</pre><pre>child: PhotoView(</pre><pre>imageProvider: AssetImage(“assets/large-image.jpg”),</pre><pre>)</pre><pre>);</pre><pre>}</pre><pre>Result:</pre><p><strong>4.</strong><a href="https://pub.dev/packages/animations"> <strong>Animations</strong></a></p><p>High-quality pre-built animations for Flutter. This package is equipped with pre-canned animations for commonly-desired effects. The animations can be customized with your content and can be integrated into the application to delight users:</p><p><strong>Material Motion for Flutter</strong></p><p>Material motion is a set of transition patterns that helps users to understand and navigate an app. Currently, the following transition patterns come with this library:</p><p>1. Container transform</p><p>2. Shared axis</p><p>3. Fade through</p><p>4. Fade</p><p><strong>Container transform</strong></p><p>The container transform pattern is designed to facilitate the transition between the UI elements that include the container. The picture shown below tells us that this package creates a visible connection between two UI elements.</p><p><strong>Shared axis</strong></p><p>The shared axis pattern aids in the transitions between UI elements that have a spatial or a navigational relationship. This pattern employs shared transformation on the x, y, and z-axis to reinforce the relationship between elements.</p><p><strong>Fade through</strong></p><p>The fade-through pattern is used for transition between UI elements that aren’t closely related to each other.</p><p><strong>Fade</strong></p><p>The fade pattern is used for those UI elements that exist within the boundary of a screen, such as a dialog that fades in the center of the screen.</p><p><strong>5.</strong> <a href="https://pub.dev/packages/flutter_pull_to_refresh"><strong>Flutter pulltorefresh</strong></a></p><p>This Flutter package is integrated into the flutter scroll component and drop-down refresh.</p><p><strong>Features</strong></p><ul><li>When you scroll up in the window, it loads and when you scroll down it refreshes</li><li>It best suits all Scroll widgets like GridView and ListView</li><li>Equipped with some common indicators</li><li>Comes with the global setting of default indicator and property</li><li>Aside from horizontal and vertical refresh, it supports reverse ScrollView</li><li>Contains more refreshstyle like Behind, Follow, Unfollow, and Front.</li><li>Supports twoLevel refresh</li></ul><p>Feel free to join our growing flutter, dart, and devops community <a href="https://discord.gg/xWz8V7Wn">https://discord.gg/xWz8V7Wn</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e45d6dfd3995" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fddevops/5-must-have-flutter-desktop-packages-to-include-in-your-next-build-e45d6dfd3995">5 Must-Have Flutter Desktop Packages to Include in Your Next Build</a> was originally published in <a href="https://medium.com/fddevops">FDDevops</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying Your First Pipeline With Gitlab]]></title>
            <link>https://medium.com/fddevops/deploying-your-first-pipeline-with-gitlab-f2c016f991c3?source=rss----1eb60f1945aa---4</link>
            <guid isPermaLink="false">https://medium.com/p/f2c016f991c3</guid>
            <category><![CDATA[gitlab]]></category>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[Jeremy Andrews]]></dc:creator>
            <pubDate>Thu, 27 May 2021 17:32:06 GMT</pubDate>
            <atom:updated>2021-05-27T17:32:05.869Z</atom:updated>
            <content:encoded><![CDATA[<h3>Pre-Requisites</h3><p>For this tutorial, here is what you will need.</p><ul><li>A Gitlab Repo</li><li>An empty .gitlab-ci.yml file in the root directory of your repository</li><li>Installed Gitlab Runner (I am using the docker install <a href="https://docs.gitlab.com/runner/install/docker.html">https://docs.gitlab.com/runner/install/docker.html</a>)</li><li>Linux (I am using “Ubuntu Focal 20.04 (LTS)”</li><li>Knowledge of the “flutter web build” command</li><li>Generated public/private key pair (preferably using “id_e25519”)</li><li>Your host key(s). See below on creating/verifying your keys.<br><a href="https://docs.gitlab.com/ee/ci/ssh_keys/#verifying-the-ssh-host-keys">https://docs.gitlab.com/ee/ci/ssh_keys/#verifying-the-ssh-host-keys</a></li></ul><h3><strong>THE GOAL</strong></h3><p>You have some code in your gitlab repository to want to push to your server every time you or one of your team members makes a commit to a specific repo. Here is what happens.</p><ol><li>You have a repo (ie. my-repo)</li><li>You commit a file to that repo</li><li>The gitlab.yml takes over and deploys your files to your server.</li></ol><p>Sounds simple right? Assuming you have the prerequisites, we’re ready to go.</p><h3>PART I (The Setup)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/910/1*dOpBCrIu3C-2kOeUsOXgZQ.png" /></figure><h4>Adding Our First Variable</h4><ol><li>Your Navigate to Settings &gt; CI/CD and scroll down to the variables section:</li><li>Click “Add variable”</li><li>Add your “Key Name”. This can be anything (ie. airplanes), and will be used in your .gitlab-ci.yml file later.</li></ol><p>4. Enter your private key (including the BEGIN and END private key sections)</p><p>5. Click the checkbox for “Export variable to pipelines running on protected branches and tags only”</p><blockquote>Generally speaking protecting your branch is a good idea, especially when working on an open source or shared project.<br><a href="https://docs.gitlab.com/ee/ci/variables/README.html#protect-a-cicd-variable">https://docs.gitlab.com/ee/ci/variables/README.html#protect-a-cicd-variable</a></blockquote><h4>Adding Our Second Variable</h4><ol><li>Go to your terminal. We’re going to print our host keys and add them to Gitlab</li></ol><pre># Use the domain name<br>ssh-keyscan example.com</pre><pre>## Or use an IP<br>ssh-keyscan 1.2.3.4</pre><p>2. Go back to the Settings &gt; CI/CD and scroll down again to the variables section.</p><p>3. Add another variable. This time you are going to add your host key or keys you printed out. If you have multiple host keys that print out in the terminal, you can add all of them, each with their own line.</p><h3>PART II (The .yaml or .yml File)</h3><p>Now we have to edit our empty .gitlab-ci.yml which you placed in the root of your project directory before you started the tutorial. Because we are only deploying flutter web, flutter mobile and flutter desktop deployments do not really matter.</p><p>There are many components you can add to our .gitlab-ci.yml in order to build a successful pipeline, including breaking the stages into multiple steps and running multiple test. Some components are critical when you want to run a well designed production ready CI/CD pipeline. However in our case we want to keep things simple.</p><pre># Declare the docker image<br>image: cirrusci/flutter:latest</pre><pre># List of commands that are executed before the job<br>before_script:<br> — git fetch <br> — flutter config — enable-web</pre><pre>build:<br> stage: deploy<br> script:<br> — cd {your-project-folder}<br> — flutter build web # Run Flutter build web<br> — which ssh-agent<br> — eval $(ssh-agent -s)<br> — echo {Your_First_PrivateKey_Variable} | tr -d ‘\r’ | ssh-add -<br> — mkdir -p ~/.ssh<br> — chmod 700 ~/.ssh<br> — ssh-keyscan {Your-Server-Ip-Address} &gt;&gt; ~/.ssh/known_hosts<br> — chmod 644 ~/.ssh/known_hosts<br> — scp -P22 -r build/* your-username@your-ip-address:/path/to/drop/files #copy generated build files<br> artifacts:<br> paths:<br> — /path/to/store/copy # Copying the build files to this folder<br> only:<br> — development # Run only on development branch</pre><h3>PART III (The Breakdown)</h3><h4>Docker Image</h4><p>Sometimes you’ll want to build your own Docker image, but in this case we have a head start. You can check the image layers if you really want to see what is going on here <a href="https://tinyurl.com/ytnbzztt">https://tinyurl.com/ytnbzztt</a></p><h4>Before_Script</h4><p>These are a set of commands that are run before we run the actual deployment script. Let’s say you want to test whether some packages are installed or simply list your files/directories with the “ls” command, you could do that as well. While the “before script” is not required, we’ll add two commands here simply to see what the output is. In our case we are using</p><ul><li>Git Fetch</li><li>Flutter config — enable web</li></ul><h4>Build</h4><p>The majority of building the files and deploying to the server takes place here. As mentioned previously you could break up the file into several stages and builds if you want based on your preference for singularity of modularity.</p><h4>Stage</h4><p>There are five default stages. You can run only one stage, all stages, or anything in between during a build. Here we are running just the deploy stage</p><h4>Script</h4><p>The bulk of the operations are here. Below is a description of each process in the .yaml file</p><ul><li>cd into your project root. This is usually where your pubspec.yaml file is .</li><li>Flutter web buildwill compile the flutter files you need to deploy your webapp.<br>Which ssh-agent and eval are the two commands that allow you to run the ssh-agent inside your environment. The SSH is a standard helper agent to manage identities and keys.</li><li>Settings &gt; CI/CD &gt; Variables. Remember you created a “key name for your private key in the gitlab UI (ie. airplanes)? This is where you use it.</li><li>Create the SSH directory and give it the right permissions. Mkdir Wait a minute, don’t we already have an SSH directory on the remote server? Yes, but remember pipelines are being created on the fly for this one time instance.</li><li>If you followed the keyscan instructions above, you would have created a second variable with a key and value in Settings &gt;CI/CD &gt; Variables. So just drop your IP address or domain name here and of course we give it the right permissions.</li></ul><h4>Transferring files.</h4><ul><li>There are several ways to transfer files to a server. We’ll use a simple scp setup with port 22.</li><li>We’re telling the job to copy all files from the build folder — generated by the flutter build web command.</li><li>Then the job is logging into your server just like you would on the command line with your username@ip address.</li><li>Add the path where you are dropping the files.</li></ul><h4>Artifacts</h4><ul><li>Think of this as storage in Gitlab, where you want to place the completed files. This can be any existing folder in your Gitlab repo, meaning it should already exist.</li></ul><h4>Only:</h4><ul><li>This command allows you to only run a pipeline under certain conditions<br>In this sample case, we have a branch named “development”, and only want to run the job when a commit is made on the “development” branch.<br>So replace “development” with your actual branch name(ie. master, qa, development etc).</li></ul><h4>Deploy</h4><p>Now is the fun part. You’ll need to make a commit to whatever branch name you replaced above. Then sit back and watch the runner do the work. Shouldn’t take more than a minute.</p><p>You can watch the job run by clicking on pipelines/jobs in the Gitlab UI. After it’s run it course, at the bottom you should see “Job Succeeded” as well as the web folder on your remote server.</p><p>You now have your first pipeline run on your own remote server.</p><p>Feel free to join our growing flutter, dart, and devops community <a href="https://discord.gg/xWz8V7Wn">https://discord.gg/xWz8V7Wn</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2c016f991c3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fddevops/deploying-your-first-pipeline-with-gitlab-f2c016f991c3">Deploying Your First Pipeline With Gitlab</a> was originally published in <a href="https://medium.com/fddevops">FDDevops</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Building Blocks To Writing Good Code]]></title>
            <link>https://medium.com/fddevops/the-building-blocks-to-writing-good-code-f694d7a440a0?source=rss----1eb60f1945aa---4</link>
            <guid isPermaLink="false">https://medium.com/p/f694d7a440a0</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[gitlab]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[dart]]></category>
            <dc:creator><![CDATA[Jeremy Andrews]]></dc:creator>
            <pubDate>Thu, 20 May 2021 17:32:16 GMT</pubDate>
            <atom:updated>2021-05-20T17:32:14.979Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UnPyHukT2DhENDMZPaEUYA.png" /></figure><p>Speak with any software developer about how they structure their syntax and code and you’ll get 10 different answers. Especially if you are using a language like javascript (not type-safe) vs <a href="https://dart.dev/">Dart</a>, which is a type-safe language. While guidelines on how to write good code range widely, below are some good principles and practices you can follow:</p><h3><strong>Proper Indentation and Comments</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*31PWHC3jMIfl408U73NZRw.png" /></figure><p>It is very important that the code you are writing is readable for other programmers too. When dealing with a team or open source project where collaboration is key, using proper spacing along the logical code components allows the project to maintain a sense of consistency.</p><p>If you are using functions to retrieve data, or use third party API libraries to get the data, add comments where appropriate on top of those code snippets, so that if another person tries to analyze your code, or build other functions based upon your logic, they can grasp what is happening quickly and can reuse your work.</p><h3><strong>Hybrid Repo (Not too Monolithic Not Too Modular)</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*vhi6R1QyrZUkGdssa8nrDA.png" /></figure><p>The Mono-repo vs Hybrid-repo debate never ends. But why not sure the best of both worlds. When I build my repos, I use a hybrid approach that looks something like this.</p><ul><li><strong>Core</strong></li><li><strong>Light Modules (Extensions that add two more AA batteries)</strong></li><li><strong>Heavy</strong></li><li><strong>Experimental</strong></li></ul><p>The (#) below indicates the maximum number of sub repositories/packages that should exist in the main repo.</p><h4><strong>Core (1)</strong></h4><p>Built on a solid foundation and rarely touched, this is a (AA) batteries included core repo. Given it’s minimal functionality, the goal is to provide enough to get up and running without forcing you into massive technical debt (maybe like Express).</p><h4><strong>Light Packages (10)</strong></h4><p>A single repo, composed of several sub repos that work in tandem like a package. While all of the packages should work seamlessly together, you could add your own package, or remove a couple and still have the other packages working flawlessly. For example, let’s say your package is a mail server using “mailgun”. Another developer should easily be able to swap out that package for sendgrid, sendinblue or other mail server service, without any conflicts to the other light packages</p><p>In essence, think of these sub repos as adding a second set of AA batteries to the core. This is extended functionality — nice to have to but not required.</p><p>And of course, always add documentation.</p><h4>Heavy Packages (aka. Extensions -Unlimited)</h4><p><strong>Group #1 (Tightly Coupled)</strong><br>These packages are tightly integrated with the light modules and require all of the light modules to be enabled. These packages work as a full unit, cannot survive on their own, and are meant to add substantial functionality to the core and light modules. Activating a heavy package should allow the developer to plug and play with minimal or no effort. In some cases you could consider group #1 packages to be mini frameworks. A cli should be added here for one click commands.</p><p><strong>Group Type #2 (Loosely coupled)</strong><br>These packages are meant to work independently of group #1 and light packages. They should work flawlessly with the core package. These packages could rewrite a group #1 templating engine package, or change the way an ORM functions.</p><p><strong>Experimental</strong><br>Experimental modules that are exactly that, experimental, meaning they are only for testing. You can compare these modules to a “beta” and “edge” release. While these modules should never break the core — they could break any of the other packages above, so you would use these with caution.</p><p>In an open source project, sometimes a feature really doesn’t belong anywhere else, especially if it does not align with the focus of the software build. Having an experimental repo allows side projects to form, that may one day make it to the light or heavy packages.</p><h3><strong>Minimal Use</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/452/1*UxFTz3xdTz0RtT6fQEp4_A.png" /></figure><p>Every environment does not have to be a fully secure DevSec environment. When I am collaborating with other developers to unit test or build something very quickly, I generally use the following 5 minute setup: <br>- <em>Docker (with docker gen, and let’s encrypt behind an nginx reverse proxy)</em><br>-<em> GitLab Runner</em><br>- <em>Dedicated Box (The Throwaway Server)</em></p><p>This quick setup allows me to build a truly isolated, yet semi-secure development integrated environment with minimal cost — not everything needs to be hosted in the cloud.</p><h3><strong>Use Standard And Professional Variable Names</strong></h3><p>What makes sense to you may not make sense to another developer. These are many rules and guides you can find online that guide towards great naming conventions. I generally have one rule when it comes to naming conventions.</p><blockquote>Minimize the possibility of confusion. For example a Person class with “get_person()” and “get_person_info()”. Looks like you can get the person’s info with both methods — although I doubt that was the intend of the original developer.</blockquote><h3><strong>Databases:</strong></h3><p>Just dump the data into Postgres is definitely NOT the way to approach data storage. After making the decision on whether you are going to use SQL or noSQL, you’ll still need to choose the type of SQL or no SQL database.</p><p>When I first started managing databases, I would perform all tasks and functions manually and rarely used any scripts. Not only did I want to better understand the database management process, but I knew it would eventually that practice would help me in the future should I have the desire to choose a managed database provider.</p><p>If you understand how database operations work, when you choose a solid managed service provider, you can focus on data management and worry less on whether your data is ACID (Atomic, consistent, isolated, and durable).</p><h3><strong>Remove Redundant And Unnecessary Code</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CB595rUoUB7k2JYQLbsWlw.png" /></figure><p>Sometimes a library you created or imported that you thought you would need is no longer being used. The good thing about Dart is that it implicitly indicates when code is unused. You can also use the “dart analyze” command to run through any issues with your code (Using VS Code).</p><h3><strong>Testing i.e. Validation and Verification</strong></h3><p>Using CI/CD is very important to ensure that you are thoroughly testing your code. I use Gitlab to manage much of the process with pipelines. Click here for a quick guide on setting up pipelines. The main reason I use Gitlab as opposed to another tool is that everything is tightly integrated for devops operations.</p><p>Interested in the growing Flutter/Dart ecosystem? Join the conversation in our discord community <a href="https://discord.gg/xWz8V7Wn">https://discord.gg/xWz8V7W</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f694d7a440a0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fddevops/the-building-blocks-to-writing-good-code-f694d7a440a0">The Building Blocks To Writing Good Code</a> was originally published in <a href="https://medium.com/fddevops">FDDevops</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>