<?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[Developers, Developers, Developers - Medium]]></title>
        <description><![CDATA[This is a collection of thoughts, articles and other observations, made by developers — for developers - Medium]]></description>
        <link>https://medium.com/developer-developers-developers?source=rss----43d7c074a12e---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*XsxupRU5LgTZj5wg.jpeg</url>
            <title>Developers, Developers, Developers - Medium</title>
            <link>https://medium.com/developer-developers-developers?source=rss----43d7c074a12e---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 21:14:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/developer-developers-developers" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The power of pair programming/vulcan mind melding]]></title>
            <link>https://medium.com/@jjkilpatrick/the-power-of-pair-programming-vulcan-mind-melding-fa4718130bfe?source=rss----43d7c074a12e---4</link>
            <guid isPermaLink="false">https://medium.com/p/fa4718130bfe</guid>
            <dc:creator><![CDATA[John Kilpatrick]]></dc:creator>
            <pubDate>Tue, 24 Jun 2014 21:23:57 GMT</pubDate>
            <atom:updated>2014-06-12T11:58:49.165Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aJWtB0HJmeUZM2MMUTi2WA.jpeg" /></figure><h4>A “mind-meld” is a technique for sharing thoughts, experiences, memories, and knowledge with another individual, essentially a limited form of telepathy.</h4><p>This is probably as ‘agile’ as I ever want to get, and probably one of the more controversial aspects of my job (other than some of the chat that comes out from a male dominated office).</p><p>This is the time to put your ego aside, turn your introvert inside out, stop being such a control freak, put your superhero cape away and for god sake brush your teeth!</p><p>Pair programming isn’t for everyone, but I for one love it (with the right person of course) and here is why!</p><h3>1. Skill Transfer</h3><p>This is where you take off your spandex and roll away the cape, no matter how good you think you are, there is almost always a better way of doing something, or a way to simplify and to make clean. The most I’ve ever got out of PP is learning from the other person, no matter what their skillset is, what forte or flavour they code in, someone always has a nifty trick or a new way to do something. Mostly for me, I’ve learnt how to improve my workflow. Learning how to properly provision an environment for development, or how to use the power of Grunt to build my frontend for deployment. Its a sad thing, when someone doesn’t want to learn something new, either sad or naive, or maybe they’re just a dick!</p><h3>2. Sanity Check</h3><p>This is another ego/superhero moment. Sometimes we miss things, whether it be spelling your namespace wrong, missing a closing bracket, locking the front door, leaving the oven on. The list is endless, and a human trait is to sometimes get things wrong. If everyone got everything right, then everyone would win, sport would be pretty bland, and we probably wouldn’t invent anything new. If theres no problem, there is no need to innovate. Think of the person next to you as your safety net, or your very own fireman&#39;s trampoline. Just a note to all you haters that blast people for getting things wrong, tough shit hombre, thats life!</p><h3>3. Knowledge Share</h3><p>This isn’t like a skills transfer, more that you have two developers who know the ins and outs of the code and how the application works. This is always helpful, I wouldn’t want to be the sole guy everyone comes to about everything, I’d get bored…and annoyed. Its also good when the inevitable happens, and a developer (or anyone in a job because it’s a normal thing to do) moves onto a new role.</p><h3>4. Make ‘Friends’</h3><p>Say you work in a team of 8 developers but you’re all working on the same mammoth application. Your pairing may change every week, and that’s a great way to talk to ‘Fred’ the introvert who sits in the corner dribbling over server architecture design. ‘Fred’ might actually have a bit more to him than that, and after your time together (this is not a love story) you might actually get on, then again, he or you, might just stay introvert and sad, and dribble in your separate corners.</p><h3>5. Faster Coding Skillz</h3><p>I’m not entirely sure this is true but I’m going to write it anyway, why, because its my medium! My opinion is that PP is quicker. No need to revisit or rewrite, the instant code review produces cleaner code in less time, and if you do need to revisit, at least two people have oversight over the code.</p><p>So there you have it, I’ll be sure to write up a followup about the disadvantages, but for me, not enjoying PP is more about a clash of personalities with your fellow programmer. Some of them really won’t take off their superhero cape for the day.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*nizjGX2Q0ufXdrAE7Zm6vg.gif" /></figure><p><strong><em>If you liked this, please hit me up with a “Recommend”. Thank you.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa4718130bfe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tips for Using AWS at Your Startup]]></title>
            <link>https://medium.com/@lob/tips-for-using-aws-at-your-startup-e30883c6ed09?source=rss----43d7c074a12e---4</link>
            <guid isPermaLink="false">https://medium.com/p/e30883c6ed09</guid>
            <dc:creator><![CDATA[Lob]]></dc:creator>
            <pubDate>Thu, 19 Jun 2014 02:22:00 GMT</pubDate>
            <atom:updated>2014-06-27T17:42:16.030Z</atom:updated>
            <content:encoded><![CDATA[<h4>Lob</h4><p>Below are some tips that we have aggregated to help startups as they grow on AWS. Most of these lessons came as a direct result of some mishap or mistake that happened in the first year of Lob. These are things that we wish we knew from day 1 that would have eliminated some early hiccups.</p><h4>1. Development/Production Environment Separation</h4><p>When trying to scale engineering one of the best things we learned was to completely separate the development infrastructure from the production infrastructure. This means development and production should be on completely separate accounts. This way only those who absolutely need access to the production infrastructure have the credentials. Meanwhile, all other developers can run tests using the development account without accidently deleting an important AMI, changing a security group, or taking down a set of core servers.</p><h4>2. IAM Access controls and permissions</h4><p>Not everyone in the organization is an AWS expert. From day 1, create a set of simple IAM groups that restrict access and give permissions to users. Ensure that both production and development accounts have these groups. This will eliminate a new hire or intern accidentally destroying something important. Be disciplined with your IAM access, never sign into the master account unless you have to update billing.</p><h4>3. Databases (RDS)</h4><p>Create at least 3 different users to access your DB — an admin, a read-only user, and a read-write user. Your application should be the only one with write access. Give everyone else read-only access. This will eliminate the probability of someone dropping or overwriting your entire users table. It happens. Ensure that your database is multi-az, has automated backs, and has DB snapshots turned on. This way when something goes wrong you can revert. Also save a full copy of your DB to S3 every night at midnight.</p><h4>4. Development/Production Parity</h4><p>Make sure to set up your development and production infrastructure to be identical on AWS. That includes VPC, security groups, IAM groups, AMI’s, S3 buckets. Never cross share information. This will allow your development workflow to be almost identical.</p><h4>5. Route 53</h4><p>Since you will most likely want to share domains across both production and development accounts there are complicated ways to share NS records so both accounts can have access to the same domain. That way you can have<em>www.yourwebsite.com</em> on production and <em>internal.yourwebsite.com </em>on your dev. If you want even cleaner separation than you can have an entire different domain for your development account.</p><h4>6. AMI’s</h4><p>Don’t rely on AMI’s. They get stale quickly and can have bad data stored on them. It is best to always start with a fresh server build. This will also force you to learn how to use Chef or Puppet early on and how best automate server configuration.</p><h4>7. Alerts</h4><p>Add alerts to all your AWS and DB instances. This is an easy way to know when your servers have high CPU, are down, or are running out of memory. It will also give you warnings when they are close to certain thresholds.</p><p>Let us know if you found these helpful!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e30883c6ed09" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[FCC is seeking public input on Net Neutrality]]></title>
            <link>https://thehealthcaremarketer.medium.com/fcc-is-seeking-public-input-on-net-neutrality-7b835882a090?source=rss----43d7c074a12e---4</link>
            <guid isPermaLink="false">https://medium.com/p/7b835882a090</guid>
            <dc:creator><![CDATA[Abdul Rastagar]]></dc:creator>
            <pubDate>Sun, 19 Oct 2014 01:34:08 GMT</pubDate>
            <atom:updated>2014-06-13T03:05:24.147Z</atom:updated>
            <content:encoded><![CDATA[<h4>Instructions on how to comment</h4><blockquote>In February 2014, Netflix <a href="http://www.reuters.com/article/2014/02/23/us-comcast-netflix-idUSBREA1M0X520140223">announced</a> that it will pay a premium to Verizon to keep it from slowing service to streaming customers. Only two months later, Netflix <a href="http://money.cnn.com/2014/04/21/technology/netflix-prices/index.html">raised</a> it’s rates <strong>13%</strong> on its streaming service.</blockquote><p><strong>WHAT</strong><br>FCC is soliciting public comment on Net Neutrality. ISPs want to charge higher rates in return for not throttling broadband speeds. It is widely known that US ISPs are already charging some of the highest broadband rates in the developed world and, in return, provide some of the poorest service, performance and speed. Instead of investing in better service, ISPs are now trying to squeeze more money out of the consumer. Please protect equal broadband access instead of preferential treatment for companies who pay more — those costs will be passed down to the consumer, while everyone will suffer from worse service. This isn’t simply scare mongering, it is already happening:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wBSjqg2T0Zc3cQPEM02ILw.jpeg" /></figure><p>In February 2014, Netflix <a href="http://www.reuters.com/article/2014/02/23/us-comcast-netflix-idUSBREA1M0X520140223">announced</a> that it will pay a premium to Verizon to prevent if from slowing service to streaming customers. Only two months later, Netflix <a href="http://money.cnn.com/2014/04/21/technology/netflix-prices/index.html">raised</a> its rates by <strong>13% </strong>on its streaming service. If the FCC kills off Net Neutrality, there will be plenty more price increases for mediocre service in the future. Let FCC know that this is not acceptable.</p><p><strong>HOW</strong></p><ol><li>Navigate to <a href="http://apps.fcc.gov/ecfs/hotdocket/list">apps.fcc.gov/ecfs/hotdocket/list</a></li><li>Look for docket 14-28 “Protecting and Promoting the Open Internet”</li><li>Fill in the information and submit (you will be asked to confirm your submission.) <strong>For your submission to be legitimate and counted, you must enter your info accurately (name, address, etc.)</strong></li><li>Here’s a sample text you can use….<br><em>The FCC needs to regulate all ISP’s and carriers and prohibit the notion and/or the implementation of tiering internet access. ISP’s already charge consumers exorbitant prices for mediocre services and these plans to end net-neutrality will encourage censorship and force consumers to pay more.<br>FCC should regulate broadband as a public utility to ensure that adequate and equal service is provided, service that is comparable to broadband service in advanced nations in Europe and Asia.</em></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*xgkUEi1rMftZXNkHPlMJqQ.jpeg" /></figure><p>Hi there,</p><p>I’m Abdul. My heart belongs to my family, but my opinions are mine alone.</p><p>For more uninformed conjecture, follow me on <a href="https://medium.com/@CaliAbdul">Medium</a> or on Twitter at <a href="https://twitter.com/CaliAbdul">@CaliAbdul</a>. Or connect with me on <a href="http://www.linkedin.com/in/rastagar">LinkedIn</a>.</p><p>Cheers!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7b835882a090" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You’re being left behind, and you don’t even know it]]></title>
            <link>https://thehealthcaremarketer.medium.com/youre-being-left-behind-and-you-dont-even-know-it-f5e6564adcd1?source=rss----43d7c074a12e---4</link>
            <guid isPermaLink="false">https://medium.com/p/f5e6564adcd1</guid>
            <dc:creator><![CDATA[Abdul Rastagar]]></dc:creator>
            <pubDate>Wed, 11 Jun 2014 02:16:40 GMT</pubDate>
            <atom:updated>2014-06-13T03:02:45.404Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lEg7VqyB0BwMAFz9NeyhBA.jpeg" /></figure><h4>A primer on agile marketing</h4><p>Let’s face it. The customer is running circles around us marketers. While we’re still debating the <a href="https://medium.com/on-small-businesses/facebooks-side-of-the-debate-79f767937769">implications of recent changes to Facebook’s algorithm for marketers</a>, our audience has already moved on to Instagram. What’s that, you say your company now has an Instagram presence? That’s nice. Too bad your customers have switched to SnapChat. Or WhatsApp. Or Reddit. Or…. You get my drift. Consumers seem to change their digital habits more frequently than Bieber gets arrested. It sure feels like we are always one step behind, no matter what we do. So what’s a marketer to do in a dynamic world where the customer decides not just where the game is played but also the very rules of the game itself?</p><blockquote>“What’s needed is a new paradigm for marketing, one that is agile enough to keep pace with the speed of a social and digital world.”</blockquote><p>In this game, it’s imperative to stay current with the market’s digital and social media habits. But is that really possible using our traditional marketing model? You know, that largely static annual marketing document that we copy and paste year after year, then pitch to our executives as something groundbreaking for the new fiscal year: “In 2014, Madame CEO, we’re going to spend X dollars on Y campaigns which will generate Z leads. We will tweet once every day while simultaneously engaging three customers directly on Facebook. We will have unity of voice across all channels to blah blah blah.”</p><p>You can’t fault organizations for thinking like this. Marketing has traditionally closely resembled the waterfall model of product development, where products are engineered on an annual cycle (or longer) and then shipped to customers. However, this is the marketing model of yester-year. In fact, it’s actually the model of yester-century with a little a bit of internet marketing sprinkled on top. We may not realize it yet, but its demise might be upon us sooner than we think. We keep hearing about the digitally empowered consumers who have taken control away from us producers. Yet, we’re still pitching our products to them like we did in decades past. Clearly, the conventional marketing mold is too rigid and cumbersome today. What’s needed is a new paradigm for marketing, one that is agile enough to keep pace with the speed of a social and digital world.</p><blockquote>“Waterfall marketing will boldly proclaim that it knows the answer. Agile marketing will admit that it doesn’t know everything, but it is willing to test and refine until it finds the right answer.”</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*EtLOpuSdaXzjoPjITZ2z7Q.jpeg" /></figure><p>Agile marketing is a fairly new concept. According to Google Trends, the very term was never even searched prior to 2009 (see graph.) It still pales in comparison to other hot marketing trends (Content Marketing is 28x more popular than Agile Marketing on Google.) But it is slowly gaining traction as we’ve increasingly come to grips with the limitations of the “old-school” marketing world. Agile provides you with the opportunity to run circles around those rigid and static marketing plans. It is dynamic, it is data-driven, and it has the ability to adapt to the current situation. Most importantly, it is driven by the customer, not by the marketer. Certainly, this will scare some CMOs. But to stay relevant with customers in the coming decade, companies must embrace change, not fear it.</p><p><strong>What is agile marketing?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tdBkxQpCCH6_mztRvqdftw.jpeg" /></figure><p>Agile marketing was born out of the need to improve speed, prioritize decisions, remain flexible and put the customer at the center. Not surprisingly, it is best suited for companies that have adopted an agile development environment. It eschews inflexible processes and embraces experimentation. Waterfall marketing will boldly proclaim that it knows the answer. Agile marketing will admit that it doesn’t know everything, but it is willing to test and refine until it finds the right answer. Thus, with an agile mindset, there is an element of risk reduction as teams test smaller aspects of a campaign instead of a Big-Bang approach. If things don’t pan out as planned, they can rapidly change direction. Driven by data, marketers no longer have to throw the entire plan out of the window or continue to execute an inadequate strategy just because the fiscal year is not yet complete. At its simplest, Google’s analytics guru Avinash Kaushik (@avinash) refers to this methodology as “failing fast and failing forward.” But to implement agile marketing, your organization must have the right attitude and culture.</p><p><strong>The Agile Marketing Manifesto</strong></p><p>The Agile Marketing Manifesto (<a href="http://www.agilemarketingmanifesto.org/">www.agilemarketingmanifesto.org</a>) sums up the philosophy behind the concept:</p><p>1. Validated learning over opinions and conventions<br>2. Customer focused collaboration over silos and hierarchy<br>3. Adaptive and iterative campaigns over Big-Bang campaigns<br>4. The process of customer discovery over static prediction<br>5. Flexible vs. rigid planning<br>6. Responding to change over following a plan<br>7. Many small experiments over a few large bets</p><p>This means that you and your executives will need to make decisions based on data instead of cookie-cutter marketing documents. You must learn to welcome flexibility, be willing to experiment, to adapt and evolve, and to put the customer’s voice ahead of your own opinions and experience.</p><p><strong>Is agile for us?</strong></p><p>Let us also face the reality that agile marketing is not necessarily for everyone. In some cases, the culture and bureaucracy will never allow it. But that excuse should not be a default position, regardless of the size and legacy of your organization. Remember that the same arguments were also being used against agile development at one point. And yet, today, agile has improved software development even among the largest and most bureaucratic of companies. But to succeed, you must have the right culture. So is agile for you? It is if you want to be focused on the voice of your customer, if you want to react as fast as your market and if you want to to prioritize your resources according to your conditions.</p><p>I’ll be discussing this topic in much more detail in the future. But I’d like to hear from you. What experience have you had with agile marketing? Is it something that might work for you? Why or why not?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*4kM01hqDORQWqNNwUJZr9g.jpeg" /></figure><p>Hi there,</p><p>I’m Abdul. My heart belongs to my family, but my opinions are mine alone.</p><p>For more uninformed conjecture, follow me on <a href="https://medium.com/@CaliAbdul">Medium</a> or on Twitter at <a href="https://twitter.com/CaliAbdul">@CaliAbdul</a>. Or connect with me on <a href="http://www.linkedin.com/in/rastagar">LinkedIn</a>.</p><p>Cheers!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f5e6564adcd1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automating Development Environments with Vagrant and Puppet]]></title>
            <link>https://medium.com/@kloudless/automating-development-environments-with-vagrant-and-puppet-a6bd143d222e?source=rss----43d7c074a12e---4</link>
            <guid isPermaLink="false">https://medium.com/p/a6bd143d222e</guid>
            <dc:creator><![CDATA[Kloudless]]></dc:creator>
            <pubDate>Sun, 20 Jul 2014 16:22:27 GMT</pubDate>
            <atom:updated>2014-05-28T19:01:52.299Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/desat/multiply/grey/60/overlay/grey/1*SnYuaXabZca6sl5p-oY6NQ.png" /></figure><h4>Make development and deployment a lot easier with these two tools!</h4><h3><strong>Your Situation</strong></h3><p>This could be quite varied, you could be:</p><ol><li>A solo developer looking for a fast/easy way to have a local dev environment that resembles your production environment (say you develop on OS X, but are deploying to an infrastructure running some distribution of Linux. As a bonus, there is also an easy way to deploy to Amazon’s EC2 if you have a solid setup locally.</li><li>A member of a team, where everyone has their own development style and want to avoid the headaches of cross-platform support.</li><li>Someone who normally sets up servers in a third-party hosting environment, but you want to test your deployment without paying a bunch of money in wasted servers (this is where I am!)</li></ol><h3><strong>What is Vagrant?</strong></h3><p><a href="http://vagrantup.com/">Vagrant</a> is essentially a wrapper around a variety of virtual machine providers. If you have ever used Make to build a piece of software, it is kind of like that except with virtual machines. It provides a single command that uniformly creates, provisions, destroys, and connects to machines. You can use many different VM providers, but I will be using VirtualBox because it is free and easy to use. Usually it is a pain in the butt to create a virtual machine, install the operating system, etc. Vagrant makes it super easy, and there are lots of premade “boxes” for you to use (more on this later).</p><h3><strong>What is Puppet?</strong></h3><p><a href="http://puppetlabs.com/">Puppet</a> is an infrastructure automation tool and we are going to use it to take the hard work out of setting up our systems. We can do this because lots of people have put a ton of effort into writing modules that we can use. This won’t be a tutorial on Puppet, but it will go over the basics so that you can use modules that other people have written.</p><h4><strong>But I don’t like/use Puppet!</strong></h4><p>That is fine. Thankfully Vagrant is flexible in its provisioners and you can read more about <a href="http://docs.vagrantup.com/v2/provisioning/index.html">the alternatives</a>. For simplicity I am just going to cover Bash and Puppet since that is what I am familiar with. The overall process should be the same if you decide to use <a href="http://www.opscode.com/chef/">Chef</a> or <a href="http://www.ansibleworks.com/">Ansible</a>, but because I don’t know much about them, I won’t discuss them further.</p><h3><strong>Getting Started</strong></h3><h4><strong>Installation</strong></h4><p>Vagrant is a breeze to install: you can read over their <a href="http://docs.vagrantup.com/v2/installation/index.html">installation instructions</a>. Essentially, download the package that is relevant for your platform of choice and install it in the way you would normally install a package.</p><p>You will also need to install your virtual machine provider, in my case <a href="https://www.virtualbox.org/">VirtualBox</a>.</p><h4><strong>First VM</strong></h4><p>Once it is installed, you will want to create a new project directory and initialize it.</p><pre>$ mkdir ~/Vagrant<br>$ cd ~/Vagrant<br>$ vagrant init</pre><p>This will create a new directory and get it ready with a file called <a href="http://docs.vagrantup.com/v2/vagrantfile/index.html">Vagrantfile</a> which will contain all the information that Vagrant needs to manage your dev environments.</p><p>In that file there will be a bunch of comments about the different things you can put in that file. For now we just care about configuring a base <a href="http://docs.vagrantup.com/v2/boxes.html">“box”</a> (which is just a virtual machine image) and some other machine properties. I ended up with a file that looked something like this:</p><pre># -*- mode: ruby -*-<br># vi: set ft=ruby :</pre><pre>Vagrant.configure(“2&quot;) do |config|<br> # Every vagrant virtual env requires a box to build off of<br> config.vm.box = “puppetlabs-precise64&quot;<br> config.vm.box_url = “http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box&quot;<br> config.vm.hostname = “development.kloudless.vm”<br> config.vm.network :private_network, ip: “192.168.33.10&quot;<br> config.vm.network :forwarded_port, guest: 80, host: 8080</pre><pre> # VirtualBox Specific Customization<br> config.vm.provider :virtualbox do |vb|<br> # Use VBoxManage to customize the VM. For example to change memory:<br> vb.customize [“modifyvm”, :id, “—memory”, “1024&quot;]<br> end<br>end</pre><p>Here are the things that we configured so far:</p><ol><li>config.vm.box: The name of the box that you are bringing up.</li><li>config.vm.box_url: The location where Vagrant can look to download the box if you don’t already have a copy on your machine.The box that I chose is provided by Puppet Labs and doesn’t have any pre-installed provisioning software. This will be installed later as part of the bootstrapping process so that it can always be up to date.</li><li>config.vm.hostname: The hostname of the VM.</li><li>config.vm.network :private_network: The private IP address that the VM will have on the private VM network.</li><li>config.vm.network :forwarded_port: The port labelled “guest” on the guest VM will be accessible on the port labelled “host” on your machine.</li><li>VM memory: I gave my VM 1GB because it seemed like it would be enough (<strong>Note</strong>: this is provider dependent).</li></ol><p>Once you have the file in place you can create and provision your VM from the same directory:</p><pre>$ vagrant up </pre><p>After that command finishes running, you will have a VM ready for you to connect and start messing around with. You can access the machine via SSH using:</p><pre>$ vagrant ssh </pre><p>You will now have a shell on your virtual machine as the vagrant user. The user has passwordless sudo access on the machine, it full fledged Ubuntu 12.04 LTS VM and you can do whatever you want! This is great and all, but we want to make things more automated, so you will want to exit your SSH session and get rid of the VM with:</p><pre>$ vagrant destroy </pre><h3><strong>Automating All the Things</strong></h3><p>As was talked about earlier, the nice thing about Vagrant is that it is really easy to offload the configuration to an automated tool, in this case Puppet. Since our VM is pretty bare bones, there is some extra work that we want to do to prepare it.</p><h4><strong>Bootstrapping</strong></h4><p>The box that I chose doesn’t by default come with puppet installed on it, this was a deliberate choice to make sure that I could use the same version I am using in production without having to change the box all the time. As such we need to do a little extra work. Preparing the machine to be puppeted is relatively straightforward and we are going to take advantage of the fact that you can use multiple provisioners on a single machine. In order to use the shell provisioner we add the following lines to our Vagrantfile before the final end:</p><pre># Enable shell provisioning to bootstrap puppet<br>config.vm.provision :shell, :path =&gt; “bootstrap.sh”</pre><p>Then we create a file called bootstrap.sh in the same folder as our Vagrantfile that contains the following:</p><pre>#!/usr/bin/env bash<br>set -e</pre><pre>if [ “$EUID” -ne “0&quot; ] ; then<br> echo “Script must be run as root.” &gt;&amp;2<br> exit 1<br>fi</pre><pre>if which puppet &gt; /dev/null ; then<br> echo “Puppet is already installed”<br> exit 0<br>fi</pre><pre>echo “Installing Puppet repo for Ubuntu 12.04 LTS”<br>wget -qO /tmp/puppetlabs-release-precise.deb \<br> <a href="https://apt.puppetlabs.com/puppetlabs-release-precise.deb">https://apt.puppetlabs.com/puppetlabs-release-precise.deb</a><br>dpkg -i /tmp/puppetlabs-release-precise.deb<br>rm /tmp/puppetlabs-release-precise.deb<br>aptitude update<br>#aptitude upgrade -y<br>echo Installing puppet<br>aptitude install -y puppet<br>echo “Puppet installed!”</pre><p>One important thing to notice is that the script is idempotent (meaning that it can be run multiple times without having any bad effects), this is important because we can run the provisioners without creating a new machine. Your virtual machine will now be ready to be controlled via Puppet!</p><h3><strong>Adding Puppet</strong></h3><p>Since we don’t want to install Puppet on our host machine, bring up the VM and connect to it. Puppet is already installed. We can do all of our initial Puppet configuration directly within the vm. By default, the folder containing the Vagrantfile is shared on the virtual machine in the path /vagrant and this will make a good location to store our puppet configurations. Once in that directory you will want to create a skeleton of your puppet dir:</p><pre>$ mkdir -p puppet/{manifests,modules}<br>$ touch manifests/site.pp </pre><p>From here we will want to install some puppet modules that will make setting up a basic LAMP server easy (for now we will just keep everything on the same box). There are lots of different ways to install puppet modules, but the most straightforward is using the way that is built into puppet:</p><pre>$ puppet module puppetlabs-apache —modulepath \<br>/vagrant/puppet/modules</pre><pre>$ puppet module install puppetlabs-mysql —modulepath \<br>/vagrant/puppet/modules</pre><p>Now we will want to actually write a puppet manifest , so we will want to create /vagrant/puppet/manifests/site.pp with the following:</p><pre>node ‘development.kloudless.vm’ { # [1]<br> class { ‘mysql::server’: # [2]<br> config_hash =&gt; { ‘root_password’ =&gt; ‘herpderpderp’ },<br> }<br> include mysql::php # [3]</pre><pre> # Configuring apache<br> include apache # [4]<br> include apache::mod::php</pre><pre> apache::vhost { $::fqdn: # [5]<br> port =&gt; ‘80&#39;,<br> docroot =&gt; ‘/var/www/test’,<br> require =&gt; File[‘/var/www/test’],<br> }</pre><pre> # Setting up the document root<br> file { [‘/var/www’, ‘/var/www/test’] : # [6]<br> ensure =&gt; directory,<br> }</pre><pre> file { ‘/var/www/test/index.php’ : # [7]<br> content =&gt; ‘&gt;?php echo \’&gt;p&lt;Hello world!&gt;/p&lt;\’ ?&lt;’,<br> }</pre><pre> # “Realize” the firewall rule<br> Firewall &lt;| |&gt; # [8]<br>}</pre><p>This describes how the server gets configured, the basic function is setting your vm with apache, mysql, and php along with a test page. Here are some more details about the different parts:</p><ol><li>The node definition is how we collect configuration for the machine, the label ‘development.kloudless.vm’ matches the hostname that we configured the vagrant box with.</li><li>This statement uses the mysql class to install the mysql server and sets up the admin password for the db as ‘herpderpderp’.</li><li>That is how the php bindings for mysql get installed</li><li>Those two lines install the apache server package and mod_php respectively</li><li>We want an apache vhost where we can access our basic test application.</li><li>This actually creates the directories where the vhost content will live</li><li>That is our application! Right now it doesn’t actually use the database, but it is a good example, we can define the contents of the file inline relatively easily this way. We will replace this later.</li><li>This is a way of realizing virtual resources which in this case configures your machine’s firewall rules.</li></ol><p>Now that we have the puppet configuration ready, we need to have Vagrant use it. This can be done easily by adding the following lines to your Vagrantfile after the shell provisioner lines:</p><pre># Enable provisioning with Puppet stand alone.<br>config.vm.provision :puppet do |puppet|<br> puppet.manifests_path = “puppet/manifests”<br> puppet.manifest_file = “site.pp”<br> puppet.module_path = “puppet/modules”<br> puppet.options = “—verbose —debug”<br>end </pre><p>This just tells vagrant where to find the modules we installed and the manifest we wrote. So now you are ready to vagrant up. Once your box is built, you should be able to visit <a href="http://localhost:8080/">http://localhost:8080</a> and see the output of your test page.</p><p>With a few small adjustments, you could use this to develop a full blown php app. The adjustments you would probably want to make are as follows:</p><ol><li>Remove the index.php file block from the sites.pp file</li><li>Change the webroot value in the vhost code block to be “/var/www/app”</li><li>Configure a shared folder that apache can point to as the webroot. For example, if you have a folder called app that contained your application and it is in the same directory as your Vagrantfile, you would add the following line to the Vagrantfile:<br>config.vm.synced_folder “app”, “/var/www/app”</li></ol><p>Once those changes are made, you should be able to just run vagrant provision to update the settings and you can start dumping your project files into the app directory and you should see those changes on the vm.</p><h4><strong>Learning More</strong></h4><p>If you wanted a LAMP server to develop a php application, you don’t really need to go any further. Odds are, however, that you want to do something more than just this. If you want to run a more complicated application you can do this pretty easily if you can find a module to do it. The specific details of how you use a module depends on what it is, but the documentation is usually ok. If you want to more seriously manage your dev box with puppet, you should do some more reading so you can use the different modules people have written more easily. Here is some recommended reading :</p><ol><li><a href="http://docs.puppetlabs.com/learning/index.html">The Learning Puppet Series</a></li><li><a href="http://www.example42.com/?q=Example42PuppetTutorials">Example42 Tutorials</a>. They also have a bunch of good modules you can use</li><li><a href="http://docs.puppetlabs.com/puppet/3/reference/">Puppet 3 reference manual</a></li></ol><h4><strong>Hiera</strong></h4><p>If you are a more experienced puppet user, you might be familiar with Hiera and want to use it with the modules/classes that you have written. It is pretty easy to do. First, change the value of puppet.options in your Vagrantfile to “—verbose —debug —hiera_config /vagrant/puppet/hiera.yaml”. Now you need to populate that file with your hiera configuration, depending on how you are using it you might end up with something like this:</p><pre>—-<br>:hierarchy:<br> — common</pre><pre>:backends:<br> — yaml<br> — puppet</pre><pre>:yaml:<br> :datadir:<br> /vagrant/puppet/hieradata </pre><p>Now you will want to make a directory called hieradata in the puppet directory. From there you can put all of your hiera variables in a file called common.yaml.</p><h3><strong>Multiple Servers</strong></h3><p>One server is great, but if you have a real production infrastructure, it most likely doesn’t consist of a single machine. Vagrant is pretty nice in that it inherently supports it, you just need to do some modifications to your Vagrantfile. If we wanted to have our database server be separate from our web server. Here is our new Vagrantfile:</p><pre># -*- mode: ruby -*-<br># vi: set ft=ruby :</pre><pre>Vagrant.configure(“2&quot;) do |config|<br> # All Vagrant configuration is done here. The most common configuration<br> # options are documented and commented below. For a complete reference,<br> # please see the online documentation at vagrantup.com.</pre><pre> # Every Vagrant virtual environment requires a box to build off of.<br> config.vm.box = “puppetlabs-precise64&quot;<br> config.vm.box_url = “http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210-nocm.box&quot;</pre><pre> config.vm.define :web do |www| # [1]<br> <a href="http://www.vm.hostname/">www.vm.hostname</a> = “dev-www.kloudless.vm&quot;<br> <a href="http://www.vm.network/">www.vm.network</a> :private_network, ip: “192.168.33.10&quot;<br> <a href="http://www.vm.network/">www.vm.network</a> :forwarded_port, guest: 80, host: 8080<br> end</pre><pre> config.vm.define :db do |db| # [2]<br> db.vm.hostname = “db.kloudless.vm”<br> db.vm.network :private_network, ip: “192.168.33.11&quot;<br> end</pre><pre> # VirtualBox Specific Customization<br> config.vm.provider :virtualbox do |vb|<br> # Use VBoxManage to customize the VM. For example to change memory:<br> vb.customize [“modifyvm”, :id, “—memory”, “512&quot;]<br> end</pre><pre> # View the documentation for the provider you’re using for more<br> # information on available options.</pre><pre> # Enable shell provisioning to bootstrap puppet<br> config.vm.provision :shell, :path =&gt; “bootstrap.sh”</pre><pre> # Enable provisioning with Puppet stand alone.<br> config.vm.provision :puppet do |puppet|<br> puppet.manifests_path = “puppet/manifests”<br> puppet.manifest_file = “site.pp”<br> puppet.module_path = “puppet/modules”<br> puppet.options = “—verbose —debug”<br> end<br>end </pre><p>The primary change are the blocks labelled [1] and [2], those are just adding the host specific configurations for the network settings, so that they can be dealt with separately and talk to each other. Now that there are two boxes vagrant can refer to, for example if you wanted to just bring up the webserver you would do vagrant up web. The name you refer it to is the key that is the argument to config.vm.define.</p><p>In order to have puppet provision both of the servers, we also need to modify the site.pp file so we take into account the fact that we have two nodes. This is pretty straightforward and ends up essentially splitting the single node declaration into two, resulting in:</p><pre>node ‘dev-www.kloudless.vm&#39; {<br># Configuring apache<br> include apache<br> include apache::mod::php</pre><pre> apache::vhost { $::fqdn:<br> port =&gt; ‘80&#39;,<br> docroot =&gt; ‘/var/www/test’,<br> require =&gt; File[‘/var/www/test’],<br> }</pre><pre># Setting up the document root<br> file { [‘/var/www’, ‘/var/www/test’] :<br> ensure =&gt; directory,<br> }</pre><pre> file { ‘/var/www/test/index.php’ :<br> content =&gt; ‘&gt;?php echo \’&gt;p&lt;Hello world!&gt;/p&lt;\’ ?&lt;’,<br> }</pre><pre> # “Realize” the firewall rule<br> Firewall &lt;| |&gt;<br>}</pre><pre>node ‘db.kloudless.vm’ {<br> class { ‘mysql::server’:<br> config_hash =&gt; { ‘root_password’ =&gt; ‘herpderpderp’ },<br> }</pre><pre> include mysql::php</pre><pre> # “Realize” the firewall rule<br> Firewall &lt;| |&gt;<br>} </pre><p>Essentially all that happened, is that we split the original node definitions into two separate ones. Once you have these manifests in place, running vagrant up brings up both virtual machines in sequence. Once they are up, they can communicate over the private network via the configured ip addresses. The hostnames you configure can’t get resolved (it wouldn’t be too hard to put the ip’s and hostnames in each server’s /etc/hosts file through puppet, but that isn’t too relevant here). Now this is more like something you would see in your actual infrastructure.</p><h3><strong>Moving to the Cloud</strong></h3><p>Once you have a real application developed and configured you probably want it to be accessible to everyone, so why not push it out to Amazon’s EC2! This can be done easily through the AWS provider add on to Vagrant. This will basically be a different Vagrantfile that you will use specifically to push to EC2. In order to replicate the configuration we had locally, you first need to install the plugin:</p><pre>$ vagrant plugin install vagrant-aws </pre><p>Once you have the plugin installed, we are going to take advice from the plugin’s docs to get started quickly using a dummy box. All this means is that our configuration will be explicit within the declaration of the box. To register the dummy box, we do the following:</p><pre>$ vagrant box add dummy <a href="https://github.com/mitchellh/vagrant-aws/raw/master/dummy.box">https://github.com/mitchellh/vagrant-aws/raw/master/dummy.box</a> </pre><p>Then we need to modify our existing Vagrantfile to create and provision the box, since it is going to be pretty different, we can create the different configuration blocks:</p><pre># Begin the AWS Provider Configuration:<br> config.vm.provider :aws do |aws,override|<br> aws.access_key_id = “YOUR KEY”<br> aws.secret_access_key = “YOUR SECRET KEY”<br> aws.keypair_name = “KEYPAIR NAME”<br> aws.region = “us-west-2&quot;</pre><pre> aws.ami = “ami-ff68f8cf” # Ubuntu 12.04LTS in us-west-2&quot;</pre><pre> override.ssh.username = “ubuntu”<br> override.ssh.private_key_path = “PATH TO YOUR PRIVATE KEY”<br> end</pre><pre> # This box will be brought up in EC2<br> config.vm.define :web_aws do |web|<br> web.vm.box = “dummy”<br> web.vm.hostname = “www.kloudless.aws&quot; # Dummy hostname<br> end </pre><p>These blocks can just be added into your Vagrantfile before the final end. This assumes that you already have an account and a key-pair set up, so you will need to substitute your credentials into the proper place. I have chosen the Ubuntu 12.04LTS AMI because it is easy to use and us-west-2 because it is pretty close to where I am located (it is in Oregon). Now here is the somewhat tricky bit, because of the way that EC2 works, you won’t really know the hostname of the machine before you bring it up and the network configuration options of Vagrant don’t support setting the hostname. There are a couple ways around this:</p><ol><li><a href="https://github.com/jordansissel/puppet-examples/tree/master/nodeless-puppet/">Nodeless Puppet</a>: A pretty novel approach that is fact driven. It is interesting and probably what I would recommend if you are going to use this in a real production environment.</li><li>Just bring it up and do provisioning afterwards: This is clunky, but easy and what I will do for this blog post.</li></ol><p>So you will bring up your vm with vagrant up web_aws. The shell provisioning will go ahead just fine, but the puppet provisioning will fail. Ths is ok, we just need another puppet node definition. Basically I am going to just copy the node definition on dev-www (if you wanted to bring up the database server in EC2 it would be the same kind of process):</p><pre>node ‘THE NEW HOSTNAME’ {<br> # Configuring apache<br> include apache<br> include apache::mod::php</pre><pre> apache::vhost { $::fqdn:<br> port =&gt; ‘80&#39;,<br> docroot =&gt; ‘/var/www/test’,<br> require =&gt; File[‘/var/www/test’],<br> }</pre><pre> # Setting up the document root<br> file { [‘/var/www’, ‘/var/www/test’] :<br> ensure =&gt; directory,<br> }</pre><pre> file { ‘/var/www/test/index.php’ :<br> content =&gt; ‘&gt;?php echo \’&gt;p&lt;Hello world!&gt;/p&lt;\’ ?&lt;’,<br> }</pre><pre> # “Realize” the firewall rule<br> Firewall &lt;| |&gt;<br>}</pre><p>You can replace THE NEW HOSTNAME with the short domain name that the node thinks it has, in my case it was ip-10-251-32-195. Now you can actually provision your vm with vagrant provision web_aws. In order to actually view the test page, you will need to have your security groups set up properly, but if you just want to check you can vagrant ssh web_aws and then curl <a href="http://localhost/">http://localhost</a> and see that it works.</p><h4><strong>Extra Notes</strong></h4><p>Some things work differently when you are using the AWS provider and the main one you will notice is the shared directories. These get sync’d with rsync every time you run vagrant up, vagrant reload, or vagrant provision. You can also build a bunch more aws configuration into your box definition, so you don’t have to specify it by hand.</p><p>Since it is in EC2 you can take advantage of tags and user data. In our production puppet environment, we have an enc that decides what classes to give an instance based on its tags, but that requires a puppet master, which I didn’t really talk about (right now, vagrant just uses puppet apply).</p><h3><strong>Conclusion</strong></h3><p>Hopefully I have given you a good taste of how easy it is to put these two tools together to make your development and deployment a lot easier! Puppet is a really great tool and I highly recommend learning more so you can take full advantage of this work flow. I am still working to fully utilize all these great tools and it would be great to hear about other peoples’ experiences.</p><p><em>Originally posted by David Thorman(</em><a href="http://twitter.com/david_thorman"><em>@david_thorman</em></a><em>) for the </em><a href="http://blog.kloudless.com/"><em>Kloudless Blog</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a6bd143d222e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Functional Testing]]></title>
            <link>https://medium.com/@jsalva/functional-testing-7e3aa212714?source=rss----43d7c074a12e---4</link>
            <guid isPermaLink="false">https://medium.com/p/7e3aa212714</guid>
            <dc:creator><![CDATA[John Salvatore]]></dc:creator>
            <pubDate>Fri, 30 May 2014 03:33:34 GMT</pubDate>
            <atom:updated>2014-05-30T03:53:20.598Z</atom:updated>
            <content:encoded><![CDATA[<h4>Operationalizing Your User Stories</h4><p>Automated functional testing is an incredibly useful tool that when used properly, communicates clear expectations to your developers, ensures correctness of code, and pays handsome dividends in future productivity. I smell your skepticism from across the room (seriously, I have some Old Spice in my desk drawer. It’s yours. Keep it). You may protest, “but writing tests will suck up my developers’ time! Plus, they start to foam at the mouth whenever we mention testing.” I’ll first try to dissuade you from entertaining this common knee-jerk reaction. Then, we’ll cover how you should write your user stories to lay a solid foundation for functional testing. Once incorporated into your testing arsenal, functional tests will ensure your application stays documented, robust, and bug-free.</p><p>Engineers, no matter how busy you think you are, you have to admit that life would be a whole lot better if you could spend more of it doing pretty much anything other than manual QA testing. Don’t pretend you don’t avoid it at all costs, with questions like “do you think we could outsource this to [insert: other department, interns, 3rd world nation, or equivalently exploitable entity]?” Unless you have a strong masochistic streak, you also hate squashing bugs, especially other peoples’ bugs. Extra especially at 4:00AM on a Saturday. If nothing else, functional tests can help you make sure bugs are solved by the people who create them.</p><p>Managers, imagine the productivity gains you could achieve by keeping your engineers focused on adding value and free of distractions, while simultaneously cutting back dramatically on the amount of hours (i.e. money) wasted on manual QA testing. To be clear, I’m not suggesting that you shouldn’t put a human being in front of your product. That would be an immensely foolish policy, and an offense much more damning than not automating your testing. Rather, I’m suggesting that it would be borderline insane to discover there’s a giant gold mine in your back yard, only to put off buying a shovel or scolding your dog for digging it up.</p><p>I don’t want to belabor the point, but humans are simply not suited to do the kind of thorough, but utterly mundane and repetitive QA that’s most desperately needed. People make mistakes. They get bored. They get tired. Even when they discover a bug, they’re often unclear about what <em>exactly</em> went wrong. Additionally, communication between employees happens very slowly, on the order of minutes to hours, and tends to be constrained between the hours of 9-5. If your company is developing software (presumably it is, or else why are you reading this?), new requirements and functionality will be added as the product develops. This reality necessitates continuous QA to ensure that these modifications don’t destroy past functionality.</p><p>Quite simply, you’ll never be able to hand a human a pile of your newest code modifications and expect them to immediately hand you back a report detailing exactly where in the application your new code broke someone else’s existing feature. On the other hand, this is exactly what we can and do expect functional tests to deliver.</p><p>To compete with automated testing, a QA team would need to guarantee that every requirement is met from every specification ever written. It would need to be able to make this guarantee every time the codebase is changed. Every. Single. Change. For a fast-moving startup or a rapidly developing product, the human capital needed to make that guarantee would be beyond comprehension. Even a modestly effective QA team would cost orders of magnitude more to accomplish over hours and days what a machine could accomplish in a fraction of a second, thousands of times a day, around the clock, until the end of time, at negligible cost.</p><p>So, with that out of the way, let’s see how user stories can help you bootstrap your functional testing strategy. User stories serve a single purpose: to communicate product expectations. What should the user be able to do, and under what conditions? Sometimes, a “why” is thrown in to make sure other team members also understand the broader context. However, the important component of user stories we’ll focus on is expected <em>behavior</em>.</p><p>Functional testing is a complementary tool that can be used to enforce these expected behaviors. A functional test interacts with your application as a if it were a black box. In other words, it tests the <em>behavior </em>of your application, without knowing or caring about how it achieves the behavior. User stories are kind of like laws that dictate how your application should behave, while functional tests are the police that enforce the laws, and throw your code in jail when it causes the application to break these laws regardless of how or why. For example, your user story may dictate that companies using your job search application should be able to create a job posting. Your functional test to enforce this should open your application, log in as a company, and attempt to create a job posting. If it is unable to, the test should scream really loud at whoever ran the test with their the newly added code, so they know to fix it immediately.</p><p>You can think of a functional test as a sequence of actions, accompanied by observations. It’s exactly the same idea behind what a member of a QA team would do by following a script: click some button A, check that popup B appears, type something in text element C, click Submit, and make sure that page D appears without errors. By using browser automation tools like Selenium, the functional test interacts with the application, checking off boxes as it goes along to ensure that the software behaves as advertised. If every action taken results in the expected observation, the test passes. If there is even a single point of unexpected behavior, the test reports a failure with details about how and why. The only difference is that the computer observes, acts, and reports results instead of a human.</p><p>You might be wondering how functional testing can enforce anything. It’s just some code written by that smelly guy in the corner after I handed him my user stories. Well, you’re right. In isolation, functional testing can’t do anything to anyone. Just as those checkboxes won’t jump off the page and chop your arm off, a failed functional test is just that: a failed functional test. It can only report its state to whoever cares to listen. The enforcement of real-world consequences of a failed functional test is the responsibility of the team. For example, the team can invest some time to write a deployment script that will prevent code from being put into production in the event of a failed test. This is a very good idea if you want to prevent your users from hating you.</p><p>Just as a police force is only effective when the laws they enforce are unambiguous and well-defined, your user stories will be useless if they don’t communicate unambiguous expectations. To achieve this, <em>operationalize</em> your user stories as you’re writing them. In other words, you should structure your user story as a sequence of actions a user should be able to take, and accompany each action with explicit <em>acceptance criteria</em>. A good acceptance criterion is one that <strong>must</strong> resolve to either a “pass” or “fail” after some observation is made.</p><p>For example, let’s imagine your application is a to-do list. Let’s use the user story below as an example.</p><blockquote>The user should be able to remove completed items from the list.</blockquote><p>How do we know what constitutes a pass in this case? Should the to-do item remain in the list but get crossed out? Should it disappear? Should it appear in a separate, “done” list? Without an acceptance criterion, it’s ambiguous what would constitute a pass. Let’s improve the user story:</p><blockquote>The user should be able to remove completed items from the list. Clicking the “delete” button next to an item should cause the item to be removed from the list.</blockquote><p>In this case, there’s an unambiguous acceptance criterion that allows us to write an effective functional test. The test can click the delete button, and observe the set of items that remain in the list. It resolves to a “pass” if the item next to the delete button disappeared from the list.</p><p>This is cute and all, but why go through all the extra hassle of writing more detailed user stories, and writing all these functional tests? We know we built the application to just delete the item when the button is clicked. What’s the big deal? Well, let’s imagine some <em>other</em> engineer (it’s always someone else’s fault) starts working on making to-do items appear larger when the mouse hovers over them. In his rush to get the work done, he carelessly comments out a line of code that prevents item deletion. You wrote that code months ago, and he doesn’t give a crap about that enough to check it since he’s only concerned with making sure the text gets bigger when he hovers over the item. Without functional testing, it may well have taken the QA team days to identify anything was ever wrong. The test will immediately catch it.</p><p>Many of the most successful software projects practice an extreme form of discipline called Test-Driven Development (TDD), where functional tests are written to serve as specifications before building anything at all. Whether your team is using hardcore TDD or simply wants to automate otherwise manual QA processes, functional testing benefits greatly from clear, explicit user stories that leave little room for ambiguity. Pepper your user stories with acceptance criteria and checklist items. Your engineers will (eventually) thank you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7e3aa212714" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Successful Software Development Using The Hot Dog Stand Method]]></title>
            <link>https://medium.com/@sebastianmaier_/successful-software-development-using-the-hot-dog-stand-method-ec3547ae7ce7?source=rss----43d7c074a12e---4</link>
            <guid isPermaLink="false">https://medium.com/p/ec3547ae7ce7</guid>
            <dc:creator><![CDATA[Sebastian Maier]]></dc:creator>
            <pubDate>Tue, 27 May 2014 11:05:15 GMT</pubDate>
            <atom:updated>2024-06-28T08:05:50.929Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tbp07lm759ubjacSQ5WG3Q.png" /></figure><h4>Develop software like you would manage a hot dog stand — it will save you time, money and stress!</h4><p>I am probably not the one who invented this type of software development, I am just trying to make this more accessible for non-developers. I’m surprised by how few people seem to know about this method. I think that especially clients of developers should know more about it, because it saves them time and money.</p><h4><strong>What are you even talking about?</strong></h4><p>Imagine yourself as someone wanting to open a hot dog stand. First you would need to have a certain amount of buns, sausages and something to heat them up — onions, relish, ketchup and everything else can be left aside at this point. As long as you sell a bun with a sausage it’s a hot dog right? Probably not one that people will line up for yet and maybe quite dry — but it can be called a hot dog.</p><p>That’s exactly how I start out when I develop software. At first I focus on the main feature(s) — in case of our hot dog stand, that would be the sausages and the buns. Everything else isn’t important at this point, even if you might worry that you wouldn’t be able to “sell” it like this.</p><p>We heavily relied on this method while developing a Content-Management-System software. In our case, the core value we wanted to achieve was for designers to be able to build creative websites for multiple customers without any technical restrictions on the design itself and an easy-to-use backend. These were a lot of requirements to accomplish at once, so we tried to break that down to the minimum requirements. Which were:</p><ul><li>being able to create one new site ,</li><li>adding multiple templates built with plain html, css and js with no need for a script language</li><li>and finally to create pages based on these templates.</li></ul><p>At that time there was no need for folders, authorization, SEO features or whatever we added later. After a very short period of time we could launch our first websites with this new piece of software and learn how to improve it.</p><blockquote>During the whole process of development I only focus on one central feature or a small set of features.</blockquote><h4><strong>The perks of this method</strong></h4><ul><li>Users can try out the software earlier. This means you get feedback faster, which helps to make sure you develop for actual user needs.</li><li>You won’t lose time developing features that people might have no use for, that’s also good for your wallet.</li><li>A limited range of features also limits the risk to miscalculate your estimated costs and most of the time it makes your product easier to understand and to use.</li><li>If you are able to focus on one or just a few features and make sure they run smoothly, this will result in a better product.</li></ul><p>More features will follow later, but based rather on clearly stated needs of the users, than just based on assumptions. In the same way that we would of course later serve certain sauces and garnishes with our hot dog.</p><h4><strong>A tip for developing additional features</strong></h4><p>I will later develop only those features that a critical group of users demand. No one would start serving sweet mustard just because one customer asks for it, right? Trying to please everyone only leads to software being packed with too many features. In the end that’s always bad for your usability and the one who has to pay the price would be the user. You don’t want that.</p><p>I further enhanced this method over the years and this is know one of my concepts to create new product ideas as an MVP — minimal viable product.</p><p>If you want to read more about this method and my other more business related methods, you can find them here:</p><ul><li>(German) <a href="https://www.perplexity.ai/page/HotDogMethode-fr-Produktentwickl-qRkx04vjSR.lkibDHussaw">Die Hot-Dog-Stand-Methode für MVPs</a></li><li>(German) <a href="https://www.sebastianmaier.co/blog/die-spark-methode/">Die SPARK-Methode</a></li></ul><p>I would love to hear about your experiences — thanks for sharing!</p><p><em>Do you want to check out our “hotdog stand” yourself?</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec3547ae7ce7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bezos’ lesson applied]]></title>
            <link>https://medium.com/@fabiozib/bezos-lesson-applied-18e7b1268c12?source=rss----43d7c074a12e---4</link>
            <guid isPermaLink="false">https://medium.com/p/18e7b1268c12</guid>
            <dc:creator><![CDATA[Fabio Zilberstein]]></dc:creator>
            <pubDate>Thu, 22 May 2014 14:37:22 GMT</pubDate>
            <atom:updated>2014-05-22T14:37:22.436Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qjoZvG8eX5ddhHl6D3cr5Q.jpeg" /></figure><h4>3 basic rules for better (web) service</h4><p>Some time ago I read an article summarizing the <em>modus operandi</em> that Jeff Bezos tried to infuse in Amazon animus in 3 key steps:</p><ol><li>Respect your customer (user).</li><li>Be innovative.</li><li>Be Patient.</li></ol><p>How this apply to our effort to improve our<a href="http://ec.europa.eu/digital-agenda"> web presence</a>? Let’s try to crack it in few lines:</p><p><strong>1. Respect our user (customers).</strong></p><p>The inversion of terms in and out of brackets is not casual as <strong>the first step is to realize who are our users, </strong>hopefully becoming customers.</p><p><strong>Users = people who (need to) “use” our website. </strong>They are <strong>not</strong>, for example, our hierarchy, pleased in seeing published a series of self-referencing information. It’s about creating a content offering addressing their need and that they can use in their work/life, not a 1-way broadcast of what we think it’s important and like to publish.</p><p>Respecting them therefore means:</p><p><strong>a)</strong> <strong>respect and value their time, that’s the most precious resource! </strong>Enough of pages worth 5,000 words and 25 attachments, written in a jargon that need translating BruxellesEnglish—-&gt;PlainEnglish. Our content must be immediately available, well indexed and searchable with a straightforward and natural navigation driving people to the correct info if they landed on the another page.</p><p><strong>b)</strong> <strong>Respect their needs. </strong>You cannot and should not decide for them as it’s not about your need to publish, but rather how can you help them achieving their goal with the visit. Ask them what they need.</p><p><strong>c) Respect their money (time=money)</strong> You don’t produce a homepage loaded with useless content that will never open on a smartphone on a train through remote valleys and that will cost them a salary in <a href="https://medium.com/user-experience-researche/537f4c46c629">roaming</a>!</p><p><strong>d)</strong> … and so forth, you got the sense of it</p><p><strong>2. Be Innovative.</strong></p><p>Can we innovate in the public sector? Yes of course! And we must I would say! It’s just a different way of innovating. For <a href="http://ec.europa.eu/digital-agenda">DAE</a> website we did it on several levels:</p><p><strong>a) Technological wise: </strong>taking established robust technologies like <a href="https://drupal.org/">DRUPAL Open Source</a> and break rusted working habits. <strong>Technology innovation does not necessarily mean being on the cutting edge, but innovate your own technological framework to improve your efficiency. </strong>With this shift for example:</p><blockquote>“We removed the technology out of the equation. It was so easy to use the interface that contributors did not (and could not) complain anymore about the tool and concentrated on producing quality content” <a href="http://www.twitter.com/ringrda">(David Ringrose)</a></blockquote><p><strong>b) Process wise: </strong>breaking a clustered way of producing content and conceiving internal and external communication across units and departments . Shifting the balance between centralization and decentralization according to the level of maturity of the community. Hence, it’s a “metrics drives quality” process and learning process for all people involved.</p><p><strong>Our choice is to couple a fully decentralized content production while centralizing the quality assurance with professional editor(s)</strong>. In fact the easiness of the tool allowed to move the content production closer to the experts without the intermediate layer of HTML savvy publishers.</p><p><strong>c) Corporate wise: </strong>we do not close ourselves in our corner enjoying a position of supposed excellence among departments, but we share it with our community of colleagues and drive them on the path we are convinced will prize efforts. Involving more colleagues we can test approaches against a wider panoply of needs, ensuring more future-readiness of the solutions.<strong> It’s a pendulum: we think big first, we start small and then grow up aiming at the big picture in mind.</strong></p><p><strong>3. Be Patient.</strong></p><p>This is the hardest. The world was not built in one day, even God needed six, the same we have to do in our work life: <strong>we have to put the seed and care for its growth, not just wait for it.</strong><br><strong>The caring part is fundamental and that’s where patience is needed:</strong></p><ul><li>To educate and train our colleagues,</li><li>to convince our stakeholder we are going in the right direction,</li><li>to go back to our user and check their needs…</li></ul><p><strong>Nothing is taken for granted and we have to build our portion of confidence and trust through every day deliverable.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/351/1*fthtj9eVSn8aiKCsULvv3w.jpeg" /><figcaption>I found this pic quite deep in meaning, if anyone knows the author please let me know.</figcaption></figure><blockquote><strong>As the old Chinese say “a journey of 1000 miles start with the first step”; and I would add “don’t forget to continue walking!”</strong></blockquote><p>Did you liked this story? I look forward your comments, tips, suggestions, tweets (<a href="http://twitter.com/fabiozib">@fabiozib</a>), linked readings, feedback… any sign of life ;)</p><p>I will do my best to reply to everyone.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=18e7b1268c12" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mac Users, Ready to Supercharge Your Productivity?]]></title>
            <link>https://medium.com/@mattdionis/mac-users-ready-to-supercharge-your-productivity-422ebef00505?source=rss----43d7c074a12e---4</link>
            <guid isPermaLink="false">https://medium.com/p/422ebef00505</guid>
            <dc:creator><![CDATA[Matt Dionis]]></dc:creator>
            <pubDate>Thu, 15 May 2014 18:23:44 GMT</pubDate>
            <atom:updated>2014-05-17T17:05:12.332Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_ri3h6VO-JnHiUHK8ViBaQ.jpeg" /></figure><h4>Top Tools for Designers &amp; Developers</h4><p>Whether you just picked up a shiny new Mac or you’ve been a Mac “pro” for years the following tools will greatly enhance your experience and boost your productivity. These applications are especially useful for web designers and developers.</p><p><em>This entire suite runs about $53, and you can get basic versions of 5 of these 7 applications for free!</em> You truly will feel like your Mac has been streamlined and supercharged once you get your hands on these tools.</p><h3>Alfred 2</h3><p><a href="http://www.alfredapp.com/">Alfred 2</a> is an incredible productivity application. Used to clicking through Finder to find folders and files? After downloading Alfred you’ll never have to bother with Finder again. Simply type in what you’re searching for and Alfred instantly finds it. Thanks to intelligent autocomplete you’ll only need to type the first letter or two in most instances.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*iiENGxe0I8aokoa71gWunA.jpeg" /><figcaption>(source: <a href="http://alfredapp.com/">alfredapp.com</a>)</figcaption></figure><p>You can also quick search the web with Alfred. Use keywords like <em>Wiki</em>, <em>Google</em>, or <em>Twitter</em> before your search terms to search these sites without ever opening your browser.</p><p>I personally use Alfred to open any file or folder I need, to launch web browsers, search websites, and do basic math. With just a couple extra keystrokes you can also choose which program to open a file or folder with. With just a few keystrokes you can have a project folder opened in Sublime Text 2 (learn more about this awesome tool below) and your local site opened for testing in <a href="https://www.google.com/chrome/browser/">Google Chrome</a> (<em>my preferred web testing browser</em>).</p><p>Alfred 2 comes with my highest recommendation and can be downloaded <a href="http://alfredapp.com/">here</a> for <strong>free</strong>! For $29 you can also upgrade to the <a href="http://www.alfredapp.com/powerpack/">Alfred Powerpack</a> which I highly recommend. The Powerpack will allow you to create and import “workflows” which basically make your trackpad or mouse obsolete as you’ll be able to accomplish just about anything with a few keystrokes. Check out some sample workflows <a href="http://mac.appstorm.net/roundups/utilities-roundups/16-great-workflows-to-jumpstart-your-alfred-experience/">here</a>.</p><h3>Divvy</h3><p>Next up in my “must have” Mac tools list is <a href="https://mizage.com/divvy/">Divvy</a>. Divvy is a very simple but extremely useful application. This app allows you to divide your screen into sections. This is very useful if you’re testing out website design and want to be able to see how your code changes effect the site.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OOos3bNDs6_TmKOKCBGH_g.png" /><figcaption>(source: <a href="https://mizage.com/divvy/">mizage.com/divvy</a>)</figcaption></figure><p>I recommend this application if you have a screen 23&quot; and up. However, if you have decent eyesight it can be used effectively on smaller screens at <a href="http://support.apple.com/kb/PH14388?viewlocale=en_US&amp;locale=en_US">scaled resolutions</a>.</p><blockquote>Bonus tip: you can see these changes <strong>live </strong>by utilizing LiveReload (discussed further below).</blockquote><p>A free trial of Divvy can be downloaded <a href="https://mizage.com/divvy/">here</a> and the full version sells for $14.</p><h3>Sublime Text 2</h3><p>This next tool is probably very familiar to many of you. <a href="http://www.sublimetext.com/2">Sublime Text 2</a> is an extremely robust text editor and my tool of choice for all coding needs (HTML, CSS, Javascript, etc.).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iy1uaeuW5qj3a7atLUlCjQ.png" /><figcaption>(source: <a href="http://www.sublimetext.com/2">sublimetext.com</a>)</figcaption></figure><p>Once you download Sublime Text you’ll want to install the <a href="https://sublime.wbond.net/">Package Manager</a> and then check out some of the <a href="https://github.com/SublimeText">incredible packages</a> you can easily install to greatly enhance your experience with this awesome tool.</p><p>Be sure to install the <a href="https://sublime.wbond.net/packages/LiveReload">LiveReload</a> package and pick up LiveReload (discussed in the next section). These tools paired with Divvy will allow you to see your coding changes take effect instantly, just by saving your file in Sublime.</p><p>Sublime Text 2 is available <a href="http://www.sublimetext.com/2">here</a> for free, but I recommend shelling out the $70 to purchase the licensed version eventually. It’s the least we can all do to thank the team behind Sublime for such an awesome program.</p><blockquote>Bonus tips thanks to Medium contributor <a href="https://medium.com/@burnandbass">Chrysto</a>: If you do a lot of coding in Javascript be sure to check out <a href="http://www.jetbrains.com/webstorm/">WebStorm 8</a>, widely considered the best Javascript IDE (Integrated Development Environment). Another Sublime alternative is <a href="https://incident57.com/codekit/">CodeKit</a> which I do not have personal experience with, but comes highly recommended by others.</blockquote><h3>LiveReload</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*iuHxtj0ATwyK8c7QGMJUJQ.png" /><figcaption>(source: <a href="http://livereload.com/">livereload.com</a>)</figcaption></figure><p><a href="http://livereload.com/">LiveReload</a> is another one of those deceivingly simple tools. This application basically removes the need for a browser refresh button when designing or developing. Paired with Sublime Text, Google Chrome, and the LiveReload <a href="https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei?hl=en">Chrome plugin</a> you’ll be making web design changes in record time!</p><p>LiveReload can be downloaded <a href="http://livereload.com/">here</a> for $9.99. <strong>Well worth the price</strong> of admission as far as I’m concerned!</p><h3>GitHub for Mac</h3><p>Before I talk about this specific tool let me mention <a href="https://github.com/">GitHub</a> in general. If you’re a web designer or developer you owe it to yourself to get familiar with <a href="http://git-scm.com/book/en/Getting-Started-About-Version-Control">version control and git</a> in general, and GitHub in particular. GitHub is a powerful and free tool that makes “collaboration, code review, and code management” simple.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*8P6F77jqK_LeUifiCk9zJQ.png" /><figcaption>(source: <a href="http://amscotti.github.io/advanced-github-workshop/#/">Advanced GitHub Workshop</a>)</figcaption></figure><p><a href="https://mac.github.com/">GitHub for Mac</a> is the self proclaimed “easiest way to use GitHub on Mac”, and it’s true. Committing changes and syncing branches is a breeze thanks to this simple lightweight tool.</p><p>You can download GitHub for Mac <a href="https://mac.github.com/">here</a> for <strong>free</strong>!</p><h3>Dropbox</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/172/1*eQNE2wQeN1waY0-kSlYkoA.png" /><figcaption>(source: <a href="https://www.dropbox.com/">dropbox.com</a>)</figcaption></figure><p>This next tool is another familiar one, <a href="https://www.dropbox.com/">Dropbox</a>! I recommend Dropbox for keeping your project files organized and freely available wherever you are. With a Dropbox account and apps installed on your phone, tablet, and computer you can keep track of your project documents, images, and other files wherever you are. You can also open up certain folders to wider audiences so your clients and collaborators can share files with you instantly.</p><p>You can sign up for Dropbox <a href="https://www.dropbox.com/">here</a> for <strong>free</strong>, and <a href="https://www.dropbox.com/pricing">premium plans</a> are available as your data needs grow.</p><h3>Evernote</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*ANlCAJ29RNkUMUly6JswVA.jpeg" /><figcaption>(source: <a href="https://evernote.com/">evernote.com</a>)</figcaption></figure><p>The final productivity tool I highly recommend is <a href="https://evernote.com/">Evernote</a>! Evernote is similar to Dropbox in that it allows you to access it anywhere at anytime with their companion Mac, phone, and tablet apps.</p><p>Where Dropbox shines with files Evernote shines with ideas, thoughts, plans, and lists. Evernote is my trusty companion when I come up with a new idea for a website, app, or article. I can quickly pull up Evernote and edit my vision at anytime from anywhere as your account syncs across all devices.</p><p>You can get your hands on Evernote <a href="https://evernote.com/">here</a> for <strong>free</strong>, and also check out their <a href="https://evernote.com/premium/">premium offerings</a> with offline notebooks, collaboration and presentation tools, and more.</p><p><em>If you enjoyed this post please click that little “</em><strong><em>Recommend</em></strong><em>” button to let me know, and shoot me a tweet anytime </em><a href="https://twitter.com/mattdionis"><strong><em>@mattdionis</em></strong></a><em>.</em></p><blockquote><strong>Recently published: </strong><a href="https://medium.com/p/550a4108fd94"><strong>The Best of Both Worlds: Turn your 13&quot; MacBook into a 23&quot; iMac for under $400</strong></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=422ebef00505" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Choosing Right Mobile Ad Format For App Monetization]]></title>
            <link>https://medium.com/@ivbran/choosing-right-mobile-ad-format-for-app-monetization-34344d00cec3?source=rss----43d7c074a12e---4</link>
            <guid isPermaLink="false">https://medium.com/p/34344d00cec3</guid>
            <dc:creator><![CDATA[Branimir]]></dc:creator>
            <pubDate>Tue, 13 May 2014 15:43:09 GMT</pubDate>
            <atom:updated>2018-08-13T22:51:10.843Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*BLqjSE9ll-aCSNdn8uhahg.jpeg" /></figure><h2>Choosing the Right Mobile Ad Format For App Monetization</h2><h4>Mobile ad formats explained for app publishers and app developers</h4><p><a href="http://twitter.com/ivbran"><em>Branimir</em></a><em> is a co-founder at </em><a href="http://adtapsy.com/"><em>AdTapsy</em></a><em>, a mobile ad revenue accelerator aiming to help publishers and developers to monetize their apps.</em></p><p>Mobile in-app advertising is the most common monetization strategy among app developers and app publishers. It is by far the easiest and the fastest app monetization strategy that just about every mobile app developer employs, particularly developers with focus on app games. According to App Annie Survey from Feb 2014, more than 40% of app publishers used paid advertising within their apps:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/953/1*Kc-L8_y4b_8L37gArRZxmQ.png" /></figure><p>Although deploying mobile ads is easy and fast, choosing the right ad network(s) can be confusing if you are not familiar with current ad formats in mobile advertising. Understanding the pros and cons of each ad format will help you to decide on the format that may perform best for your monetization goals. This article will introduce you to the major mobile ad formats.</p><p>There are 6 most common mobile ad formats: <strong>Interstitials,</strong> <strong>Native ads, Banner,</strong> <strong>Video,</strong> <strong>Rich media and List / panel ad formats.</strong></p><p><strong>Interstitials — </strong>The word <em>interstitial </em>means “between spaces”. Тhe name itself says that ad is used as a transitional screen between two portions of an app. It is popular mostly among games apps, often performing pretty good results (if used appropriately without overindulgence).</p><p>Interstitial ads are supported by most ad networks, but for some of them you will need their explicit approval (Admob e.g.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/150/1*fOywY2372bZEc2T95J0hsQ.png" /><figcaption>Sample of interstitial ad</figcaption></figure><p>Pros:</p><ul><li>Full Screen</li><li>High CTR</li><li>Fast and easy to deploy</li></ul><p>Cons:</p><ul><li>Can be highly irritating if used improperly</li></ul><p><strong>Native ads — </strong>This ad format works more like content and is becoming very popular among publishers and social networks. New ad networks that offer this format appear constantly, often naming this format with different terms. Just few days ago world’s largest independent mobile ad network <a href="http://techcrunch.com/2014/04/29/inmobi-launches-native-ad-platform-to-woo-publishers-looking-beyond-facebook-google/">InMobi released the platform offering native ads</a> as well. Other companies that support native ads are: Google, Facebook, Twitter…</p><p>Native ad formats match form, function and feel of the app, therefore it is not interrupting user experience. That‘s why it is preferred both by publishers and advertisers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/426/1*n5hoTwmVKGnKq1n5rINHOg.png" /><figcaption>Sample of native ads in Twitter app</figcaption></figure><p>Pros:</p><ul><li>better user experience</li></ul><p>Cons:</p><ul><li>Higher cost of maintenance</li></ul><p><strong>Banner — </strong>This is one of the most dominant form of advertising on the internet. While it still works well in WWW, results are not impressive for mobile apps. It provides lowest CTR and eCPM according to <a href="http://appflood.com/blog/interstitial-ads-generate-the-highest-earnings">data recently collected by AppFlood</a>( CTR stood around 0.23% ). Banner can still perform well for advertisers aiming to improve advertisers’ brand awareness and visibility, but they certainly don’t generate best revenues for publishers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/325/1*WMptmYpgMUgw3ATpx92ddw.png" /><figcaption>Sample of admob banner ads</figcaption></figure><p>Pros:</p><ul><li>customizable refresh rate</li></ul><p>Cons:</p><ul><li>low CTR and eCPM</li><li>app redesign may require</li></ul><p><strong>Video — </strong>Video ads are great source of revenue for app developers. Videos last between 15 and 30 seconds depending on the ad network. Deployment of this ad format is easy and it is not different than deployment of interstitial ads. Most popular ad networks supporting video ads are Vungle and Adcolony.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/326/1*vwxze_r2ciq88X-bwhzy2w.gif" /></figure><p>Advertiser are shifting their budgets to where their audiences are — from TV to online video, including video watched on mobile devices. Great news both for advertisers and publishers is that users love watching video ads on their mobile devices. The average CTR for mobile campaigns (13.64%) almost three times bigger than the desktop campaigns (5.45%);</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FLPgzks4jAUA%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DLPgzks4jAUA&amp;image=http%3A%2F%2Fi1.ytimg.com%2Fvi%2FLPgzks4jAUA%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/dcc66a09b0035eb1956823bb6702cd12/href">https://medium.com/media/dcc66a09b0035eb1956823bb6702cd12/href</a></iframe><p>Pros:</p><ul><li>Аttracts attention</li><li>Users like watching video</li><li>High CTR</li></ul><p>Cons:</p><ul><li>Non-skippable video can be irritating</li></ul><p><strong>Rich media</strong> — this ad format is most distinguished with multitude of engaging mobile ad creative attributes including interactivity, video, functions like calling a number, sending a SMS message, embedding audio etc. Thanks to its interactivity mobile rich media ads have higher engagement rate with app users. As a result it generates higher conversion rates for advertisers, respectively higher revenue for app publishers.</p><p>Users generally accept well this type of format, due to human need and desire to be involved. If told in a clear, intriguing manner what are the required next steps in order to achieve a certain goal (score points, complete survey, win game etc.) users are more likely to engage and complete the whole process (e.g. download game from appstore)</p><p>Pros:</p><ul><li>Engaging</li><li>High CTR</li></ul><p>Cons:</p><ul><li>Can be highly intrusive</li></ul><p><strong>List </strong>/ <strong>panel ad formats </strong>— Just like their names are saying those ad formats are displaying ads in a list or panel, while popular term for list ads are “Offer Walls”. Both formats allow app users to scroll ads. Since there are usually plenty of apps displayed chances for users to pick and download something are pretty high. Giving the app user multiple options for downloadable apps or clickable ads perform well: App Lists — 7.14% CTR and Panels — 12.6% CTR (<a href="http://appflood.com/blog/average-ctr-by-ad-formats">according to appflood</a>):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/339/1*BwthLWKBnPtljnBNI34-yg.png" /></figure><p>Pros:</p><ul><li>High CTR</li><li>Plenty of apps in one ad</li><li>Non-intrusive ads</li></ul><p>Cons:</p><ul><li>Low impressions</li></ul><p><strong>What ad formats to use for app monetization?</strong></p><p>Actually, no one can tell. It depends a lot on the app itself. As seen above each ad format has its own pros and cons. Some ad formats work best with game apps, other with social apps, but <strong>there is no secret sauce</strong>. Fact that Flappy Bird’s creator Dong Nguyen <a href="http://www.theverge.com/2014/2/5/5383708/flappy-bird-revenue-50-k-per-day-dong-nguyen-interview">generated about $50,000 per day</a> only from mobile banner ads doesn&#39;t mean that it was the best monetization model for Flappy Bird (neither for other mobile apps out there). Every single app is unique and the only way to make sure you have picked the right ad format, respectively the right ad network, is to:</p><ul><li>Test different ad formats;</li><li>Make sure displayed ad formats does not affect user experience of your app;</li><li>Use more than one ad format and one ad network.</li></ul><p>We at <a href="http://adtapsy.com/">AdTapsy</a> believe that app monetization with all those formats and more than 100 of ad networks is a little bit confusing for developers. It is difficult to keep up with all new trends in mobile advertising. We want to help app developers to focus on application development and do not waste time researching and testing latest innovative formats.</p><p>That is why we are building <a href="http://adtapsy.com/">solution</a> aiming to help app developers and app publishers easily maximize their mobile ad revenue. With our SDK app developers and publishers can integrate very easily more than one ad format and more than one ad network and prioritize them for the best results.</p><p><em>Thanks for reading this! If you got value out of this article, I would really appreciate you hit the recommend button below. If you have any questions or comments please reach out on Twitter </em><a href="http://twitter.com/ivbran"><em>@ivbran</em></a><em> or </em><a href="http://twitter.com/adtapsy"><em>@adtapsy</em></a><em>!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34344d00cec3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>