<?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 Febry Heri Setiyawan on Medium]]></title>
        <description><![CDATA[Stories by Febry Heri Setiyawan on Medium]]></description>
        <link>https://medium.com/@stywanheri?source=rss-c92396121f82------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*mcQMoL-I-GxzDdyZOrIxng.jpeg</url>
            <title>Stories by Febry Heri Setiyawan on Medium</title>
            <link>https://medium.com/@stywanheri?source=rss-c92396121f82------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 03:26:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@stywanheri/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[OneFish Design System]]></title>
            <link>https://medium.com/@stywanheri/onefish-design-system-e5f719edf40e?source=rss-c92396121f82------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5f719edf40e</guid>
            <category><![CDATA[tumbuh-bersama]]></category>
            <category><![CDATA[efishery-academy]]></category>
            <category><![CDATA[aqua-developer]]></category>
            <category><![CDATA[efishery]]></category>
            <dc:creator><![CDATA[Febry Heri Setiyawan]]></dc:creator>
            <pubDate>Sat, 03 Sep 2022 10:59:06 GMT</pubDate>
            <atom:updated>2022-09-03T10:59:06.661Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TK5p7V7NoynBao0AwVKVwg.jpeg" /><figcaption>Picture 1: Last Meet Up Aqua Developer Batch 2</figcaption></figure><p>Hajimemashite, mediumers!!!</p><p>Here I will bring an article about OneFish Design System, at the last meeting of Aqua Developer, eFishery Academy. Here’s the explanation.</p><h3><strong>1. Design System</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eUXPskcKu-sAuPAX.jpeg" /><figcaption>Picture 2: Design System</figcaption></figure><p>A design system is a unified language that helps a team solve problems consistently. Pieces of a design system can include guiding principles, brand elements, voice and tone guidelines, code standards, and a UI library. Innovation and technological advancements bring rapid shifts and new discoveries to the market. The user is continuously evolving so the organization needs to build and iterate the product quickly. Building faster and more scalable products while maintaining a consistent and cohesive experience is the new metric for products and businesses to succeed.</p><p>This urge to build products better, faster, and more scalable leads to the Design System. Let us consider Outlook, One-drive, and PowerPoint by Microsoft. Each one of these has very different functionalities and is available across different devices. But the experience is consistent and cohesive since it is governed by Microsoft <a href="https://www.microsoft.com/design/fluent/#/">Fluent Design System</a>.</p><p>To build a Design System, you can start with the resources you have. Document and understand the existing components, their context, and functionality. Now facilitate these components into primitives in a similar way organism breaks down into <a href="https://atomicdesign.bradfrost.com/chapter-2/">atoms</a>. These primitives are used to design interrelated and interdependent parts called <a href="https://ui-patterns.com/patterns">UI Patterns</a>. These patterns will be governed by guidelines that are established by analyzing context and functionality.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bI9zOr_Iei053Sa_.jpeg" /><figcaption>Picture 3: UI Patterns</figcaption></figure><p>“Standing on the shoulders of giants”. Organizations like Google, IBM, and Microsoft have an open-source <a href="https://designsystemsrepo.com/design-systems/"><strong>design system</strong></a>. A lot can be taken from these existing design systems. Building a design system is a continuous improvement cycle and evolves as the product matures. If a design system component doesn’t support the required functionality or context, it should be designed and added using the primitives.</p><p>The design system is a set of guidelines and reusable components with functionality across different devices that <strong>speed up the building, delivering, and iterating process</strong> while maintaining product quality. The design system consists of the style guides, components, coding conventions, and policies that govern it, with the fundamental purpose to facilitate the work of the teams.</p><h3>Wrapping up</h3><p>A design System is basically a product to design products. It keeps evolving itself as the products mature. As Product Designers, we have the challenge to design faster, better, and scalable and the solution is a Design System.</p><h3><strong>2. OneFish Design System</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oX7jcvWlbeb29lEG" /><figcaption>Picture 4: OneFish Design System</figcaption></figure><p>OneFish is eFishery’s design language system. This is a collection of guidelines and components which can be used to create simple, intuitive, and beautiful experiences. The Onefish Design System includes the resources to create user interfaces consistent with the Onefish principles, design language, and best practices. User experience focus on interactions, and flows.</p><h3><strong>3. React js as Basic</strong></h3><p>React is a JavaScript library for building user interfaces. React has been designed from the start for gradual adoption, and you can use as little or as much React as you need. Whether you want to get a taste of React, add some interactivity to a simple HTML page, or start a complex React-powered app, the links in this section will help you get started.</p><p>People come to React from different backgrounds and with different learning styles. Whether you prefer a more theoretical or a practical approach, we hope you’ll find this section helpful.</p><ul><li>If you prefer to <strong>learn by doing</strong>, start with our <a href="https://reactjs.org/tutorial/tutorial.html">practical tutorial</a>.</li><li>If you prefer to <strong>learn concepts step by step</strong>, start with our <a href="https://reactjs.org/docs/hello-world.html">guide to the main concepts</a>.</li></ul><p>Like any unfamiliar technology, React does have a learning curve. With practice and some patience, you <em>will</em> get the hang of it.</p><h3>Tutorial React js</h3><p>The techniques you’ll learn in the tutorial are fundamental to building any React app, and mastering it will give you a deep understanding of React. This tutorial is designed for people who prefer to <strong>learn by doing</strong>. If you prefer learning concepts from the ground up, check out our <a href="https://reactjs.org/docs/hello-world.html">step-by-step guide</a>. You might find this tutorial and the guide complementary to each other.</p><p>The tutorial is divided into several sections:</p><ul><li><a href="https://reactjs.org/tutorial/tutorial.html#setup-for-the-tutorial">Setup for the Tutorial</a> will give you <strong>a starting point</strong> to follow the tutorial.</li><li>The overview will teach you <strong>the fundamentals</strong> of React: components, props, and state.</li><li><a href="https://reactjs.org/tutorial/tutorial.html#completing-the-game">Completing the Game</a> will teach you <strong>the most common techniques</strong> in React development.</li><li><a href="https://reactjs.org/tutorial/tutorial.html#adding-time-travel">Adding Time Travel</a> will give you <strong>a deeper insight</strong> into the unique strengths of React.</li></ul><p>You don’t have to complete all of the sections at once to get the value out of this tutorial. Try to get as far as you can — even if it’s one or two sections. For the complete React js tutorial, you can access this article reference.</p><p>This is the article about OneFish Design System which is the last article for Aqua Developer, eFishery Academy. If there are criticisms and suggestions, you can put them in the medium comment column. That is all and thank you.</p><p>Ref:</p><p>eFishery presentation material, accessed on September 3rd, 2022</p><p><a href="https://medium.muz.li/design-system-why-how-and-what-dbf3943e7629">https://medium.muz.li/design-system-why-how-and-what-dbf3943e7629</a>, accessed on September 3rd, 2022</p><p><a href="https://reactjs.org/tutorial/tutorial.html#setup-option-2-local-development-environment">https://reactjs.org/tutorial/tutorial.html#setup-option-2-local-development-environment</a>, accessed on September 3rd, 2022</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5f719edf40e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Docker and GitHub Action]]></title>
            <link>https://medium.com/@stywanheri/docker-3aab6cd8cfbd?source=rss-c92396121f82------2</link>
            <guid isPermaLink="false">https://medium.com/p/3aab6cd8cfbd</guid>
            <category><![CDATA[tumbuh-bersama]]></category>
            <category><![CDATA[aqua-developer]]></category>
            <category><![CDATA[efishery-academy]]></category>
            <category><![CDATA[efishery]]></category>
            <dc:creator><![CDATA[Febry Heri Setiyawan]]></dc:creator>
            <pubDate>Sat, 03 Sep 2022 09:50:47 GMT</pubDate>
            <atom:updated>2022-09-04T12:53:56.027Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5Pa3sRaJbMrYK9ll" /><figcaption>Picture 1: Docker and GitHub Action (<a href="https://lab.github.com/githubtraining/github-actions:-write-docker-container-actions">https://lab.github.com/githubtraining/github-actions:-write-docker-container-actions</a>)</figcaption></figure><p>Hajimemashite, mediumers!!!</p><p>In this article, I will discuss Docker and GitHub Action from their understanding, components, and how to implement them in the technology world. Here’s a summary.</p><h3>1. Docker</h3><p>Docker is a set of platform-as-a-service products that use OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries, and configuration files; they can communicate with each other through well-defined channels. All containers are run by a single <a href="https://en.wikipedia.org/wiki/Kernel_(operating_system)">operating-system kernel</a> and are thus more lightweight than <a href="https://en.wikipedia.org/wiki/Virtual_machine">virtual machines</a>. Docker, for example, allows the WordPress content management system to run flawlessly on Windows, Linux, and macOS systems.</p><h3>Docker Container</h3><p>Docker Container is a standardized unit that can be created on the fly to deploy a particular application or environment. It could be an Ubuntu container, CentOs container, etc. to fulfill the requirement from an operating system point of view. Also, it could be an application-oriented container like a CakePHP container or a Tomcat-Ubuntu container, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/242/0*0StGyW6UKwP-WXBM" /><figcaption>Picture 2: Docker Containers</figcaption></figure><p>Container management is simple with the Docker API or command-line interface (CLI). If multiple containers are required, the Docker compose tool can be used to manage them. Using Docker containers saves users the hassle of troubleshooting possible compatibility issues between systems. That’s because, with Docker, a piece of software runs the same in all environments.</p><h3>Docker Concepts</h3><p>Docker is a platform for developers and sysadmins to build, share, and run applications with containers. The use of containers to deploy applications is called <em>containerization</em>. Containers are not new, but their use for easily deploying applications is.</p><p>Containerisation is increasingly popular because containers are:</p><ul><li>Flexible: Even the most complex applications can be containerized.</li><li>Lightweight: Containers leverage and share the host kernel, making them much more efficient in terms of system resources than virtual machines.</li><li>Portable: You can build locally, deploy to the cloud, and run anywhere.</li><li>Loosely coupled: Containers are highly self-sufficient and encapsulated, allowing you to replace or upgrade one without disrupting others.</li><li>Scalable: You can increase and automatically distribute container replicas across a data center.</li><li>Secure: Containers apply aggressive constraints and isolations to processes without any configuration required on the part of the user.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/0*SQRRryg5Dl_BXh7V" /><figcaption>Picture 3: How Docker Containers running</figcaption></figure><h3>Docker and Virtual Machine</h3><p>While Docker and virtual machines serve similar functions, they differ significantly in terms of performance, OS support, and portability.</p><p>The primary distinction is that Docker containers share the host’s operating system, whereas virtual machines run a guest operating system on top of the host system. This mode of operation has an impact on performance, hardware requirements, and OS support. A detailed comparison can be found in the table below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*uCCw8InfeiYdik_k.png" /><figcaption>Picture 4: Docker and Virtual Machine</figcaption></figure><p>A container runs <em>natively</em> on Linux and shares the kernel of the host machine with other containers. It runs a discrete process, taking no more memory than any other executable, making it lightweight.</p><p>By contrast, a virtual machine (VM) runs a full-blown “guest” operating system with <em>virtual</em> access to host resources through a hypervisor. In general, VMs incur a lot of overhead beyond what is being consumed by your application logic.</p><p>lets me summarise the learning till now:</p><ul><li>Virtual Machines are slow and take a lot of time to boot.</li><li>Containers are fast and boot quickly as it uses the host operating system and shares the relevant libraries.</li><li>Containers do not waste or block host resources, unlike virtual machines.</li><li>Containers have isolated libraries and binaries specific to the application they are running.</li><li>Containers are handled by the Containerisation engine.</li><li>Docker is one of the containerization platforms which can be used to create and run containers.</li><li>Unlike VMs( Virtual Machines ) that run on a Guest OS, using a hypervisor, Docker containers run directly on a host server (for Linux), using a Docker engine, making it faster and lightweight.</li><li>Docker containers can be easily integrated compared to VMs.</li><li>With a fully virtualized system, you get more isolation. However, it requires more resources. With Docker, you get less isolation. However, as it requires fewer resources, you can run thousands of containers on a host.</li><li>A VM can take a minimum of one minute to start, while a Docker container usually starts in a fraction of a second.</li><li>Containers are easier to break out of than a Virtual Machine.</li><li>Unlike VMs there is no need to preallocate the RAM. Hence docker containers utilize less RAM compared to VMs. So only the amount of RAM that is required is used.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/0*KrpfSjUYLcnnZaFD.png" /><figcaption>Picture 5: Comparison of using Docker and Virtual Machine</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/0*IR7Gqt5ZIAZR52-1.png" /><figcaption>Picture 6: Comparison of using Docker and Virtual Machine</figcaption></figure><h3>Docker and Kubernetes</h3><p>While Docker is a container runtime, Kubernetes is a platform for running and managing containers from many container runtimes. Kubernetes supports numerous container runtimes including Docker, containers, CRI-O, and any implementation of the Kubernetes CRI (Container Runtime Interface). A good metaphor is Kubernetes as an “operating system” and Docker containers are “apps” that you install on the “operating system”.</p><p>On its own, Docker is highly beneficial to modern application development. It solves the classic problem of “works on my machine” but then nowhere else. The container orchestration tool Docker Swarm is capable of handling a production container workload deployment of a few containers. When a system grows and needs to add many containers networked to each other, standalone Docker can face some growing pains that Kubernetes helps address.</p><p>When comparing the two, a better comparison is of Kubernetes with Docker Swarm. Docker Swarm, or Docker swarm mode, is a container orchestration tool like Kubernetes, meaning it allows the management of multiple containers deployed across multiple hosts running the Docker server. <a href="https://docs.docker.com/engine/swarm/swarm-mode/">Swarm mode is disabled</a> by default and is something that needs to be set up and configured by a DevOps team.</p><p>Kubernetes orchestrates clusters of machines to work together and schedules containers to run on those machines based on their available resources. Containers are grouped together, through declarative definition, into pods, which is the basic unit of Kubernetes. Kubernetes automatically manages things like service discovery, load balancing, resource allocation, isolation, and scaling your pods vertically or horizontally. It has been embraced by the open-source community and is now part of the Cloud Native Computing Foundation. Amazon, Microsoft, and Google all offer managed Kubernetes services on their cloud computing platforms, which significantly reduces the operational burden of running and maintaining Kubernetes clusters and their containerized workloads.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iKyp4h1PBf2SPZST" /><figcaption>Picture 6: Docker and Kubernetes</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*R-7Gwtqy89-BVQUy" /><figcaption>Picture 7: Comparison Using of Docker and Kubernetes</figcaption></figure><p>So if both Docker Swarm and Kubernetes are container orchestration platforms, which do you choose?</p><p>Docker Swarm typically requires less setup and configuration than Kubernetes if you’re building and running your own infrastructure. It offers the same benefits as Kubernetes, like deploying your application through declarative YAML files, automatically scaling services to your desired state, load balancing across containers within the cluster, and security and access control across your services. If you have few workloads running, don’t mind managing your own infrastructure, or don’t need a specific feature Kubernetes offers, then Docker Swarm may be a great choice.</p><p>Kubernetes is more complex to set up in the beginning but offers greater flexibility and features. It also has wide support from an active open source community. Kubernetes supports multiple deployment strategies out of the box, can manage your network ingress, and provides observability out of the box into your containers. All major cloud vendors offer managed Kubernetes services that make it significantly easier to get started and take advantage of cloud-native features, like auto-scaling. If you are running many workloads and require cloud-native interoperability, and have many teams in your organization, which creates the need for greater isolation of services, then Kubernetes is likely the platform you should consider.</p><h3>2. How to Docker Work?</h3><p>Along with Docker containers, which we discussed earlier, the Docker architecture consists of four main components.</p><ul><li>Docker client — the primary component for developing, managing, and running containerized applications. The Docker client is the primary means of controlling the Docker server via a command line interface (CLI) such as Command Prompt (Windows) or Terminal (macOS, Linux).</li><li>Docker server — also known as the Docker daemon. It manages images and containers while waiting for REST API requests from the Docker client.</li><li>Docker images — provide instructions to the Docker server on how to create a Docker container. Images can be obtained from websites such as Docker Hub. It is also possible to create a custom image; to do so, users must create a Dockerfile and pass it to the server. It’s worth noting that Docker doesn’t remove any unused images, so users must delete image data before there’s too much of it.</li><li>Docker registry — an open-source server-side application for hosting and distributing Docker images. The registry is particularly useful for storing images locally while maintaining complete control over them. Users can also go to the aforementioned Docker Hub, which is the world’s largest repository of Docker images.</li></ul><p>Let’s talk about the functioning of Docker. Docker has a docker engine, which is the heart of the Docker system. It is a client-server application. It has three main components:</p><ul><li>A server is a type of long-running process called a daemon process.</li><li>A client which is Docker CLI( Command Line Interface), and</li><li>A REST API is used to communicate between the client( Docker CLI ) and the server ( Docker Daemon )</li></ul><p>The Docker daemon receives the command from the client and manages Docker <em>objects</em>, such as images, containers, networks, and volumes. The Docker client and daemon can either run on the same system, or you can connect a Docker client to a remote Docker daemon. They can communicate using a REST API, over UNIX sockets, or a network interface.</p><p>In Linux, the Docker host runs the docker daemon and the docker client can be accessed from the terminal.</p><p>In Windows/OS X, there is an additional tool called the Docker toolbox. This toolbox installs the docker environment on Win/OS system. This toolbox installs the following: Docker Client, Compose, Kitematic, Machine, and Virtual Box</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Lec-jFpOuGhcvgzO.png" /><figcaption>Picture 8: Docker Functioning on OS</figcaption></figure><h3>Technology Used in Docker</h3><p>The programming language used in Docker is GO. Docker takes advantage of various features of the Linux kernel namespaces and cgroups.</p><blockquote><strong>a. namespaces</strong></blockquote><p>Docker uses namespaces to provide an isolated workspace called containers. When a container is run, docker creates a set of namespaces for it, providing a layer of isolation. Each aspect of a container runs in a separate namespace and its access is limited to that namespace.</p><blockquote><strong>b. cgroups ( control groups ):</strong></blockquote><p>Cgroups are used to limit and isolate the resource usage( CPU, memory, Disk I/O, network, etc ) of a collection of processes. cgroups allow Docker engine to share the available hardware resources to containers and optionally enforce limits and constraints.</p><blockquote><strong>c. UnionFS ( Union file systems )</strong></blockquote><p>UnionFS are file systems that operate by creating layers, making them very lightweight and fast. It is used by the Docker engine to provide the building blocks for containers. Docker Engine combines the namespaces, cgroups, and UnionFS into a wrapper called a container format. The default container format is libcontainer.</p><h3>Docker Use Cases</h3><p>Docker has numerous applications. In this section, we’ll look at three common Docker use cases and explain how they can help you.</p><ul><li>Docker allows you to test new software without having to install it manually. Docker is also useful when you need a piece of software to be ready quickly. Setting up a MySQL server, for example, is a time-consuming and labor-intensive process. It only takes one command in the Docker CLI to a</li><li>Although Docker can run on any machine, it was designed primarily for Linux. As a result, we recommend installing it on a Linux-based system. It will give you a great chance to learn more about system administration, command-line interfaces, and scripting.</li><li>If a Docker image is available, users can quickly undo any changes in the event of a hardware failure. They only need to copy the image backup to a new machine, and Docker will take care of the rest. Docker image backups are also useful when developers need to revert to an earlier version of a piece of software due to bugs or incompatibility.</li></ul><h3>3. Install Docker Desktop</h3><p>The best way to get started developing containerized applications is with Docker Desktop, for OSX or Windows. Docker Desktop will allow you to easily set up Kubernetes or Swarm on your local development machine, so you can use all the features of the orchestrator you’re developing applications for right away, no cluster required. Follow the installation instructions appropriate for your operating system:</p><ul><li><a href="https://docs.docker.com/docker-for-mac/install/">OSX</a></li><li><a href="https://docs.docker.com/docker-for-windows/install/">Windows</a></li></ul><p>Docker Daily use commands:</p><blockquote><strong>a. docker –version</strong></blockquote><p>This command is used to get the currently installed version of docker</p><blockquote><strong>b. docker pull</strong></blockquote><p><strong>Usage: docker pull &lt;image name&gt;. </strong>This command is used to pull images from the <strong>docker</strong></p><blockquote><strong>c. docker run</strong></blockquote><p><strong>Usage: docker run -it -d &lt;image name&gt;. </strong>This command is used to create a container from an image</p><blockquote><strong>d. docker ps</strong></blockquote><p>This command is used to list the running containers</p><blockquote><strong>e. docker ps -a</strong></blockquote><p>This command is used to show all the running and exited containers</p><blockquote><strong>f. docker exec</strong></blockquote><p><strong>Usage: docker exec -it &lt;container id&gt; bash. </strong>This command is used to access the running container</p><blockquote><strong>g. docker stop</strong></blockquote><p><strong>Usage: docker stop &lt;container id&gt;. </strong>This command stops a running container</p><blockquote><strong>h. docker kill</strong></blockquote><p><strong>Usage: docker kill &lt;container id&gt;. </strong>This command kills the container by stopping its execution immediately. The difference between ‘docker kill’ and ‘docker stop’ is that ‘docker stop’ gives the container time to shutdown gracefully, in situations when it is taking too much time for get the container to stop, one can opt to kill it</p><blockquote><strong>i. docker commit</strong></blockquote><p><strong>Usage: docker commit &lt;conatainer id&gt; &lt;username/imagename&gt;. </strong>This command creates a new image of an edited container on the local system</p><blockquote><strong>j. docker login</strong></blockquote><p>This command is used to log in to the docker hub repository</p><blockquote><strong>k. docker push</strong></blockquote><p><strong>Usage: docker push &lt;username/image name&gt;. </strong>This command is used to push an image to the docker hub repository</p><blockquote><strong>l. docker images</strong></blockquote><p>This command lists all the locally stored docker images</p><blockquote><strong>m. docker rm</strong></blockquote><p><strong>Usage: docker rm &lt;container id&gt;. </strong>This command is used to delete a stopped container</p><blockquote><strong>n. docker rmi</strong></blockquote><p><strong>Usage: docker rmi &lt;image-id&gt;. </strong>This command is used to delete an image from local storage</p><blockquote><strong>o. docker build</strong></blockquote><p><strong>Usage: docker build &lt;path to docker file&gt;. </strong>This command is used to build an image from a specified docker file</p><h3>4. Implementation</h3><p>Let&#39;s say we have a PHP application and want to deploy it to our staging or production server. First, we make sure we have the docker configuration script included in the root directory of the application.</p><p><strong>Create a Dockerfile in your application</strong></p><p>Create a file with the name Dockerfile at the root of your application and include the code below to tell docker what to do when running in the production or staging environment</p><pre>FROM PHP:7.2-Apache<br>COPY src/ /var/www/html/<br>EXPOSE 80</pre><p>Above is a sample docker script that configures PHP version 7.2 on a staging or production server, and copies the PHP files from /src directory to<strong> </strong>/var/www/html/ and expose port 80 to be reached.</p><p><strong>Installing Docker on Staging Or Production Server</strong></p><p>For Mac get docker <a href="https://docs.docker.com/docker-for-mac/install/">here</a>.</p><p>For Windows go <a href="https://docs.docker.com/docker-for-windows/install/">here</a>.</p><p><strong>Running Docker</strong></p><p>After docker is installed on the staging or production server, <strong><em>click on the whale icon</em></strong> to run docker</p><p><strong>Deploying Your Application</strong></p><p>Copy the application to the staging or production server and do the following</p><ul><li>Navigate to the project directory on the terminal and create a docker image.</li></ul><p>Run the following command in the terminal and it will create a docker image of the application and download all the necessary dependencies needed for the application to run successfully</p><pre>docker build -t &lt;name to give to your image&gt;</pre><ul><li>Convert the Docker image of the Application into a Running container.</li></ul><p>Run the following command in the terminal and it will use create a running container with all the needed dependencies and start the application.</p><pre>docker run -p 9090:80 &lt;name to give to your container&gt;</pre><p>The 9090 is the port we want to access our application on. 80 is the port the container is exposing for the host to access.</p><h3>Below are some useful Docker commands</h3><p><strong>Stopping a running image</strong></p><pre>docker stop &lt;id-of-image&gt;</pre><p><strong>Starting an image that is not running</strong></p><pre>docker start &lt;id-of-image&gt;</pre><p><strong>Removing an image from docker</strong></p><pre>docker rmi &lt;id-of-image&gt;</pre><p><strong>Removing a container from docker</strong></p><pre>docker rm &lt;id-of-container&gt;</pre><h3><strong>5. Docker Orchestration</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1019/0*BqP_eyH6eZjIn6TI" /><figcaption>Picture 9: DockerOrchestration <a href="https://codeblog.dotsandbrackets.com/docker-stack/">https://codeblog.dotsandbrackets.com/docker-stack/</a>)(</figcaption></figure><p>Container orchestration is the automatic process of managing or scheduling the work of individual containers for applications based on <a href="https://www-stage.avinetworks.com/what-are-microservices-and-containers/">microservices</a> within multiple clusters. The widely deployed container orchestration platforms are based on open-source versions like Kubernetes, Docker Swarm, or the commercial version from Red Hat OpenShift. The Docker container orchestration tool, can package and run applications as containers, find existing container images from others, and deploy a container on a laptop, server, or cloud (public cloud or private). Docker container orchestration requires one of the simplest configurations.</p><h3>Why Do We Need Container Orchestration?</h3><p>Container orchestration is used to automate the following tasks at scale:<br>• Configuring and scheduling containers<br>• Provisioning and deployments of containers<br>• Availability of containers<br>• The configuration of applications in terms of the containers that they run in<br>• Scaling of containers to equally balance application workloads across infrastructure<br>• Allocation of resources between containers<br>• Load balancing, traffic routing, and service discovery of containers<br>• Health monitoring of containers<br>• Securing the interactions between containers.</p><h3>How Does Container Orchestration Work?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VrBLcnHQjOX0Vo2N.png" /><figcaption>Picture 10: Docker Orchestration’s Work</figcaption></figure><p>Container orchestration works with tools like Kubernetes and Docker Swarm. Configuration files tell the container orchestration tool how to network between containers and where to store logs. The orchestration tool also schedules the deployment of containers into clusters and determines the best host for the container. After a host is decided, the orchestration tool manages the lifecycle of the container based on predetermined specifications. Container orchestration tools work in any environment that runs containers.</p><p>Orchestration tools for Docker include the following:<br>• Docker Machine — Provisions hosts and installs Docker Engine.<br>• Docker Swarm — Clusters multiple Docker hosts under a single host. It can also integrate with any tool that works with a single Docker host.<br>• Docker Compose — Deploys multi-container applications by creating the required containers.</p><p><a href="https://www-stage.avinetworks.com/service-mesh-for-openshift-kubernetes/">Orchestration tools for Kubernetes</a> include the following features:<br>• Automated deployment and replication of containers.<br>• Online scale-in or scale-out of container clusters.<br>• <a href="https://www-stage.avinetworks.com/what-is-load-balancing/">Load balancing </a>groups of containers.<br>• Automated rescheduling of failed containers.<br>• Controlled exposure of network ports to systems outside of the cluster.</p><h3>Benefits of Containerized Orchestration Tools</h3><p>• Increased portability — Scale applications with a single command and only scale specific functions without affecting the entire application.<br>• Simple and fast deployment — Quickly create new containerized applications to address growing traffic.<br>• Enhanced productivity — Simplified installation process and decreased dependency errors.<br>• Improved security — Share specific resources without risking internal or external security. Application isolation improves <a href="https://www-stage.avinetworks.com/what-is-a-web-application-firewall/">web application security</a> by separating each application’s process into different containers.</p><h3>Docker Container Orchestration vs. Kubernetes Container Orchestration</h3><p>The Docker container orchestration tool, also known as Docker Swarm, can package and run applications as containers, find existing container images from others, and deploy a container on a laptop, server or cloud (public cloud or private). Docker container orchestration requires one of the simplest configurations.</p><p>Orchestration in <a href="https://www-stage.avinetworks.com/kubernetes-ingress-controller/">container services for Kubernetes</a> allows container clustering via a container orchestration engine. Kubernetes has declarative management that hides complexity and is open source so you can run it anywhere.</p><h3>Does Avi Integrate with Container Orchestration?</h3><p>Avi provides a centrally orchestrated, ingress gateway for containers composed of a fabric of proxy services with dynamic load balancing, service discovery, security, micro-segmentation, and analytics for container-based applications running in OpenShift and Kubernetes environments.</p><p>Avi Networks delivers a scalable, enterprise-class <a href="https://www-stage.avinetworks.com/container-ingress/">Container Ingress</a> to deploy and manage business-critical workloads in production environments using Redhat container orchestration with OpenShift and Kubernetes clusters.</p><h3><strong>6. Github Action</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oaCUpAOx-fZiZkqF.jpg" /><figcaption>Picture 11: Github Action</figcaption></figure><p>GitHub Actions is a continuous integration and continuous delivery (CI/CD) platform that allows you to automate your build, test, and deployment pipeline. You can create workflows that build and test every pull request to your repository or deploy merged pull requests to production.</p><p>GitHub Actions goes beyond just DevOps and lets you run workflows when other events happen in your repository. For example, you can run a workflow to automatically add the appropriate labels whenever someone creates a new issue in your repository.</p><p>GitHub provides Linux, Windows, and macOS virtual machines to run your workflows, or you can host your own self-hosted runners in your own data center or cloud infrastructure.</p><h3>The components of GitHub Actions</h3><p>You can configure a GitHub Actions <em>workflow</em> to be triggered when an <em>event</em> occurs in your repositories, such as a pull request being opened or an issue being created. Your workflow contains one or more <em>jobs</em> that can run in sequential order or in parallel. Each job will run inside its own virtual machine <em>runner</em>, or inside a container, and has one or more <em>steps</em> that either run a script that you define or run an <em>action</em>, which is a reusable extension that can simplify your workflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ijnYCfBfEOLZLE3c.png" /><figcaption>Picture 12: GitHub Action Workflow</figcaption></figure><h3>Workflows</h3><p>A workflow is a configurable automated process that will run one or more jobs. Workflows are defined by a YAML file checked in to your repository and will run when triggered by an event in your repository, or they can be triggered manually, or at a defined schedule.</p><p>Workflows are defined in the .github/workflows directory in a repository, and a repository can have multiple workflows, each of which can perform a different set of tasks. For example, you can have one workflow to build and test pull requests, another workflow to deploy your application every time a release is created, and still another workflow that adds a label every time someone opens a new issue.</p><p>You can reference a workflow within another workflow, see “<a href="https://docs.github.com/en/actions/learn-github-actions/reusing-workflows">Reusing workflows</a>.”</p><h3>Events</h3><p>An event is a specific activity in a repository that triggers a workflow run. For example, activity can originate from GitHub when someone creates a pull request, opens an issue, or pushes a commit to a repository. You can also trigger a workflow run on a schedule, by <a href="https://docs.github.com/en/rest/reference/repos#create-a-repository-dispatch-event">posting to a REST API</a>, or manually.</p><p>For a complete list of events that can be used to trigger workflows, see <a href="https://docs.github.com/en/actions/reference/events-that-trigger-workflows">Events that trigger workflows</a>.</p><h3>Jobs</h3><p>A job is a set of <em>steps</em> in a workflow that execute on the same runner. Each step is either a shell script that will be executed, or an <em>action</em> that will be run. Steps are executed in order and are dependent on each other. Since each step is executed on the same runner, you can share data from one step to another. For example, you can have a step that builds your application followed by a step that tests the application that was built.</p><p>You can configure a job’s dependencies with other jobs; by default, jobs have no dependencies and run in parallel with each other. When a job takes a dependency on another job, it will wait for the dependent job to complete before it can run. For example, you may have multiple build jobs for different architectures that have no dependencies, and a packaging job that is dependent on those jobs. The build jobs will run in parallel, and when they have all completed successfully, the packaging job will run.</p><p>For more information about jobs, see “<a href="https://docs.github.com/en/actions/using-jobs">Using jobs</a>.”</p><h3>Actions</h3><p>An <em>action</em> is a custom application for the GitHub Actions platform that performs a complex but frequently repeated task. Use an action to help reduce the amount of repetitive code that you write in your workflow files. An action can pull your git repository from GitHub, set up the correct toolchain for your build environment, or set up the authentication to your cloud provider.</p><p>You can write your own actions, or you can find actions to use in your workflows in the GitHub Marketplace.</p><p>For more information, see “<a href="https://docs.github.com/en/actions/creating-actions">Creating actions</a>.”</p><h3>Runners</h3><p>A runner is a server that runs your workflows when they’re triggered. Each runner can run a single job at a time. GitHub provides Ubuntu Linux, Microsoft Windows, and macOS runners to run your workflows; each workflow run executes in a fresh, newly-provisioned virtual machine. GitHub also offers larger runners, which are available in larger configurations. For more information, see “<a href="https://docs.github.com/en/actions/using-github-hosted-runners/using-larger-runners">Using larger runners</a>.” If you need a different operating system or require a specific hardware configuration, you can host your own runners. For more information about self-hosted runners, see “<a href="https://docs.github.com/en/actions/hosting-your-own-runners">Hosting your own runners</a>.”</p><p>For more information about workflows, see “<a href="https://docs.github.com/en/actions/using-workflows">Using workflows</a>.”</p><p>That’s the explanation about Docker and GitHub Action that I got at the ninth meeting of Aqua Developer, eFishery Academy. If there are criticisms and suggestions, they can be written in the comments column in the medium. That is all and thank you.</p><p>Ref:</p><p>eFishery presentation material, accessed on September 3rd, 2022</p><p><a href="https://myhistoryfeed.medium.com/docker-explained-cfff1df64dd9">https://myhistoryfeed.medium.com/docker-explained-cfff1df64dd9</a>, accessed on September 3rd, 2022</p><p><a href="https://docker-curriculum.com/#why-use-containers-">https://docker-curriculum.com/#why-use-containers-</a>, accessed on September 3rd, 2022</p><p><a href="https://www.atlassian.com/microservices/microservices-architecture/kubernetes-vs-docker#:~:text=While%20Docker%20is%20a%20container,CRI%20(Container%20Runtime%20Interface).">https://www.atlassian.com/microservices/microservices-architecture/kubernetes-vs-docker#:~:text=While%20Docker%20is%20a%20container,CRI%20(Container%20Runtime%20Interface).</a>, accessed on September 3rd, 2022</p><p><a href="https://medium.com/@kmdkhadeer/docker-get-started-9aa7ee662cea">https://medium.com/@kmdkhadeer/docker-get-started-9aa7ee662cea</a>, accessed on September 3rd, 2022</p><p><a href="https://docs.github.com/en/actions/creating-actions/creating-a-docker-container-action">https://docs.github.com/en/actions/creating-actions/creating-a-docker-container-action</a>, accessed on September 3rd, 2022</p><p><a href="https://avinetworks.com/glossary/container-orchestration/#:~:text=The%20Docker%20container%20orchestration%20tool,one%20of%20the%20simplest%20configurations">https://avinetworks.com/glossary/container-orchestration/#:~:text=The%20Docker%20container%20orchestration%20tool,one%20of%20the%20simplest%20configurations</a>., accessed on September 3rd, 2022</p><p><a href="https://docs.docker.com/get-started/orchestration/">https://docs.docker.com/get-started/orchestration/</a>, acessed on September 3rd, 2022</p><p><a href="https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions">https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions</a>, accessed on September 3rd, 2022</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3aab6cd8cfbd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cloud Native]]></title>
            <link>https://medium.com/@stywanheri/cloud-native-58392b4ea8a9?source=rss-c92396121f82------2</link>
            <guid isPermaLink="false">https://medium.com/p/58392b4ea8a9</guid>
            <category><![CDATA[efishery-academy]]></category>
            <category><![CDATA[tumbuh-bersama]]></category>
            <category><![CDATA[aqua-developer]]></category>
            <category><![CDATA[efishery]]></category>
            <dc:creator><![CDATA[Febry Heri Setiyawan]]></dc:creator>
            <pubDate>Sat, 03 Sep 2022 08:08:19 GMT</pubDate>
            <atom:updated>2022-09-03T08:08:19.815Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/0*YMgF4cORAudu-JNd.png" /><figcaption>Picture 1: Cloud Native (<a href="https://developpaper.com/goodbye-localhost/">https://developpaper.com/goodbye-localhost/</a>)</figcaption></figure><p>Hajimemashite, mediumers!!!</p><p>In this article, I will discuss the basics of Cloud Native, feature as an implementation according to the material presented at the 8th meeting of the eFishery Academy. Here’s the explanation</p><p>According to the definition of <a href="https://www.cncf.io/">CNCF (Cloud Native Computing Foundation)</a>, Cloud-native technologies is a tech innovations to empower organizations to build and run scalable applications in modern, dynamic environments such as public, private, and hybrid clouds. Containers, service meshes, microservices, immutable infrastructure, and declarative APIs exemplify this approach. These techniques enable loosely coupled systems that are resilient, manageable, and observable. Combined with robust automation, they allow engineers to make high-impact changes frequently and predictably with minimal toil.</p><p>Cloud-native is about <em>speed</em> and <em>agility</em>. Business systems are evolving from enabling business capabilities to weapons of strategic transformation that accelerate business velocity and growth. It’s imperative to get new ideas to market immediately.</p><p>At the same time, business systems have also become increasingly complex with users demanding more. They expect rapid responsiveness, innovative features, and zero downtime. Performance problems, recurring errors, and the inability to move fast are no longer acceptable. Your users will visit your competitor. Cloud-native systems are designed to embrace rapid change, large scale, and resilience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/884/0*6UWevGAwyPmZm-3D" /><figcaption>Picture 2: Cloud Native Trail Map (<a href="https://www.cncf.io/">www.cncf.io</a>)</figcaption></figure><p>The poster above explains the basic implementation of cloud-native which is often used by technology companies who are familiar with data storage via the cloud, both on small and massive scale. In addition to the basic cloud, there are some clues about how the data storage flow is managed by the company by applying the available cloud technology. After knowing the understanding and initial description of cloud-native, here are the components in cloud native such as:</p><h3>The pillars of Cloud Native</h3><p>The speed and agility of cloud-native derive from many factors. Foremost is <em>cloud infrastructure</em>. But there’s more: Five other foundational pillars shown in picture 3 also provide the bedrock for cloud-native systems. Let’s take some time to better understand the significance of each pillar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/0*AcZJzQP21Cd1ckia.png" /><figcaption>Picture 3: The Pillars of Cloud Native</figcaption></figure><h3>a. The Cloud</h3><p>Cloud-native systems take full advantage of the cloud service model. Designed to thrive in a dynamic, virtualized cloud environment, these systems make extensive use of <a href="https://azure.microsoft.com/overview/what-is-paas/">Platform as a Service (PaaS)</a> compute infrastructure and managed services. They treat the underlying infrastructure as <em>disposable</em> — provisioned in minutes and resized, scaled, or destroyed on demand — via automation. Consider the widely accepted DevOps concept of <a href="https://medium.com/@Joachim8675309/devops-concepts-pets-vs-cattle-2380b5aab313">Pets vs. Cattle</a>. In a traditional data center, servers are treated as <em>Pets</em>: physical machines, given a meaningful name, and <em>cared</em> for. You scale by adding more resources to the same machine (scaling up). If the server becomes sick, you nurse it back to health. Should the server become unavailable, everyone notice?</p><p>The <em>Cattle</em> service model is different. You provision each instance as a virtual machine or container. They’re identical and assigned a system identifier such as Service-01, Service-02, and so on. You scale by creating more of them (scaling out). When one becomes unavailable, nobody notices. The cattle model embraces <em>immutable infrastructure</em>. Servers aren’t repaired or modified. If one fails or requires updating, it’s destroyed and a new one is provisioned — all done via automation. Cloud-native systems embrace the Cattle service model. They continue to run as the infrastructure scales in or out with no regard to the machines upon which they’re running.</p><h3>b. Modern Design</h3><p>How would you design a cloud-native app? What would your architecture look like? To what principles, patterns, and best practices would you adhere? What infrastructure and operational concerns would be important?</p><h3>c. The Twelve-Factor Application</h3><p>A widely accepted methodology for constructing cloud-based applications is the <a href="https://12factor.net/">Twelve-Factor Application</a>. It describes a set of principles and practices that developers follow to construct applications optimized for modern cloud environments. Special attention is given to portability across environments and declarative automation. While applicable to any web-based application, many practitioners consider Twelve-Factor a solid foundation for building cloud-native apps. Systems built upon these principles can deploy and scale rapidly and add features to react quickly to market changes. The following poster’s highlight the Twelve-Factor methodology:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/685/0*LAjymMA1YhbpI8dQ.png" /><figcaption>Picture 4: The 12 Factor App (https://ozone.com)</figcaption></figure><p>For details of each base, you can access the reference at the end of this article.</p><p>In addition to, in the book, <a href="https://content.pivotal.io/blog/beyond-the-twelve-factor-app">Beyond the Twelve-Factor App</a>, author Kevin Hoffman details each of the original 12 factors (written in 2011). Additionally, he discusses three extra factors that reflect today’s modern cloud application design.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/631/1*UZLUrhUM5nbUrRW7P0BWSQ.png" /><figcaption>Picture 5: Three Extra Factors</figcaption></figure><h3>d. Containers</h3><p>It’s natural to hear the term <em>container</em> mentioned in any <em>cloud native</em> conversation. In the book, <a href="https://www.manning.com/books/cloud-native-patterns">Cloud Native Patterns</a>, author Cornelia Davis observes that “Containers are a great enabler of cloud-native software.” The Cloud Native Computing Foundation places microservice containerization as the first step in their <a href="https://raw.githubusercontent.com/cncf/trailmap/master/CNCF_TrailMap_latest.png">Cloud-Native Trail Map</a> — guidance for enterprises beginning their cloud-native journey.</p><p>Containerizing a microservice is simple and straightforward. The code, its dependencies, and runtime are packaged into a binary called a <a href="https://docs.docker.com/glossary/?term=image">container image</a>. Images are stored in a container registry, which acts as a repository or library for images. A registry can be located on your development computer, in your data center, or in a public cloud. Docker itself maintains a public registry via <a href="https://hub.docker.com/">Docker Hub</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jpy43KPiVg-KyGsU" /><figcaption>Picture 6: Containers</figcaption></figure><p>When an application starts or scales, you transform the container image into a running container instance. The instance runs on any computer that has a <a href="https://kubernetes.io/docs/setup/production-environment/container-runtimes/">container runtime</a> engine installed. You can have as many instances of the containerized service as needed. Picture 7, shows three different microservices, each in its own container, all running on a single host.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/558/0*t2gWhjQDCF1rDM-K.png" /><figcaption>Picture 7: Multiple containers running on a container host</figcaption></figure><p>Note how each container maintains its own set of dependencies and runtime, which can be different from one another. Here, we see different versions of the Product microservice running on the same host. Each container shares a slice of the underlying host operating system, memory, and processor, but is isolated from one another. Note how well the container model embraces the Dependencies principle from the <a href="https://12factor.net/">Twelve-Factor Application</a>.</p><p>Containers support both Linux and Windows workloads. While several container vendors exist, <a href="https://www.docker.com/">Docker</a> has captured the lion’s share of the market. The company has been driving the software container movement. It has become the de facto standard for packaging, deploying, and running cloud-native applications. For more details about containers, you can access the ref at the end of this article.</p><h3>e. Microservices</h3><p>Cloud-native systems embrace microservices, a popular architectural style for constructing modern applications.</p><p>Built as a distributed set of small, independent services that interact through a shared fabric, microservices share the following characteristics:</p><ul><li>Each implements a specific business capability within a larger domain context.</li><li>Each is developed autonomously and can be deployed independently.</li><li>Each is self-contained encapsulating its own data storage technology, dependencies, and programming platform.</li><li>Each runs in its own process and communicates with others using standard communication protocols such as HTTP/HTTPS, gRPC, WebSockets, or <a href="https://en.wikipedia.org/wiki/Advanced_Message_Queuing_Protocol">AMQP</a>.</li><li>They compose together to form an application.</li></ul><p>Picture 8 contrasts a monolithic application approach with a microservices approach. Note how the monolith is composed of a layered architecture, which executes in a single process. It typically consumes a relational database. The microservice approach, however, segregates functionality into independent services, each with its own logic, state, and data. Each microservice hosts its own data store.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/0*S0sNTwiR1-1SEij5.png" /><figcaption>Picture 8: Microservice</figcaption></figure><p>Earlier in the chapter, we compared an eCommerce application built as a monolith to that with microservices. In the example, we saw some clear benefits:</p><ul><li>Each microservice has an autonomous lifecycle and can evolve independently and deploy frequently. You don’t have to wait for a quarterly release to deploy new features or updates. You can update a small area of a live application with less risk of disrupting the entire system. The update can be made without a full redeployment of the application.</li><li>Each microservice can scale independently. Instead of scaling the entire application as a single unit, you scale out only those services that require more processing power to meet desired performance levels and service-level agreements. Fine-grained scaling provides for greater control of your system and helps reduce overall costs as you scale portions of your system, not everything.</li></ul><p>While distributed cloud-native microservices can provide immense agility and speed, they present many challenges:</p><h4>Communication</h4><p>How will front-end client applications communicate with backed-end core microservices? Will you allow direct communication? Or, might you abstract the back-end microservices with a gateway facade that provides flexibility, control, and security?</p><p>How will back-end core microservices communicate with each other? Will you allow direct HTTP calls that can increase coupling and impact performance and agility? Or might you consider decoupled messaging with queue and topic technologies?</p><p>Communication is covered in the <a href="https://docs.microsoft.com/en-us/dotnet/architecture/cloud-native/communication-patterns">Cloud-native communication patterns</a> chapter.</p><h4>Resiliency</h4><p>A microservices architecture moves your system from in-process to out-of-process network communication. In a distributed architecture, what happens when Service B isn’t responding to a network call from Service A? Or, what happens when Service C becomes temporarily unavailable and other services calling it to become blocked?</p><p>Resiliency is covered in the <a href="https://docs.microsoft.com/en-us/dotnet/architecture/cloud-native/resiliency">Cloud-native resiliency</a> chapter.</p><h4>Distributed Data</h4><p>By design, each microservice encapsulates its own data, exposing operations via its public interface. If so, how do you query data or implement a transaction across multiple services?</p><p>Distributed data is covered in the <a href="https://docs.microsoft.com/en-us/dotnet/architecture/cloud-native/distributed-data">Cloud-native data patterns</a> chapter.</p><h4>Secrets</h4><p>How will your microservices securely store and manage secrets and sensitive configuration data?</p><p>Secrets are covered in detail <a href="https://docs.microsoft.com/en-us/dotnet/architecture/cloud-native/security">Cloud-native security</a>.</p><h3>Manage Complexity with Dapr</h3><p><a href="https://dapr.io/">Dapr</a> is a distributed, open-source application runtime. Through an architecture of pluggable components, it dramatically simplifies the <em>plumbing</em> behind distributed applications. It provides a dynamic glue that binds your application with pre-built infrastructure capabilities and components from the Dapr runtime. Picture 9 shows Dapr from 20,000 feet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zBEXgm7xUAkFCTG3.png" /><figcaption>Picture 9: Dapr</figcaption></figure><p>In the top row of the figure, note how Dapr provides <a href="https://docs.dapr.io/developing-applications/sdks/">language-specific SDKs</a> for popular development platforms. Dapr v1 includes support for .NET, Go, Node.js, Python, PHP, Java, and JavaScript.</p><p>While language-specific SDKs enhance the developer experience, Dapr is platform agnostic. Under the hood, Dapr’s programming model exposes capabilities through standard HTTP/gRPC communication protocols. Any programming platform can call Dapr via its native HTTP and gRPC APIs.</p><p>The blue boxes across the center of the figure represent the Dapr building blocks. Each exposes pre-built plumbing code for a distributed application capability that your application can consume.</p><p>The components row represents a large set of pre-defined infrastructure components that your application can consume. Think of components as infrastructure code you don’t have to write.</p><p>The bottom row highlights the portability of Dapr and the diverse environments across which it can run.</p><h3>f. Backing Services</h3><p>Cloud-native systems depend upon many different ancillary resources, such as data stores, message brokers, monitoring, and identity services. These services are known as <a href="https://12factor.net/backing-services">backing services</a>. Picture 10 shows many common backing services that cloud-native systems consume.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/562/0*Re-vngGOhjoyoJZK.png" /><figcaption>Picture 10: Backing Services</figcaption></figure><p>You could host your own backing services, but then you’d be responsible for licensing, provisioning, and managing those resources.</p><p>Cloud providers offer a rich assortment of <em>managed backing services.</em> Instead of owning the service, you simply consume it. The cloud provider operates the resource at scale and bears the responsibility for performance, security, and maintenance. Monitoring, redundancy, and availability are built into the service. Providers guarantee service level performance and fully support their managed services — open a ticket and they fix your issue. Cloud-native systems favor managed backing services from cloud vendors. The savings in time and labor can be significant. The operational risk of hosting your own and experiencing trouble can get expensive fast. A best practice is to treat a backing service as an attached resource, dynamically bound to a microservice with configuration information (a URL and credentials) stored in an external configuration. With this pattern, a backing service can be attached and detached without code changes. You might promote a microservice from QA to a staging environment. You update the microservice configuration to point to the backing services in staging and inject the settings into your container through an environment variable.</p><p>Cloud vendors provide APIs for you to communicate with their proprietary backing services. These libraries encapsulate the proprietary plumbing and complexity. However, communicating directly with these APIs will tightly couple your code to that specific backing service. It’s a widely accepted practice to insulate the implementation details of the vendor API. Introduce an intermediation layer, or intermediate API, exposing generic operations to your service code and wrapping the vendor code inside it. This loose coupling enables you to swap out one backing service for another or move your code to a different cloud environment without having to make changes to the mainline service code. Dapr, discussed earlier, follows this model with its set of <a href="https://docs.dapr.io/developing-applications/building-blocks/">prebuilt building blocks</a>.</p><h3>g. Automation</h3><p>As you’ve seen, cloud-native systems embrace microservices, containers, and modern system design to achieve speed and agility. But, that’s only part of the story. How do you provision the cloud environments upon which these systems run? How do you rapidly deploy app features and updates? How do you round out the full picture?</p><p>Enter the widely accepted practice of <a href="https://docs.microsoft.com/en-us/devops/deliver/what-is-infrastructure-as-code">Infrastructure as Code</a>, or IaC.</p><p>With IaC, you automate platform provisioning and application deployment. You essentially apply software engineering practices such as testing and versioning to your DevOps practices. Your infrastructure and deployments are automated, consistent, and repeatable.</p><h3>Automating infrastructure</h3><p>Tools like <a href="https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/overview">Azure Resource Manager</a>, <a href="https://docs.microsoft.com/en-us/azure/azure-resource-manager/bicep/overview">Azure Bicep</a>, <a href="https://www.terraform.io/">Terraform</a> from HashiCorp, and the <a href="https://docs.microsoft.com/en-us/cli/azure/">Azure CLI</a>, enable you to declaratively script the cloud infrastructure you require. Resource names, locations, capacities, and secrets are parameterized and dynamic. The script is versioned and checked into source control as an artifact of your project. You invoke the script to provision a consistent and repeatable infrastructure across system environments, such as QA, staging, and production.</p><p>Under the hood, IaC is idempotent, meaning that you can run the same script over and over without side effects. If the team needs to make a change, they edit and rerun the script. Only the updated resources are affected.</p><p>In the article, <a href="https://docs.microsoft.com/en-us/devops/deliver/what-is-infrastructure-as-code">What is Infrastructure as Code</a>, Author Sam Guckenheimer describes how “Teams who implement IaC can deliver stable environments rapidly and at scale. They avoid manual configuration of environments and enforce consistency by representing the desired state of their environments via code. Infrastructure deployments with IaC are repeatable and prevent runtime issues caused by configuration drift or missing dependencies. DevOps teams can work together with a unified set of practices and tools to deliver applications and their supporting infrastructure rapidly, reliably, and at scale.”</p><h3>Automating deployments</h3><p>Modern CI/CD systems help fulfill this principle. They provide separate build and delivery steps that help ensure consistent and quality code that’s readily available to users. Picture 11 shows the separation across the deployment process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/0*OUy-fNgZWAaiyWn7.png" /><figcaption>Picture 11: Automating Deployments</figcaption></figure><p>In the previous figure, pay special attention to the separation of tasks:</p><ol><li>The developer constructs a feature in their development environment, iterating through what is called the “inner loop” of code, run, and debug.</li><li>When complete, that code is <em>pushed</em> into a code repository, such as GitHub, Azure DevOps, or BitBucket.</li><li>The push triggers a build stage that transforms the code into a binary artifact. The work is implemented with a <a href="https://martinfowler.com/articles/continuousIntegration.html">Continuous Integration (CI)</a> pipeline. It automatically builds, tests, and packages the application.</li><li>The release stage picks up the binary artifact, applies external application and environment configuration information, and produces an immutable release. The release is deployed to a specified environment. The work is implemented with a <a href="https://martinfowler.com/bliki/ContinuousDelivery.html">Continuous Delivery (CD)</a> pipeline. Each release should be identifiable. You can say, “This deployment is running Release 2.1.1 of the application.”</li><li>Finally, the released feature is run in the target execution environment. Releases are immutable meaning that any change must create a new release.</li></ol><p>Applying these practices, organizations have radically evolved how they ship software. Many have moved from quarterly releases to on-demand updates. The goal is to catch problems early in the development cycle when they’re less expensive to fix. The longer the duration between integrations, the more expensive problems become to resolve. With consistency in the integration process, teams can commit code changes more frequently, leading to better collaboration and software quality.</p><p>This is a fairly complex discussion about basic Cloud Native and what parts are in it. If there are criticisms and suggestions, you can put them in the comments column in this medium. That is all and thank you.</p><p>Ref:</p><p>eFishery presentation material, accessed on September 3rd, 2022</p><p><a href="https://docs.microsoft.com/en-us/dotnet/architecture/cloud-native/definition">https://docs.microsoft.com/en-us/dotnet/architecture/cloud-native/definition</a>, accessed on September 3rd, 2022</p><p><a href="https://medium.com/turkcell/12-factor-app-methodology-distributed-computing-microservices-concepts-678d87b608f">https://medium.com/turkcell/12-factor-app-methodology-distributed-computing-microservices-concepts-678d87b608f</a>, accessed on September 3rd, 2022</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58392b4ea8a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Golang (4)]]></title>
            <link>https://medium.com/@stywanheri/introduction-to-golang-4-454d0bc4d13a?source=rss-c92396121f82------2</link>
            <guid isPermaLink="false">https://medium.com/p/454d0bc4d13a</guid>
            <category><![CDATA[aqua-developer]]></category>
            <category><![CDATA[efishery]]></category>
            <category><![CDATA[efishery-academy]]></category>
            <category><![CDATA[tumbuh-bersama]]></category>
            <dc:creator><![CDATA[Febry Heri Setiyawan]]></dc:creator>
            <pubDate>Tue, 30 Aug 2022 19:04:44 GMT</pubDate>
            <atom:updated>2022-08-30T19:15:46.768Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*9o1R60_Rf4RAxU6d.jpg" /><figcaption>Picture 1: Golang language (<a href="https://www.enigmacamp.com/golang-bahasa-pemrograman-backend-yang-sedang-populer-saat-ini/">https://www.enigmacamp.com/golang-bahasa-pemrograman-backend-yang-sedang-populer-saat-ini/</a>)</figcaption></figure><p>Hajimemashite, mediumers!!!</p><p>Here I will write an article containing a summary of the material obtained at the 7th meeting of the eFishery Academy, namely an introduction to Golang part 4. Okay, here I will explain the implementation of ORM (Object-Relational Mapping), GORM (<strong>Go</strong> Object-Relational Mapper), and Clean Architecture on the Echo framework in a project. Without further ado, here’s the explanation.</p><ol><li>ORM (Object Relational Mapping)</li></ol><p>ORM is a technique that lets you query and manipulates data from a database using an object-oriented paradigm.</p><p>2. GORM (Go Object-Relational Mapper)</p><p>GORM is act almost as a broker between us developers and our underlying database technology. They allow us to essentially work with objects, much as we normally would and then save these objects without having to craft complex SQL statements.</p><p>They effectively reduce the complexity of our codebase in scenarios where you don’t wish to work with SQL but need a database. In order to install the gorm, you will have to perform the following go get command:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/0*cCKOLWNNVHlqmqtj" /><figcaption>Picture 2: GORM installation</figcaption></figure><p>After the GORM installation is successful, the next step is to create a connection form to the database used. the following commands are made like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*caSTf6gIgzt-wZQ7" /><figcaption>Picture 3: Connect to Database</figcaption></figure><p>3. Middleware</p><p>The term middleware is different in each language/framework. NodeJS and Rails have the term middleware. In Java Enterprise programming, the term filters are used. In C# the term is delegate handlers. So middleware is a block of code that is called before or after the http request is processed. And an overview of the middleware functions that exist in each business logic is as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/0*YlhyrMdZ5PsPupMn" /><figcaption>Picture 4: Middleware</figcaption></figure><p>4. Environment Variable</p><p>An Environment Variable is a dynamic object pair on the Operating System. These value pairs can be manipulated with the help of the operating system. These value pairs can be used to store file path, user profile, authentication keys, execution mode, etc. The following is a sample implementation of the environment variable that is run like so:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MWpqAdnyYRwHCr47" /><figcaption>Picture 5: Environment Variable</figcaption></figure><p>5. Clean Architecture</p><p>Clean architecture is a software design philosophy that separates the elements of a design into ring levels. The following is an overview of the clean architecture that is often used in every business logic in Golang.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sztYIXzIa4imUIw1" /><figcaption>Picture 6: Clean Architecture</figcaption></figure><p>For resources for each explanation of this article, I will put a link that can be accessed if you want to explore more intensely, due to my limited knowledge in understanding this material and it is necessary to develop education regarding the application of the Echo framework further.</p><p>Thus the explanation of the introduction to the Golang part 4. For further explanations, it will be continued in the next part. If there are criticisms and suggestions, you can comment in the medium comment column. I hope this article is useful for readers. That is all and thank you.</p><p>Ref:</p><ol><li>GORM</li></ol><ul><li><a href="https://gorm.io/docs/index.html">GORM Guides</a></li><li><a href="https://towardsdev.com/introduction-to-orm-using-gorm-in-golang-d1936a45ffdb">Introduction to ORM Using GORM in Golang</a></li></ul><p>2. Middleware</p><ul><li><a href="https://dasarpemrogramangolang.novalagung.com/B-middleware-using-http-handler.html">Golang Middleware http.Handler - Dasar Pemrograman Golang</a></li><li><a href="https://medium.com/@matryer/writing-middleware-in-golang-and-how-go-makes-it-so-much-fun-4375c1246e81">Writing middleware in #golang and how Go makes it so much fun.</a></li></ul><p>3. Environment Variable</p><ul><li><a href="https://www.geeksforgeeks.org/golang-environment-variables/">Golang - Environment Variables - GeeksforGeeks</a></li><li><a href="https://gobyexample.com/environment-variables">Go by Example: Environment Variables</a></li><li><a href="https://dasarpemrogramangolang.novalagung.com/C-best-practice-configuration-env-var.html">Golang Best Practice Configuration: Environment Variable - Dasar Pemrograman Golang</a></li></ul><p>4. Clean Architecture</p><ul><li><a href="https://medium.com/golangid/mencoba-golang-clean-architecture-c2462f355f41">Mencoba Clean Architecture pada Golang</a></li><li><a href="https://hackernoon.com/creating-clean-architecture-using-golang-9h5i3wgr">Creating Clean Architecture Using Golang | HackerNoon</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=454d0bc4d13a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Golang (3)]]></title>
            <link>https://medium.com/@stywanheri/introduction-to-golang-3-8bb2b6328dda?source=rss-c92396121f82------2</link>
            <guid isPermaLink="false">https://medium.com/p/8bb2b6328dda</guid>
            <category><![CDATA[efishery-academy]]></category>
            <category><![CDATA[efishery]]></category>
            <category><![CDATA[aqua-developer]]></category>
            <category><![CDATA[tumbuh-bersama]]></category>
            <dc:creator><![CDATA[Febry Heri Setiyawan]]></dc:creator>
            <pubDate>Mon, 29 Aug 2022 17:02:32 GMT</pubDate>
            <atom:updated>2022-08-29T17:29:17.918Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*YTRQvxE1weTQXemn.jpg" /><figcaption>Picture 1: Golang language (<a href="https://www.enigmacamp.com/golang-bahasa-pemrograman-backend-yang-sedang-populer-saat-ini/">https://www.enigmacamp.com/golang-bahasa-pemrograman-backend-yang-sedang-populer-saat-ini/</a>)</figcaption></figure><p>Hajimemashite, mediumers!!!</p><p>Here I will write an article containing a summary of the material obtained at the 6th meeting of the eFishery academy, namely an introduction to Golang part 3, especially regarding the implementation of the Echo framework.</p><p>I have previously mentioned an explanation of the Echo framework in the Introduction to Golang article part 1 which contains a brief explanation and its advantages. Maybe this part 3 article contains a direct implementation of the Echo framework on a simple project as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/406/0*jnDgMru0tMA0syhh.png" /><figcaption>Picture 2: Echo (<a href="https://echo.labstack.com/">https://echo.labstack.com/</a>)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*j2S32B9tEKMfBRoY" /><figcaption>Picture 3: Echo components</figcaption></figure><ol><li>Installation</li></ol><p>Installing the Echo framework is very easy. You can use the command that can be run on your PC terminal as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*omIeCe_6op3kKR_U" /><figcaption>Picture 4: Installation</figcaption></figure><p>But before doing the above, it would be nice if you create a new folder on your local computer and initialize the folder by running the command</p><pre>go mod init &lt;folder name&gt;</pre><p>so that the installed framework will not have problems in the future.</p><p>2. Implementation</p><p>To create a project in this framework, it is necessary to create a file in the previously available folder. The following is an example file and its source code.</p><pre>package main<br><br>import (<br>    &quot;fmt&quot;<br>    &quot;github.com/labstack/echo&quot;<br>    &quot;net/http&quot;<br>    &quot;strings&quot;<br>)<br><br>type M map[string]interface{}<br><br>func main() {<br>    r := echo.New()<br><br>    r.GET(&quot;/&quot;, func(ctx echo.Context) error {<br>        data := &quot;Hello from /index&quot;<br>        return ctx.String(http.StatusOK, data)<br>    })<br><br>    r.Start(&quot;:9000&quot;)<br>}</pre><p>The code above is a simple example of implementing an echo router.</p><p>Routing using the net/http package in its implementation is to use http.HandleFunc() or http.Handle(). Unlike the Echo, the routing is method-based, not only endpoints and handlers are registered, methods too.</p><p>The echo.New() statement returns a mux/router object. In the code above the route / with the GET method is registered. In addition to r.GET() there are many other methods, all methods in the REST specification such as PUT, POST, and others can be used.</p><p>The handler of echo’s routing method takes only one argument, whose type is echo.Context. From these arguments http.ResponseWriter and http.Request objects can be accessed. However, we will rarely use these two objects because echo.Context has many methods, some of which cover common operations that we usually do through request and response objects, such as:</p><p>a. Render output (in html, plain text, json or other form)</p><p>b. Parsing request data (json payload, form data, query string).</p><p>c. URL redirection</p><p>etc.</p><p>To access the http.Request object use ctx.Request().<br>As for the http.ResponseWriter object, use ctx.Response(). When an error occurs while accessing the endpoint, ideally HTTP Error Status is returned according to the error type. But sometimes there is also a need under certain conditions http.StatusOK or status 200 is returned with error information inserted in the response body. This kind of case makes the error reporting standard less good. In this context, echo is superior according to the author, because by default all errors are returned as responses in the same form.</p><p>The ctx.String() method of the handler’s context object is used to make it easier to render string data as output. This method returns an error object, so it can be used directly as the return value of the handler. The first argument is http status and the 2nd argument is the output data.</p><p>3. Response Method belongs .ctx</p><p>In addition to ctx.String() there are many other similar methods, here are more details.</p><p>a. Method .string()</p><p>Used to render plain text as output (content of the Content-Type response header is text/plain). This method has the same task as the .Write() method of the http.ResponseWriter object.</p><pre>r.GET(&quot;/index&quot;, func(ctx echo.Context) error {<br>    data := &quot;Hello from /index&quot;<br>    return ctx.String(http.StatusOK, data)<br>})</pre><p>b. Method .HTML()</p><p>Used to render html as output. The content of the Content-Type response header is text/html.</p><pre>r.GET(&quot;/html&quot;, func(ctx echo.Context) error {<br>    data := &quot;Hello from /html&quot;<br>    return ctx.HTML(http.StatusOK, data)<br>})</pre><p>c. Method .Redirect()</p><p>Used for redirects, instead of http.Redirect()</p><pre>r.GET(&quot;/index&quot;, func(ctx echo.Context) error {<br>    return ctx.Redirect(http.StatusTemporaryRedirect, &quot;/&quot;)<br>})</pre><p>d. Method .JSON()</p><p>Used to render JSON data as output. Content-Type response header content is application/json</p><pre>r&gt;GET(&quot;/json&quot;, func(ctx echo.Context) error {<br>    data := M{&quot;Message&quot;: &quot;Hello&quot;, &quot;Counter&quot;: 2}<br>    return ctx.JSON(http.StatusOK, data)<br>})</pre><p>4. Parsing Request</p><p>Echo also provides several methods for parsing requests, including:</p><p>a. Parsing Query String</p><p>The .QueryParam() method is used to retrieve data in the query string request, according to the desired key.</p><pre>r.GET(&quot;/page1&quot;, func(ctx echo.Context) error {<br>    name := ctx.QueryParam(&quot;name&quot;)<br>    data := fmt.Sprintf(&quot;Hello %s&quot;, name)<br><br>    return ctx.String(http.StatusOK, data)<br>})</pre><p>Test using curl:</p><pre>curl -X GET http://localhost:9000/page1?name=grayson</pre><p>b. Parsing URL Path Param</p><p>The .Param() method is used to retrieve path parameter data according to the routeing scheme</p><pre>r.GET(&quot;/page2/:name&quot;, func(ctx echo.Context) error {<br>    name := ctx.Param(&quot;name&quot;)<br>    data := fmt.Sprintf(&quot;Hello %s&quot;, name)<br><br>    return ctx.String(http.StatusOK, data)<br>})</pre><p>As you can see, there is :name in the route declaration. Later any url that is written according to the above scheme will be able to take the path parameter. Suppose /page2/hello then ctx.Param(“name”) returns the string hello. Test using curl:</p><pre>curl -X GET http://localhost:9000/page2/grayson</pre><p>c. Parsing URL Path Param and After</p><p>After taking the parameters according to the specific path, we can also retrieve the path parameter data and after.</p><pre>r.GET(&quot;/page3/:name/*&quot;, func(ctx echo.Context) error {<br>    name := ctx.Param(&quot;name&quot;)<br>    message := ctx.Param(&quot;*&quot;)<br><br>    data := fmt.Sprintf(&quot;Hello %s, I have message for you: %s&quot;, name, message)<br><br>    return ctx.String(http.StatusOK, data)<br>})</pre><p>The statement ctx.Param(“*”) returns all paths according to their url scheme. For example, the url is /page3/tim/a/b/c/d/e/f/g/h, then the returned a/b/c/d/e/f/g/h. Test using curl:</p><pre>curl -X GET http://localhost:9000/page3/tim/need/some/sleep</pre><p>d. Parsing Form Data</p><p>Data sent as request body with type is Form Data can be retrieved easily using ctx.FormValue().</p><pre>r.POST(&quot;/page4&quot;, func(ctx echo.Context) error {<br>    name := ctx.FormValue(&quot;name&quot;)<br>    message := ctx.FormValue(&quot;message&quot;)<br><br>    data := fmt.Sprintf(<br>        &quot;Hello %s, I have message for you: %s&quot;,<br>        name,<br>        strings.Replace(message, &quot;/&quot;, &quot;&quot;, 1),<br>    )<br><br>    return ctx.String(http.StatusOK, data)<br>})</pre><p>Test using curl:</p><pre>curl -X POST -F name=damian -F message=angry http://localhost:9000/page4</pre><p>Thus the explanation of the introduction to the Golang part 3. For further explanations, it will be continued in the next part. if there are criticisms and suggestions, you can comment in the medium comment column. I hope this article is useful for readers. That is all and thank you.</p><p>Ref:</p><p>eFishery presentation material, accessed on August 29th, 2022</p><p><a href="https://dasarpemrogramangolang.novalagung.com/C-echo-routing.html">https://dasarpemrogramangolang.novalagung.com/C-echo-routing.html</a>, acessed on August 29th, 2022</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8bb2b6328dda" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Golang (2)]]></title>
            <link>https://medium.com/@stywanheri/introduction-to-golang-2-268e4ac36cb8?source=rss-c92396121f82------2</link>
            <guid isPermaLink="false">https://medium.com/p/268e4ac36cb8</guid>
            <category><![CDATA[efishery]]></category>
            <category><![CDATA[aqua-developer]]></category>
            <category><![CDATA[efishery-academy]]></category>
            <dc:creator><![CDATA[Febry Heri Setiyawan]]></dc:creator>
            <pubDate>Sun, 28 Aug 2022 07:16:03 GMT</pubDate>
            <atom:updated>2022-08-28T07:56:25.728Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*p7Bcsbz_NkNQQb_5.jpg" /><figcaption>Picture 1: Golang language (<a href="https://www.enigmacamp.com/golang-bahasa-pemrograman-backend-yang-sedang-populer-saat-ini/">https://www.enigmacamp.com/golang-bahasa-pemrograman-backend-yang-sedang-populer-saat-ini/</a>)</figcaption></figure><p>Hajimemashite, ,mediumers!!!</p><p>Here I will write an article containing a summary of the material obtained at the 5th meeting of the eFishery academy, namely an introduction to Golang part 2.</p><p>After the explanation of the Golang introduction material in yesterday’s part 1 which may still be continued, the following is a further explanation of part 1, namely:</p><ol><li>Pointer</li></ol><p>A pointer is a reference or memory address. A pointer variable means a variable that contains the memory address of a value. For example, if a variable of type integer has a value of 4, then what is meant by a pointer is the memory address where the value 4 is stored, not the value 4 itself.<br>Variables that have the same reference or pointer address, are related to each other and the value must be the same. When there is a change in value, it will have an effect on other variables (whose reference is the same) that is, the value changes too.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*DzmaO1Lc3Lz5GJ9Y" /><figcaption>Picture 2: Pointer overview</figcaption></figure><p>Variable pointer type is indicated by an asterisk (*) right before writing the data type during declaration.</p><pre>var number *int<br>var name *string</pre><p>The default value of the pointer variable is nil (empty). Pointer variables cannot hold values that are not pointers, and conversely, ordinary variables cannot hold pointer values. There are two important things to know about pointers:</p><blockquote>Ordinary variables can be taken as pointer values, by adding an ampersand (&amp;) just before the variable name. This method is called referencing.</blockquote><blockquote>And vice versa, the original value of the pointer variable can also be retrieved, by adding an asterisk (*) right before the variable name. This method is called dereferencing.</blockquote><pre>var numberA int = 4<br>var numberB *int = &amp;numberA</pre><pre>fmt.Println(&quot;numberA (value)   :&quot;, numberA)  // 4<br>fmt.Println(&quot;numberA (address) :&quot;, &amp;numberA) // 0xc20800a220</pre><pre>fmt.Println(&quot;numberB (value)   :&quot;, *numberB) // 4<br>fmt.Println(&quot;numberB (address) :&quot;, numberB)  // 0xc20800a220</pre><p>The variable numberB is declared of type int pointer with the initial value being the reference variable numberA (can be seen in the code &amp;numberA). With this, the numberA and numberB variables hold data with the same memory address reference.</p><p>Variable pointers when printed will produce a string of memory addresses (in hexadecimal notation), for example, numberB is printed to produce 0xc20800a220. The original value of a pointer variable can be obtained by dereferenced first (can be seen in the *numberB code).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ezjhv5azKGupCnDN" /><figcaption>Picture 3: Pointer</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MMEiyIzICbkjE8na.png" /><figcaption>Picture 4: Pointer Output</figcaption></figure><p>When one of the pointer variables is changed in value, while there are other variables that have the same memory reference, the value of the other variable will also change.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VwTg7T_RBGolmpIz" /><figcaption>Picture 5: Change value with pointer</figcaption></figure><p>The variables numberA and numberB have the same memory reference. Changes in one of the values of these variables will have an effect on other variables. In the example above, the value of numberA is changed to 5. making the original value of the numberB variable also change to 5.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UhOPbr9ueF_SvNCB.png" /><figcaption>Picture 6: Output of Change value with Pointer</figcaption></figure><p>2. Method</p><p>Methods are functions attached to types (can be structs or other data types). Methods can be accessed via object variables. The advantage of methods over ordinary functions is that they have access to struct properties up to the private level (the access level will be discussed in more detail in the next chapter). Also, by using methods a process can be well encapsulated. How implement a method is slightly different than using a function. When the declaration, it is also determined who the owner of the method is. An example can be seen in the following code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/0*H_Wt-o0gPOZLKHfS" /><figcaption>Picture 7: Method Define</figcaption></figure><p>The method declaration is the same as a function, except that you need to add an object variable declaration between the func keyword and the function name. The structure used will be the owner of the method.</p><p>func (s student) sayHello() means that the function sayHello is declared as a method of the struct student. In the example above, the student struct has two methods, namely sayHello() and getNameAt(). An example of a method call is as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/992/0*4D14hOO-2TE43Yh2" /><figcaption>Picture 8: Call of Method</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JoghJpKWPG7lrEIH.png" /><figcaption>Picture 9: Output of Method</figcaption></figure><p>Methods have exactly the same properties as regular functions. Such as being parameterized, having a return value, and so on. In terms of syntax, the only difference is when accessing and declaring. It can be seen in the following code, at a glance the comparison of writing functions and methods.</p><pre>func sayHello() {<br>func (s student) sayHello() {<br><br>func getNameAt(i int) string {<br>func (s student) getNameAt(i int) string {</pre><p>A method pointer is a method whose object variable is a pointer. The advantage of this type of method is that, when we manipulate the value of another property that is still a struct, the value of that property will be changed to its reference. For more details, consider the following code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*56PNVqTcGk_q9VFh" /><figcaption>Picture 10: Method with Pointer</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8i80zjtJ-Anh2r6t.png" /><figcaption>Picture 11: Output</figcaption></figure><p>After execution of statement s1.changeName1(“jason bourne”), the value of s1.name does not change. Actually the value changes but only in the changeName1() method, the value of the reference in the object does not change. That’s why when the object has been printed the value of s1.name doesn’t change. Another feature of the method pointer is that the method itself can be called from a pointer object or an ordinary object.</p><p>3. Public and Private Property Method</p><p>The development of dream applications in real development definitely requires a lot of program files. It is not possible in a project for all files to have the package name main usually, they will be separated as different packages according to their part.</p><p>The project folder, in addition to containing .go files, can also contain other sub-folders. In Go, each folder or sub-folder is a package, the files in a package folder must be the same. And the packages in these files must be different from the packages in other files that are in different folders.</p><p>So simply, 1 folder is 1 package.</p><p>In a package, we usually write very many components, whether it’s functions, structs, variables, or others. These components can be freely used in the same package. A simple example is the program we have practiced in the previous chapter, in the main package there are many that are defined: functions, variables, closures, structs, and others; all of them can be used immediately.</p><p>If in one program there is more than 1 package, or there is another package besides main, then the components in the other package cannot be accessed freely from the file whose package is main, because each component has access rights.</p><p>There are 2 types of access rights in Go:</p><blockquote>a. Exported or public access rights. Indicates that the component is allowed to be accessed from another different package<br>b. Unexported or private access rights. This means that components can only be accessed in the same package, it can be in one file or in several files that are still in one folder.<br>Determining the right access rights for each component is very important.</blockquote><p>In Go, how determining the access level or modifier is very easy, the marker is the character case of the first letter of the name of the function, struct, variable, or other. When the name begins with a capital letter it indicates that it is exported (or public). And vice versa, if it starts with a lowercase letter, it means unexported (or private).</p><p>The following are the stages of applying the public and private property methods such as:</p><p>a. Create a library</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/0*DqWDUtMKPnhC4ujF" /><figcaption>Picture 12: Create a Library</figcaption></figure><p>b. Create and call the function</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UdJoQm4rQfy3BVBJ" /><figcaption>Picture 13: Call the function</figcaption></figure><p>c. Run the code</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RfkUS9GRyMJJPNFZ.png" /><figcaption>Picture 14: Output</figcaption></figure><p>It can be seen that the package library that was created earlier is imported into the main package. The main folder or root folder in the project that is being worked on is learning-golang-level-access, so for importing other packages that are subfolders, the full path of the folder must be written, such as learning-golang-level-access/library.</p><p>The error above is caused because the introduce() function in the package library has an unexported (or private) access level, this function cannot be accessed from other packages (in this case main). To make it accessible, the solution can be to make it exported (or public) or change the way it is called. Here we use the 2nd method. Add the name parameter to the SayHello() function, then call the introduce() function by inserting the name parameter from inside the SayHello() function.</p><pre>func SayHello(name string) {<br>    fmt.Println(&quot;hello&quot;)<br>    introduce(name)<br>}</pre><p>In the main, just call the SayHello() function, passing a string as a parameter.</p><pre>func main() {<br>    library.SayHello(&quot;ethan&quot;)<br>}</pre><p>You can run again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*E6EB6Nyr6Bf1tuRU.png" /><figcaption>Picture 15: Output</figcaption></figure><p>4. Interface</p><p>An interface is a collection of method definitions that have no content (only definitions), which are wrapped with a specific name. The interface is a data type. The value of an object of type interface zero value is nil. An interface can start to be used if it already has its contents, namely a concrete object that has a method definition at least the same as that of the interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/0*Eha6WdPW34-scfYS" /><figcaption>Picture 16: Define Interface</figcaption></figure><p>In the code above, the arithmetic interface has 2 method definitions, area() and perimeter(). This interface will later be used as a data type on the variable, where the variable will accommodate the flat object as a result of the struct that we will create. By utilizing the calculation interface, the calculation of the area and circumference of a flat shape can be done, without the need to know what type of flat shape it is. Prepare a circular flat-shaped struct, this struct has methods some of which are defined in the computing interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cps6AScZiUZK6rLR" /><figcaption>Picture 17: Create a Method for Interface</figcaption></figure><p>The circular structure above has three methods, radius(), area(), and circumference().</p><p>Next, prepare a rectangular flat-built struct.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/924/0*Vvdq-2RApIJN6jnl" /><figcaption>Picture 18: Struct Interface</figcaption></figure><p>The difference between a square struct and a circle structure lies in the finger() method. Square structures don’t have that method. But even so, the object variables that were printed on these 2 structs will still be accommodated by the calculated interface template variable, because the two methods defined in the interface also exist in square and circular structs, namely area() and circumference().</p><p>Create a calculation implementation in the main.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZKWH1mwyqAX84jUp" /><figcaption>Picture 19: Call in the main function</figcaption></figure><p>Look at the code above. The variable wakeFlat object is of type computed interface. These variables are used to hold concrete objects made by circular and square structs.</p><p>From these variables, the area() and perimeter() methods are accessed. Golang will automatically direct method calls on the interface to the original method belonging to the struct in question.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qjB_2fzil16sjPP4.png" /><figcaption>Picture 20: Output</figcaption></figure><p>The finger() method on the circular struct will not be accessible because it is not defined in the computing interface. Accessing it forcefully will cause an error. To access a method that is not defined in the interface, the variable must first be cast to the original type of the concrete variable (in this case the type is a circle), after which the method will be accessible. The method of casting interface objects is a bit unique, namely by writing the name of the destination type in brackets, placed after the interface name using dot notation (like how to access properties, only there are brackets). An example can be seen in the following code. The statement wakeFlat.(circle) is an example of casting on an interface object.</p><p>5. Goroutine</p><p>Goroutines are similar to threads, but they’re not. A native thread can contain many goroutines. Maybe it’s more appropriate if goroutines are called mini threads. Goroutines are very light, it only takes about 2kB of memory for one goroutine. The execution of goroutines is asynchronous, so they don’t wait on each other with other goroutines. Since goroutines are very lightweight, executing multiple goroutines is not a problem. However, if the number of goroutines is very large (eg 1 million goroutines are run on a computer with limited RAM), the process will be finished much faster, but memory/RAM will definitely swell. Goroutines are one of the most important parts of concurrent programming in Go. One of the things that make goroutines very special is that their execution is run on a multi-core processor. We can determine how many cores are active, the more the faster</p><p>To implement a goroutine, the process to be executed as a goroutine must be wrapped into a function. At the time of calling the function, the keyword go is added in front of it, and with that a new goroutine will be created with the task of running the processes that are in the function.</p><p>Here is an example of a simple implementation of goroutines. The program below displays 10 lines of text, 5 executed in the usual way, and 5 others executed as new goroutines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VYykSng927Sh0IZB" /><figcaption>Picture 21: Implement Goroutine</figcaption></figure><p>Creating a new goroutine is marked with the go keyword. For example, in the go print(5, “hello”) statement, the print() function is executed as a new goroutine. The fmt.Println() function causes the application process to stop at that line (blocking) until the user presses the enter key. This needs to be done because there is a possibility that the execution time for the goroutine print() will be longer than the time for the main goroutine main() to finish, given that they are both asynchronous. If that happens, the unfinished goroutine is forcibly terminated because the main goroutine has finished executing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/0*J0kRuIxfeUS2fhMQ" /><figcaption>Picture 22: Goroutine with WaitGroup</figcaption></figure><p>This Goroutine command is different from the previous command which does not use the WaitGroup function. The goal is that the resulting output can be executed sequentially without any precedence over each other between these functions.</p><p>Thus the explanation of the introduction to the Golang part 2. For further explanations, it will be continued in the next part. If there are criticisms and suggestions, you can comment in the medium comment column. I hope this article is useful for readers. That is all and thank you.</p><p>Ref:</p><p>eFishery presentation material accessed on August 28th, 2022</p><p><a href="https://dasarpemrogramangolang.novalagung.com/">https://dasarpemrogramangolang.novalagung.com/</a>, accessed on August 28th, 2022</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=268e4ac36cb8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Golang (1)]]></title>
            <link>https://medium.com/@stywanheri/introduction-to-golang-1-a9080d31e4f1?source=rss-c92396121f82------2</link>
            <guid isPermaLink="false">https://medium.com/p/a9080d31e4f1</guid>
            <category><![CDATA[efishery-academy]]></category>
            <category><![CDATA[tumbuh-bersama]]></category>
            <category><![CDATA[aqua-developer]]></category>
            <category><![CDATA[efishery]]></category>
            <dc:creator><![CDATA[Febry Heri Setiyawan]]></dc:creator>
            <pubDate>Thu, 25 Aug 2022 18:32:50 GMT</pubDate>
            <atom:updated>2022-08-25T18:32:50.845Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XTPLhrawyo6_pd8b.jpg" /><figcaption>Picture 1: Golang language (<a href="https://www.enigmacamp.com/golang-bahasa-pemrograman-backend-yang-sedang-populer-saat-ini/">https://www.enigmacamp.com/golang-bahasa-pemrograman-backend-yang-sedang-populer-saat-ini/</a>)</figcaption></figure><p>Hajimemashite, mediumers!!!</p><p>Here I will write an article containing a summary of the material obtained at the 4th meeting of the eFishery academy, namely an introduction to Golang part 1.</p><p>Before getting to know the structure of the Golang language in the programming world, it’s incomplete if you don’t know the history of the Golang language itself. Go Language is an abbreviation of this one programming language. As we know his name begins with Go, yes, it is a programming language managed by Google. Google does not work alone but works with 3 reliable figures in 2009. Robert Griesemer, Rob Pike, and Ken Thompson are the three figures.</p><p>This one programming language can be typed statically and can generate binary codes on the machine that is compiled with it. Dating back to the 21st century, the Golang programming language seeks to build on its predecessors. Making websites, applications and software can also use this programming language.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/665/1*l3JeSCOlFwTIvMkhreCJGA.png" /><figcaption>Picture 2: Company using Go</figcaption></figure><p>The following are some of the functions of the Golang programming language:</p><p>a. Help build a more scalable developer team‍</p><p>b. Develop online-based storage technology with large storage media</p><p>c. Designing web-based applications that have high-security</p><p>d. Build a system that has high performance and is more complex</p><p>e. Develop server code on a web server and microservice networks</p><p>Golang has its own advantages among the many programming languages that exist. The advantages of the Golang programming language are as follows:</p><p>a. The platform is open source</p><p>b. Golang has a garbage collector feature, which means that the memory management system is easier. When compared to other programming languages, Golang can easily collect them in one garbage collector.</p><p>c. The data structures and algorithms are easy for beginners to learn. Golang’s syntax style is considered simpler so it’s easier to understand than other programming languages</p><p>d. Golang can improve performance, making it easier for visitors to visit the application. Golang is compiled into machine code, hence its speed is capable of surpassing other programming languages.</p><p>e. Golang will give a notification if there is a typing error in the compilation process.</p><p>f. Golang is able to create applications using the shortest time and the lowest costs compared to others.</p><p>g. Developers don’t have to worry about the application crashing, because Golang has been used by big companies. The Golang programming language has proven its capabilities and is ahead of its class.</p><p>Golang also has a framework that developers often use to help develop an application, such as:</p><p>a. <a href="https://goji.io/">Goji</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/0*U_RDKnwO51-CPrud" /><figcaption>Picture 3: Goji (<a href="https://goji.io/">https://goji.io/</a>)</figcaption></figure><p>Goji is a Golang framework commonly used for simple and lightweight API development. Because Goji is actually only one layer above the Go Language. This means that this framework only has important generic functions. So, Goji’s performance is fast. The features in Goji have support from Einhorn. Einhorn is a language that provides automated WebSockets.</p><p>With an automatic WebSocket, Goji can accept many data requests without reducing speed. Because WebSocket has divided the data processing socket for each user. Well, for those of you who need a lot of functions for project development, Goji is not recommended. Because Goji can not add functionality from the plugin.</p><p>b. <a href="https://revel.github.io/">Revel</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*plwJfvF3Qb-7-Gu0.png" /><figcaption>Picture 4: Revel (<a href="https://revel.github.io/">https://revel.github.io/</a>)</figcaption></figure><p>Revel is a famous Golang framework that has very complete functions or features. Starting from functions for small projects to large and complex projects. So, you don’t have to bother installing plugins anymore. Some of the features that are superior to Revel are the Migration Friendly feature. This feature makes it easy for you to migrate applications from other Go web frameworks. Pretty flexible, right? In addition, you also don’t have to bother copy-pasting the code to create the same component. Because Revel features Reusable MVC Components. You just make one component, the rest you just use that component repeatedly. Revel also has an advantage in terms of speed. Because session data is stored in cookies and cached data is stored in Memcached clusters. So, calling the database query will be faster.</p><p>c. <a href="https://github.com/go-martini/martini">Martini</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/0*yKjN1FhQ-PA_Qv-O.png" /><figcaption>Picture 5: Martini (<a href="https://github.com/go-martini/martini">https://github.com/go-martini/martini</a>)</figcaption></figure><p>Martini is a Golang framework for web development with a sleek design. However, this framework is not as fast as Gin. Because it is commonly used to develop large applications. Martinis have flexible upgrade options. Because this framework is designed to do a lot of commands without using a lot of server resources. So, Martini is suitable for quickly developing small projects to large ones. In terms of flexibility, Martini comes with the convenience of adding plugins. So, the basic components of Martini can be developed for your project needs in the long term.</p><p>Not only that, Martini offers various routing methods that support various data formats.</p><p>d. <a href="https://github.com/gocraft/work">Gocraft</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/0*0fQD2icC99qWTFhM" /><figcaption>Picture 6: GoCraft (<a href="https://github.com/gocraft/work">https://github.com/gocraft/work</a>)</figcaption></figure><p>Gocraft is a Go web framework that is commonly used to develop high-performance back-end websites. Because the speed is rated 40 times faster than the Martini. So, it’s not surprising that this Golang framework is also popularly used to improve the performance of the APIs that you develop. Gocraft lets you add functionality to the standard code library. In addition, you are also free to add various types of routing data. So, this flexibility makes your routing process faster. Although it looks complicated, Gocraft is famous for its code that is easy for beginners to understand. This is because the Go mux feature combines various plugin packages based on their function. So, writing application development code is static.</p><p>e. <a href="https://gobuffalo.io/">Buffalo</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YMUydeCjpfOru7vQ.jpg" /><figcaption>Picture 7: Buffalo (<a href="https://gobuffalo.io/">https://gobuffalo.io/</a>)</figcaption></figure><p>Buffalo is a Golang framework for developing comprehensive applications. Because Buffalo has complete functions that support the needs of back-end and front-end applications. So, you don’t need to install any more plugins.Not only that, Buffalo also has high speed supported by the Object Relational Mapping feature to speed up database processing. In addition, Buffalo also has a Websocket to receive a lot of traffic without reducing speed. If you’re already developing your app on another Go web framework, don’t worry. Buffalo has a data migration feature from other frameworks.</p><p>f. <a href="https://beego.vip/">Beego</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/246/0*4e4QAdv3BZ75uNMx.png" /><figcaption>Picture 8: Beego (<a href="https://beego.vip/">https://beego.vip/</a>)</figcaption></figure><p>Beego is a framework commonly used for the development of back-end websites, website applications, and complex REST APIs. Therefore, Beego is not recommended for beginners. Beego includes a framework with high-speed thanks to the Bee Tool feature. This feature is used to compile, test, and deploy code automatically. Beego also features Object Relation Mapping (ORM). With this feature, you can access the database without calling a query. So, this feature can speed up the development of large application projects that require a lot of queries. In terms of flexibility, Beego is easy to customize. Because Beego has a fairly complete plugin. From session control plugins, caching, and logging, to performance checks. So, Beego has a solid foundation to develop any kind of application.</p><p>g. <a href="https://www.gorillatoolkit.org/">Gorilla</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/966/0*7EXe23zW8re-puSy.png" /><figcaption>Picture 9: Gorilla (<a href="https://www.gorillatoolkit.org/">https://www.gorillatoolkit.org/</a>)</figcaption></figure><p>Gorilla is a popular Golang framework used in developing simple to complex website applications. For example, to create a simple API that still needs development. Gorilla is famous for their upgradeability (scalability). Because Gorilla makes it easy for you to add a collection of modules to new function extensions without destroying the basic functions of Gorilla.</p><p>Gorilla scalability is supported by speed too. All thanks to WebSocket support. With Websocket, server-to-client communication can run faster than HTTP. Because there is a reduction in unnecessary network traffic. However, Gorilla is not recommended for those of you who don’t have time to configure the installation of modules, extensions, and others.</p><p>h. <a href="https://echo.labstack.com/">Echo</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/406/0*q8PQDqvGyLq6jV0D.png" /><figcaption>Picture 10: Echo (<a href="https://echo.labstack.com/">https://echo.labstack.com/</a>)</figcaption></figure><p>Do you want to develop applications that require high performance? Then the Golang framework called Echo can be your choice. This Go web framework is fast enough to create high-performance applications. Because Echo has an Optimized router feature. This feature will prioritize routes or HTTP access to certain applications according to settings. That access also runs without dynamic memory. Echo is also equipped with various plugins that can be customized according to the needs of website applications. Plugins can also be organized at root, group, and route levels. Using Echo, you can perform data binding whenever there is an HTTP route to your app. Data binding makes it easy for you to combine different types of data in the API. So, you don’t need to set the data manually through different program codes. So when rendering with Echo, the API part will also provide a variety of HTTP responses. Starting from JSON, XML, to HTML. The Echo still has its limitations. Echo can only be used by one developer who doesn’t do a lot of code updates for application development.</p><p>i. <a href="https://gin-gonic.com/">Gin</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/0*8KX0bjKLfMt-3kMt.png" /><figcaption>Picture 11: Gin (<a href="https://gin-gonic.com/">https://gin-gonic.com/</a>)</figcaption></figure><p>Gin is a minimalistic Golang framework. Because Gin is usually used for single-page application development. This framework is also popularly used for beginners, especially those who want to develop simple website applications. In terms of speed, Gin can not be underestimated. Because Gin only provides libraries and main code functions. So, development is done with little memory. But don’t worry, even though it’s minimalist, Gin is still flexible. Because you can add functionality by creating new middleware or plugins. You do this by modifying the available code samples.</p><p>j. <a href="https://hoisie.github.io/web/index.html">Web.go</a></p><p>Web.go is a go web framework commonly used by developers with many projects that require fast routing. No wonder, this Golang framework is famous for having a tree routing system. A tree routing system is a routing process based on the relationship between one type of data with another. This is more effective than a routing list whose process is based on function or purpose. Why? Because once routing with one type of data, other related data will also be processed. So, the routing process will be faster and save server resources. However, the minimalist size of Web.go makes this framework less flexible in terms of adding functionality. So, for those of you who need a lot of additional functionality in your project, Web.go is not recommended.</p><p>After getting to know the types of frameworks in Golang, here are the basic language structures in Golang as follows:</p><ol><li><a href="https://pkg.go.dev/std">Package</a></li></ol><p>Go was designed to encourage good software engineering practices. One of the guiding principles of high-quality software is the DRY principle — Don’t Repeat Yourself, which basically means that you should never write the same code twice. You should reuse and build upon existing code as much as possible.</p><p>2.<a href="https://www.callicoder.com/golang-functions/"> Functions</a></p><p>Functions are the most basic building blocks that allow code reuse. Packages are the next step into code reusability. They help you organize related Go source files together into a single unit, making them modular, reusable, and maintainable.</p><p>In the most basic terms, A package is nothing but a directory inside your Go workspace containing one or more Go source files, or other Go packages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/823/0*zof4OoqwTHHyv3NQ.jpg" /><figcaption>Picture 12: Go Package</figcaption></figure><p>Every Go source file belongs to a package. To declare a source file to be part of a package, usually use the following syntax:</p><pre>package &lt;packagename&gt;</pre><p>The above package declaration must be the first line of code in your Go source file. All the functions, types, and variables defined in your Go source file become part of the declared package. You can choose to export a member defined in your package to outside packages, or keep them private to the same package. Other packages can import and reuse the functions or types that are exported from your package. Almost all the code that we have seen so far in this <a href="https://www.callicoder.com/categories/golang">tutorial series</a> includes the following line:</p><pre>import &quot;fmt&quot;</pre><p>fmt is a core library package that contains functionalities related to formatting and printing output or reading input from various I/O sources. It exports functions like Println(), Printf(), Scanf() etc, for other packages to reuse.</p><p>Packaging functionalities in this way has the following benefits :</p><p>a. It reduces naming conflicts. You can have the same function names in different packages. This keeps our function names short and concise.</p><p>b. It organizes related code together so that it is easier to find the code you want to reuse.</p><p>c. It speeds up the compilation process by only requiring recompilation of smaller parts of the program that has actually changed. Although we use the fmt package, we don’t need to recompile it every time we change our program.</p><p>Go programs start running in the main package. It is a special package that is used with programs that are meant to be executable. By convention, Executable programs (the ones with the main package) are called <em>Commands</em>. Others are called simply <em>Packages</em>. The main() function is a special function that is the entry point of an executable program. Let’s see an example of an executable program in Go.</p><pre>// Package declaration<br>package main<br><br>// Importing packages<br>import (<br>	&quot;fmt&quot;<br>	&quot;time&quot;<br>	&quot;math&quot;<br>    &quot;math/rand&quot;<br>)<br><br>func main() {<br>	// Finding the Max of two numbers<br>	fmt.Println(math.Max(73.15, 92.46))<br>	<br>	// Calculate the square root of a number<br>	fmt.Println(math.Sqrt(225))<br><br>	// Printing the value of `𝜋`<br>	fmt.Println(math.Pi)<br><br>	// Epoch time in milliseconds<br>	epoch := time.Now().Unix()<br>	fmt.Println(epoch)<br><br>	// Generating a random integer between 0 to 100<br>	rand.Seed(epoch)<br>	fmt.Println(rand.Intn(100))<br>}</pre><pre>$ go run main.go</pre><pre># Output<br>92.46<br>15<br>3.141592653589793<br>1538045386<br>40</pre><p>There are two ways to import packages in Go.</p><pre>// Multiple import statements<br>import &quot;fmt&quot;<br>import &quot;time&quot;<br>import &quot;math&quot;<br>import &quot;math/rand&quot;</pre><pre>// Factored import statements<br>import (<br>	&quot;fmt&quot;<br>	&quot;time&quot;<br>	&quot;math&quot;<br>    &quot;math/rand&quot;</pre><p>Go’s convention is that — <em>the package name is the same as the last element of the import path</em>. For example, the name of the package imported as math/rand is rand. It is imported with a path math/rand because It is nested inside the math package as a subdirectory.</p><p>3. Type Data</p><p>Go recognizes several types of data, including numeric data types (decimal &amp; non-decimal), string, and boolean. In previous discussions, we unconsciously applied several data types, such as string and numeric type int. This part will explain some of the standard data types provided by Go, and how to use them.</p><p>a. Non-Decimal Numeric Data Type</p><p>There are several types of non-decimal or non-floating point numeric data types in Go. In general, there are 2 types of data in this category that you need to know.</p><ol><li>uint, the data type for whole numbers (positive numbers).</li><li>int, the data type for integers (negative and positive numbers).</li></ol><p>The two data types above are then further divided into several types, with the division based on the width of the value range, the details can be seen in the following table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/0*V807cMQQkTxZEIrH.png" /><figcaption>Picture 13: Non-Decimal Numeric Data Table</figcaption></figure><p>b. Numeric Decimal</p><p>There are 2 decimal numeric data types you need to know, float32 and float64. The difference between the two data types is in the width of the range of decimal values that can be accommodated. For more details, refer to the IEEE-754 32-bit floating-point numbers specification.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hPQ3iXM64oYb83VB" /><figcaption>Picture 14: Numeric Decimal</figcaption></figure><p>Thus the explanation of the introduction to the Golang part 1. For further explanations, it will be continued in part 2 and so on. if there are criticisms and suggestions, you can comment in the medium comment column. I hope this article is useful for readers. That is all and thank you.</p><p>Ref:</p><p>eFhisery presentation material, accessed on August 25th, 2022</p><p><a href="https://www.binaracademy.com/blog/apa-itu-golang-dan-fungsinya">https://www.binaracademy.com/blog/apa-itu-golang-dan-fungsinya</a>, accessed on August 25th, 2022</p><p><a href="https://www.niagahoster.co.id/blog/golang-framework/">https://www.niagahoster.co.id/blog/golang-framework/</a>, accessed on August 25th, 2022</p><p><a href="https://dasarpemrogramangolang.novalagung.com/A-tipe-data.html">https://dasarpemrogramangolang.novalagung.com/A-tipe-data.html</a>, accessed on August 25th, 2022</p><p><a href="https://www.callicoder.com/golang-packages/#the-main-package-and-main-function">https://www.callicoder.com/golang-packages/#the-main-package-and-main-function</a>, accessed on August 25th, 2022</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a9080d31e4f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction Relational Database in PostgreSQL]]></title>
            <link>https://medium.com/@stywanheri/introduction-relational-database-in-postgresql-1954b9c35b04?source=rss-c92396121f82------2</link>
            <guid isPermaLink="false">https://medium.com/p/1954b9c35b04</guid>
            <category><![CDATA[efishery]]></category>
            <category><![CDATA[aqua-developer]]></category>
            <category><![CDATA[tumbuh-bersama]]></category>
            <category><![CDATA[efishery-academy]]></category>
            <dc:creator><![CDATA[Febry Heri Setiyawan]]></dc:creator>
            <pubDate>Thu, 25 Aug 2022 16:13:51 GMT</pubDate>
            <atom:updated>2022-08-25T16:16:21.675Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*M9whAeH5D9yX7Xko" /><figcaption>Picture 1 : PostgreSQL Logo (<a href="https://inet.detik.com/cyberlife/d-4598386/postgresql-asia-bakal-digelar-di-indonesia-seperti-apa">https://inet.detik.com/cyberlife/d-4598386/postgresql-asia-bakal-digelar-di-indonesia-seperti-apa</a>)</figcaption></figure><p>Hajimemashite, mediumers!!!</p><p>All right, here I will write a blog about the material I got on the 3rd day of eFishety Academy, namely relational database using PostgreSQL. So, a relational database (RDB), or can calling a relational database management system (RDBMS) is a way of structuring information in tables, rows, and columns. An RDB has the ability to establish links — or relationships–between information by joining tables, which makes it easy to understand and gain insights into the relationship between various data points. In the database there are two parts, namely rows and columns that contain several lists of data that are arranged in a database. The following is an overview of the database structure referred to below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*5XVpCq4FKpwT-6ML" /><figcaption>Picture 2: Table example</figcaption></figure><p>Relational database technology is often used there are several products that are often found on the market and are often used in companies, namely MySQL, PostgreSQL, Oracle, and so on. For this time, I will bring the implementation of the database used by eFishery, namely PostgreSQL.</p><p>The reason to use PostgreSQL over some other technology database products is that it is open source, free license fee to enjoy all the features. supports relational extensions between SQL and non-SQL, security is guaranteed and the scalability of its use can be measured according to both personal and massive needs.</p><p>in database management, of course, there are some commands or commands that must be known in making relational data so that the desired data transfer can be channeled without any obstacles. the following is a brief explanation.</p><ol><li>Data Definition Language (DDL)</li></ol><p>DDL is a command (QUERY) in SQL that serves to create and build a database and create the table itself. So this command is useful for creating an outline of the data to be created. DDL includes CREATE, ALTER, and DROP.</p><p>a. CREATE</p><p>This SQL (QUERY) command serves to create, CREATE includes the creation of Databases, Tables, Users, and various other SQL commands to create a database framework.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/0*JWIwwL8YSwlrGLZR" /><figcaption>Picture 3: CREATE</figcaption></figure><p>b. ALTER</p><p>The ALTER command is used to change the table structure that has been created. It includes changing table names, adding columns, changing columns, deleting columns, and assigning attributes to columns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/0*oMz8udVs4Lz8xnYv" /><figcaption>Picture 4: ALTER</figcaption></figure><p>c. DROP</p><p>The DROP command is used to delete databases and tables that have been created. In this command, all the data contents will also be automatically deleted as well</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/0*in4ascGLnhWZTuh1" /><figcaption>Picture 5: DROP</figcaption></figure><p>2. DML(Data Manipulation Language)</p><p>DML (Data Manipulation Language) is a command (Query) in the SQL programming language that is used to manipulate data in a database. DML includes INSERT, SELECT, UPDATE, and DELETE.</p><p>a. INSERT</p><p>This command is used to enter or input new data into a table. The INSERT command can only be executed if you have created a database and a table</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/992/0*h3kxcz8xenHQ4SXD" /><figcaption>Picture 6: INSERT</figcaption></figure><p>b. SELECT</p><p>This command is used to select and display data from a table or even from a file of multiple tables with the use of relations, fetching from multiple tables is called JOIN.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*6RSXb2zGSKUXvMaW.png" /><figcaption>Picture 7: SELECT</figcaption></figure><p>c. UPDATE</p><p>The update command is used to change or edit data in a table. In this command, you must include WHERE syntax otherwise all columns will change.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/0*p-sV7YF4TIM9Xnui" /><figcaption>Picture 8: UPDATE</figcaption></figure><p>d. DELETE</p><p>The delete command in SQL is used to delete data from a table in the database. In this command you must also include the WHERE syntax otherwise all your data will be deleted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/0*xZD5EnwOVlHNkEfh" /><figcaption>Picture 9: DELETE</figcaption></figure><p>3. Data Control Language (DCL)</p><p>Data Control Language (DCL) is a command in SQL that is useful for controlling and manipulating the access rights of the database itself. Simply put, the Data Control Language (DCL) functions to control access rights (Privileges) and manipulate the USER Database. Included from DCL are GRANT and REVOKE</p><p>a. GRANT</p><p>This command is used to grant access rights by the admin to a user or user. These access rights can be in the form of rights to create (CREATE), retrieve data (SELECT), delete data (DELETE), modify data (UPDATE), ALTER, Even This command can be used to create a new ADMIN in a database.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/0*g9iFx5QVI-IZ91sX.png" /><figcaption>Picture 10: GRANT</figcaption></figure><p>b. REVOKE</p><p>Unlike GRANT which gives ACCESS RIGHTS, REVOKE actually has the authority to revoke access rights from a user. Simply put, REVOKE is the opposite of the GRANT command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/466/0*VAvrs3t-Zwazwmnp.PNG" /><figcaption>Picture 11: REVOKE</figcaption></figure><p>4. TCL (Transaction Control Language)</p><p>The TCL command deals with transactions in the database. Performs a query for transactions in a logical database.</p><p>Example :<br>COMMIT- performs a Transaction. ROLLBACK– rolls back a transaction if an error occurs. AVEPOINT –sets the savepoint in the transaction. COMPATIBLE TRANSACTIONS — sets the characteristics for transactions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/421/0*ENfBvoKco12PVo2M.png" /><figcaption>Picture 12: TCL</figcaption></figure><p>5. JOIN</p><p>A Join statement is used to combine data or rows from one(self-join) or more tables based on a common field between them. These common fields are generally the Primary key of the first table and the Foreign key of other tables.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UIzBx2FFtk4dnn7N" /><figcaption>Picture 13: JOIN TYPE</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/455/0*gTCZJEj-GaJNd341.png" /><figcaption>Picture 14: JOIN command</figcaption></figure><p>6. AGGREGATION</p><p>An aggregate function produced a single result for an entire group or table.<br>Aggregate functions are used to produce summarized results. They operate on sets of rows. They return results based on groups of rows. By default, all rows in a table are treated as one group. The GROUP BY clause of the select statement is used to divide rows into smaller groups.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Dq4Mkp4SxpITlDxM.png" /><figcaption>Picture 15: AGGREGATION</figcaption></figure><p>7. SUBQUERY</p><p>A subquery is a SQL query nested inside a larger query.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WpnxiEjyeZgKiboO" /><figcaption>Picture 16: SUBQUERY</figcaption></figure><p>8. FUNCTION</p><p>also known as Stored Procedures, allow you to carry out operations that would normally take several queries and round trips in a single function within the database.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*y5TrJdqhyr5_55jr" /><figcaption>Picture 17: FUNCTION</figcaption></figure><p>Maybe that’s all the explanation about the introduction of a relational database in PostgreSQL. If there are criticisms and suggestions, you can put them in the comment section of this medium. That is all and thank you.</p><p>Ref:</p><p>eFishery presentation material, accessed on August 25th, 2022</p><p><a href="http://www.jooinfoo.com/2018/07/pengertian-dml-ddl-dcl-tcl-dalam-sql.html">http://www.jooinfoo.com/2018/07/pengertian-dml-ddl-dcl-tcl-dalam-sql.html</a> accessed on August 25th, 2022</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1954b9c35b04" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Daily in eFishery Academy]]></title>
            <link>https://medium.com/@stywanheri/daily-in-efishery-academy-a4e479f4d63f?source=rss-c92396121f82------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4e479f4d63f</guid>
            <category><![CDATA[efishery]]></category>
            <category><![CDATA[efishery-academy]]></category>
            <category><![CDATA[aqua-developer]]></category>
            <dc:creator><![CDATA[Febry Heri Setiyawan]]></dc:creator>
            <pubDate>Wed, 24 Aug 2022 03:01:27 GMT</pubDate>
            <atom:updated>2022-08-24T03:10:27.134Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EEekqaSvDzR7fgKHbpbsLg.jpeg" /><figcaption>Picture 1: photo session with kak Puja</figcaption></figure><p>Hajimemashite, mediumers!!!</p><p>I hope the readers are well there. Okay, here I will write about daily activities during onboarding until day 2 of the eFishery Academy in Malang. When on boarding last Sunday, to be precise at Dialoogi cafe, many colleagues also had the same opportunity to meet and study together from various campuses in Indonesia. In addition, there are many mentors and academic instructors who are very friendly and always support the enthusiasm of the participants to be able to go through the progress of the academy which will last 2 weeks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OYEKY73eGBNSLIyiANZIUA.jpeg" /><figcaption>Picture 2: eFishery Academy attends</figcaption></figure><p>On the first day, the material given is definitely an introduction to working life at eFishery and gives important advice to become a professional and competent software engineer in the world of work. not only that, other materials provided such as monoliths and microservices in the world of software development are also given so that a software engineer can have a strong stance and knowledge in making important decisions when building an application design both on the technical and business side.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j3vhwri98lRJgvdWONO6NQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*03SkQ4TkAitGO-bbDfvWBA.jpeg" /><figcaption>Picture 3 and 4: Mentoring session</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cA257-X2T2vqdQTsoTJmRA.jpeg" /><figcaption>Picture 5: Photo with mentor</figcaption></figure><p>On the second day of eFishery Academy, the material given was an introduction to git management which is the basis of a software engineer’s understanding to manage projects that will be built later, both individually and in teams. this is indeed an important thing to be taught at the beginning of the meeting after knowing the basics of being a professional software engineer. maybe because it’s still awkward and doesn’t look active as a participant to receive material, but there is one important thing that becomes the axis of encouragement for participants to continue to be faithful to the eFishery Academy, namely MOMENTUM because time cannot be repeated once it has been passed without any real achievement at any given time. felt. Therefore, at eFishery Academy, this is a golden opportunity for me and other participants to be able to grow up to become reliable software engineers and can be useful for society in the future. Amen.</p><p>Maybe that’s all I write on this blog. If you have questions about eFishery Academy or related to technology, you can comment in the comment section of my medium or social media. That is all and thank you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4e479f4d63f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[First Impression in eFishery Academy]]></title>
            <link>https://medium.com/@stywanheri/first-impression-in-efishery-academy-c94422e348fe?source=rss-c92396121f82------2</link>
            <guid isPermaLink="false">https://medium.com/p/c94422e348fe</guid>
            <category><![CDATA[efishery-academy]]></category>
            <dc:creator><![CDATA[Febry Heri Setiyawan]]></dc:creator>
            <pubDate>Mon, 22 Aug 2022 17:13:00 GMT</pubDate>
            <atom:updated>2022-08-22T17:13:00.312Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZL2ZbrC93Z--psfBgIg4Kw.png" /><figcaption>Picture 1, eFishery Academy dashboard web (source: <a href="https://efishery.com/en/efishery-academy-ruang-untuk-generasi-muda-membuat-dampak/">https://efishery.com/en/efishery-academy-ruang-untuk-generasi-muda-membuat-dampak/</a>)</figcaption></figure><p>Hajimemasjite, mediumers!!!<br>Hello, I’m back after vaccum from medium in the year ago. So here I will share my first impression of joining the eFishery Academy program in the Aqua Developer section. Before getting to know the eFishery Academy program, I might have explored a lot of events related to deepening material about the world of software engineering. However, when I saw the linkedin post about the eFishery Academy program, I was moved to explore how good eFishery Academy is compared to other academy programs. After looking deeper, it turns out that the program has been running 5 times since July 2021. I finally started to apply at the aqua developer section in the first batch last June but for some reason I haven’t finished the test which is an administrative requirement and in the end I still have to do it. haven’t passed at that time. Did I feel hopeless after that incident? oh of course not. July was the beginning of the story I was able to join eFishery Academy when they opened the opportunity to hold an aqua developer program for batch 2. After taking 2 weeks after the initial test, finally I was accepted. Thanks God.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c94422e348fe" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>