<?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[Web Design and Development - Medium]]></title>
        <description><![CDATA[Write about what’s right about the web - Medium]]></description>
        <link>https://medium.com/web-design-and-development?source=rss----c3505f7af47d---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*oyeizHBEYO1sZn6n.png</url>
            <title>Web Design and Development - Medium</title>
            <link>https://medium.com/web-design-and-development?source=rss----c3505f7af47d---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 10:49:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/web-design-and-development" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Approaching Web Content Collaboratively]]></title>
            <link>https://medium.com/web-design-and-development/collaborative-content-first-5518c111840b?source=rss----c3505f7af47d---4</link>
            <guid isPermaLink="false">https://medium.com/p/5518c111840b</guid>
            <dc:creator><![CDATA[Ben Hartley]]></dc:creator>
            <pubDate>Fri, 17 Oct 2014 17:59:55 GMT</pubDate>
            <atom:updated>2014-12-09T13:55:25.839Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w1H6r1FWR5Z79xuXX277iQ.jpeg" /></figure><h4>Suggest a collaborative content method to ensure that the client gets exactly the website they need — not necessarily what they first asked for.</h4><p>A new website project should always start with “content first”. When you ensure that the majority of content is already produced you know that important messages and key calls to action won’t be missed. Only then will the end product be exactly fit for purpose.</p><p>Going above and beyond “Content First” is a method called “Collaborative Content First”. You produce the majority of your content as you would any other project but then request to influence content decisions based on layout and technology. Collaborating with your client will give them a new perspective about possible ways in which to present their content which they may not have thought of or even know exists. After all, they know their company — but you know the web.</p><p>Just to give you a quick idea about the benefits of collaborative content I’ll run through three possible situations below.</p><h4>No content upfront</h4><p>Imaging trying to build a bit of flat pack furniture without the instructions. You’ll eventually get it built but it’ll take longer and may not turn out exactly as expected. That’s what will happen if there is no content provided at the initial wireframe/design stage. You’ve no doubt made up headings before or even populated them with lorem ipsum. This method tends to end up with a client making suggestion the first time they see the site in a browser — at the end of the project — when amendments are a real pain in the arse.</p><h4>All content upfront</h4><p>This will obviously be better than no content upfront. As the designer you will be able to use what is provided to lay pages out and then can suggest amendments to content to provide a more suitable design, but you are more restricted to what is already produced. Generally clients tend to produce too much content and deciding what to remove or producing new content for your suggestions is additional work for them.</p><h4>Collaborative content</h4><p>Instead of requesting all content upfront, you suggest a title only and content region approach. Allow the client to suggest required content areas. For example on the homepage they may wish to talk generally about the company, then specifically about a couple of major products. Allow them to suggest a paragraph count for content region, then give them a wireframe layout based on what is suggested. At this point you have the freedom to suggest reduction in content, or perhaps suggest new content areas to balance a page. You could recommend an innovative way of displaying content, or maybe you feel that a particular content area may benefit from being converted into a video instead. This way the client hasn’t invested too much time producing what may well be obsolete content and you have the opportunity to give the end user the best experience possible.</p><p>The client knows their company, and you know the web — so content production should be a collaborative exercise.</p><p>Obviously every web studio works slightly differently, so maybe this method won’t work for you. Maybe you write for your client or outsource the copywriting out, however hopefully I’ve given you something to contemplate the next time you start a web project.</p><p><a href="http://www.mynameisben.co.uk/">Ben Hartley | mynameisben</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5518c111840b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/web-design-and-development/collaborative-content-first-5518c111840b">Approaching Web Content Collaboratively</a> was originally published in <a href="https://medium.com/web-design-and-development">Web Design and Development</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The power of pair programming/vulcan mind melding]]></title>
            <link>https://medium.com/web-design-and-development/the-power-of-pair-programming-vulcan-mind-melding-fa4718130bfe?source=rss----c3505f7af47d---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=""><hr><p><a href="https://medium.com/web-design-and-development/the-power-of-pair-programming-vulcan-mind-melding-fa4718130bfe">The power of pair programming/vulcan mind melding</a> was originally published in <a href="https://medium.com/web-design-and-development">Web Design and Development</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Better Button]]></title>
            <link>https://coyleandrew.medium.com/building-a-better-button-18a49d066ce5?source=rss----c3505f7af47d---4</link>
            <guid isPermaLink="false">https://medium.com/p/18a49d066ce5</guid>
            <category><![CDATA[product-design]]></category>
            <category><![CDATA[interaction-design]]></category>
            <category><![CDATA[design]]></category>
            <dc:creator><![CDATA[Andrew Coyle]]></dc:creator>
            <pubDate>Mon, 02 Jun 2014 02:39:10 GMT</pubDate>
            <atom:updated>2017-05-21T23:03:55.915Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/desat/multiply/grey/60/overlay/grey/1*q3Z_cRs01hYWSHqHYEJOkQ.jpeg" /></figure><p>In the famous book <a href="http://www.amazon.com/Dont-Make-Me-Think-Usability/dp/0321344758"><em>Don’t Make Me Think</em></a>, Steve Krug advocates that designers should make buttons look like physical buttons people would find in their non-digital lives. This advocacy became a standard and then recently declined after the rise of Flat Design. Now buttons are less obviously clickable.</p><p>I am sure you have clicked a button by accident or by not knowing that the button was indeed a button. This is usually a harmless and reversible action, but sometimes it isn’t. People who prematurely send an email before they are done writing it or individuals that accidentally buy something online are obviously frustrated when these unintended actions occur.</p><p>Apps often ask users if they are sure they want to do something after a user presses a button to alleviate issue of accidental clicks. This is usually annoying and adds another step to the process. What if every time you wanted to purchase something at the grocery store someone asked “are you sure.” If you’re like me and love to indulge in ice cream, beer, and chocolate (often at the same time) the prospect of someone asking “are you sure you want to buy that quart of Häagen-Dazs ice cream” may make you rethink the idea.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*U7-kEh5rvHXD2TVIgdugWw.jpeg" /></figure><p>To relieve this issue I created a button that requires a bit more work to press, but relinquishes the need to ask “are you sure.” This button requires a user to click and slide the arrow element across the button to initiate the interaction. <a href="https://dribbble.com/shots/1579079-Commit-Button-Free-PSD">Feel free to download the PSD.</a></p><p>What do you think of this solution? Is it intuitive? How can it be improved?</p><blockquote>If you found this article of value please click the ♡ below so others can find this post.</blockquote><h3><a href="https://andrewcoyle.com/">Find me</a> on <a href="https://twitter.com/CoyleAndrew">Twitter</a>, and <a href="https://dribbble.com/AndrewCoyleDesign">Dribbble</a>.</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=18a49d066ce5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[UI for UI’s Sake]]></title>
            <link>https://coyleandrew.medium.com/ui-for-uis-sake-1266d0f98789?source=rss----c3505f7af47d---4</link>
            <guid isPermaLink="false">https://medium.com/p/1266d0f98789</guid>
            <category><![CDATA[ui]]></category>
            <category><![CDATA[design]]></category>
            <dc:creator><![CDATA[Andrew Coyle]]></dc:creator>
            <pubDate>Mon, 02 Jun 2014 17:12:23 GMT</pubDate>
            <atom:updated>2017-05-21T23:05:05.827Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*sFVHlOqVIm29kdlxkttw4w.jpeg" /></figure><h4>l’art pour l’art’</h4><p>The current theory of UI advocates that the best design is the least amount of design needed to accomplish a user’s tasks and goals. This belief drives a sameness to the aesthetic of interfaces. Spend a few minutes looking at the beautiful UI work on <a href="https://www.behance.net/search?field=132">Behance</a> and <a href="https://dribbble.com/tags/ui">Dribbble</a> and you will realize that everything looks terribly similar. I don’t think this is because people feverishly copy each other, rather they employ UI patterns that have been validated by others. Designers are increasingly defaulting to quick prototyping tools and “designing in the browser” to save time. The problem is that we don’t move past these practices. Also, we often over test and over optimize common design patterns in the name of “lean UX.”</p><p>These methods have made design more and more standardized leaving some asking <a href="http://blog.usabilla.com/ux-death-ux-2/">“What happens once we have discovered all possible solutions?”</a> Could we reach a point where designers are no longer needed because every design challenge has been solved and standardized?</p><p>What would happen if designers stopped trying to resolve the same UI problems and began creating new ways of doing things driven by their intrinsic taste?</p><p>“Art for art’s sake” was an art movement in the early 19th century that held that art doesn’t need to be the product of any moral or utilitarian function, and that art can merely be an expression of self. The movement was a rejection of the industrialization of society and culture during the time. The movement produced many beautiful works that later influenced the same system it sought to repudiate.</p><p>Should UI designers drop their analytical lens and start building for themselves like the artists of the 19th century that sought to undermine the industry’s influence on art? Is it time to add “art” back to the design process?</p><p>Of course any self-respecting designer will base their design choices on some objective standard but maybe we should add a bit of fun to our UI and see what happens. Perhaps we may find a new way of doing things. Perhaps our intrinsic whims and tastes are shared with the “users” we serve.</p><p><strong><em>l’art pour l’art’</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1266d0f98789" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[8 ways to add visual hierarchy]]></title>
            <link>https://coyleandrew.medium.com/8-ways-to-add-visual-hierarchy-8820be73218a?source=rss----c3505f7af47d---4</link>
            <guid isPermaLink="false">https://medium.com/p/8820be73218a</guid>
            <category><![CDATA[psychology]]></category>
            <category><![CDATA[product-design]]></category>
            <category><![CDATA[art]]></category>
            <category><![CDATA[design]]></category>
            <dc:creator><![CDATA[Andrew Coyle]]></dc:creator>
            <pubDate>Thu, 29 May 2014 22:09:50 GMT</pubDate>
            <atom:updated>2020-05-16T20:02:19.336Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/968/desat/multiply/yellow/60/overlay/yellow/1*tfgrYbhBT_haTjzYVf-rqQ.jpeg" /></figure><h4>Add direction to your design</h4><p>There are many ways to achieve a visual hierarchy. Below are a few that can add direction to your design.</p><h4>Size</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/1*8-o8RD77BNkHfN0Dh6fhZg.jpeg" /></figure><h4>Contrast</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/1*7vz8ExlaRQ1Z2LMgjBLXIw.jpeg" /></figure><h4>Color</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/1*EHKLIqS53ErF1x20iuCEsQ.jpeg" /></figure><h4>Style</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/1*zeLHzmoOrZBIKoJag5bncw.jpeg" /></figure><h4>Grouping</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/1*nGHcwNNziAX_aiYOy0wNKg.jpeg" /></figure><h4>Unity</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/1*nWCed-KyMJEmFnwzc0INPQ.jpeg" /></figure><h4>Symmetry</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/1*6B5WT4QAFOQfuYaBgwuIMA.jpeg" /></figure><h4>Similarity</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/1*pmy3Ey5FUZzR5xDYlEjWaQ.jpeg" /></figure><p>What are some other ways to add visual hierarchy? I would love to hear your thoughts.</p><blockquote><a href="https://andrewcoyle.com/">Find me</a> on <a href="https://twitter.com/CoyleAndrew">Twitter</a>, and <a href="https://dribbble.com/AndrewCoyleDesign">Dribbble</a>.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8820be73218a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[28 Clever Under the Radar Growth Hack Examples]]></title>
            <link>https://medium.com/@andottto/28-clever-under-the-radar-growth-hack-examples-b8a90781087d?source=rss----c3505f7af47d---4</link>
            <guid isPermaLink="false">https://medium.com/p/b8a90781087d</guid>
            <dc:creator><![CDATA[Ashli]]></dc:creator>
            <pubDate>Wed, 11 Jun 2014 04:34:44 GMT</pubDate>
            <atom:updated>2014-08-14T02:24:24.317Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1001/desat/multiply/yellow/60/overlay/yellow/1*3kQaQ25i7ZAAssax7tJDhg.png" /></figure><h4>We all know about the Paypal, Hotmail, and Airbnb growth hacks. Here are 28 new growth hack examples to help you market your web and mobile apps.</h4><p><strong><em>Originally posted on </em></strong><a href="http://autosend.io/growth-hack-examples/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=28growthack"><strong><em>Autosend.io : Growth Hack Examples</em></strong></a></p><p>“Growth Hack” is a <a href="http://autosend.io/what-is-big-mobile/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=28growthack">buzzword</a> that describes the clever methods web and mobile app marketers use to grow quickly. The problem is, if you look for growth hacking examples, the same ‘ole Paypal, Hotmail, and Airbnb examples always come up.</p><p>I figured it’s time for <a href="http://autosend.io/how-to-onboard-users-email-sms-push/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=28growthack">some new examples</a>. So I looked around and put together a list of 28 web and mobile app growth hack examples you’ve probably never seen.</p><p>Let’s get to it!</p><h3>Growth Hack Examples for Web Apps</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*C2SLCi8uO9i6w2RoyMQHzQ.png" /></figure><p>1. <a href="https://zapier.com/">Zapier</a> Landing Page Hack — Zapier has a landing page for every integration pairing they have AND don’t have. This is not only good for <a href="http://autosend.io/how-to-onboard-users-email-sms-push/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=28growthack">user onboarding</a>, but great for SEO and getting new users to imagine the power of Zapier without even using it. It also helps Zapier get sign ups and know which integrations to focus on next. It’s just so darn clever.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*_IZ9To9abzsuYdkJpzlocQ.png" /></figure><p>2. <a href="https://taplytics.com/">Taplytics</a> Can Do Hack — Taplytics offers to setup their <a href="http://autosend.io/ab-testing-tools-mobile-apps/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=28growthack">mobile app A/B testing tool</a> for you if you need help. This may not seem like a hack but let me explain. Getting people to use your app is one thing, but getting people to actually install something that requires a developer is another. That’s why Taplytics’ can-do attitude is such a phenomenal hack. They realize non-technical mobile app marketers will probably stumble on their page first. If app marketers can get set up help without begging their swamped dev team to do it, they’re more likely to choose Taplytics. If this is scalable for you, find a way to do it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*pIqXqie4uHqRygw5unxs0g.png" /></figure><p>3. <a href="https://qualaroo.com/">Qualaroo</a> and <a href="http://moz.com/">Moz</a> Community Hack — If you could create a site for your potential customers to visit everyday to discuss topics around your product, would you build it? Moz and Qualaroo did. Moz created a <a href="http://moz.com/community/q">Q&amp;A and advice forum for online marketers</a> that requires a login that also can be used to sign into your pro Moz account. Qualaroo created <a href="http://growthhackers.com/">Growthhackers.com</a> for growth hackers to do the same. Now anytime you visit the Moz community you have no choice but to remember to use their app. When participating on Growthhackers.com you happen to see banners marketing webinars for Qualaroo. It’s a win for everyone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*dEDh6UMexpG7FBcp2A45rQ.png" /></figure><p>4. <a href="https://www.funnelfeed.io/">Funnelfeed</a> Craigslist Promo Hack — Funnelfeed used Craigslist to promote their service. But to get the signups they needed, they <a href="https://medium.com/navigating-digital-marketing/driving-traffic-from-craigslist-fbc791abfb36">baited startups with a huge promo code</a> they found for free office space. It’s perfect because it cost them nothing and it’s something their potential users actually want. Besides, the goodwill they’ll get from saving startups money is huge for their retention.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*WIZl5fust09_0p6JyptKIA.png" /></figure><p>5. <a href="http://newrelic.com/">New Relic</a> and <a href="http://www.invisionapp.com/">Invision</a> T-shirt Hack — People will do almost anything for free t-shirt and New Relic and Invision know this. New Relic gives a free t-shirt to anyone that signs up for their service. Invision gives a t-shirt to anyone that signs up for their mailing list on their exit intent pop-up. Both techniques get visitors to convert before they leave their site.</p><p><a href="http://autosend.io/blog/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=28growthack">We write posts like this all the time. Why not check out the Autosend blog?</a></p><p>6. <a href="https://generalassemb.ly/teach-at-ga">General Assembly</a> and <a href="https://www.udemy.com/">Udemy</a> Content Hack — We all know how hard it is to seed a community with great content, especially when you need experts. Instead of spending a lot of money and time creating their own content, General Assembly and Udemy convinced experts with an audience to do some of the heavy lifting for them, instruction-wise. Though General Assembly develops its own curriculum and content, they’ve also enlisted experts to lead classes and workshops, reducing the number of instructors they have to hire and allowing individual instructors to do some of the marketing for them. Udemy (especially at the beginning) even cold emails authors, professors, and other experts to add content to their site.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*WPlAoJGTNd_RYf4HJX3png.png" /></figure><p>7. <a href="https://www.growthhacker.tv/">Growth Hacker TV</a> Free Ad Network Hack — Leave it to the person who make videos about growth hacking to come up with a great growth hack like this. Growth Hacker TV partnered up with growth niche sites and agreed to drive traffic to each other’s site using Hello Bar. The best part is, Growth Hacker TV got partners to agree that for every two clicks given away they’ll send one click back. Basically, give two clicks, get one click. So <a href="https://www.growthhacker.tv/recipes/?id=1359">they always get more traffic than they give away</a>. Score!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*ZMcbLm_JpGKd70jmCrQdQw.png" /></figure><p>8. <a href="https://www.yammer.com/">Yammer</a> Biz <a href="http://autosend.io/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=28growthack">Email Hack</a> — Yammer only lets you sign up with a verified business email address. This helps users invite coworkers effortlessly. I’d also bet this helps their sales department lead score more efficiently. Either way it’s a good way to get a whole business using your app and filter out the looky-loos.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*y0L4C1KaqjIVdH9_ScDT8Q.png" /></figure><p>9. <a href="https://www.uber.com/">Uber</a> IRL Hack — In this whole growth hacking game we often forget real life exists. This is why I was so impressed with two of the IRL (in real life) growth hacks Uber pulled off recently. In the San Francisco Bay Area, <a href="http://blog.uber.com/UberPITCH">Uber drove around entrepreneurs and investors for pitch events</a>. Was it a waste off gas? Sure. Was it an easy way to get press, get sign ups, and encourage current and future influencers to talk about your brand? Absolutely. Uber also worked with <a href="http://blog.uber.com/drybar">Nor Cal Dry Bar to pay for their patrons’ next Uber ride</a> if they booked a blowout. This helps Uber reach a different niche, gives them press, and helps every user imagine another way to use Uber.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*AiE8H2RRWcCq7dU_mwkIjA.png" /></figure><p>10. <a href="https://anyperk.com/">AnyPerk</a> Gatekeeper Hack — A lot of B2B and Entreprise companies have to worry about reaching the right person in the company. This can take hours of research, weeks to set up a meeting, and months to actually get people using your app and paying for it. Well, AnyPerk wants to skip all this. AnyPerk is incentivizing users to get their message right to the source. Without making a call or sales pitch, AnyPerk pays members in the target company $50 to convince HR directors to use the app. Remember, customer acquisition costs for B2B SaaS is about 12-18 months of sale revenue. That’s far more than the $50 they’re offering. AnyPerk cut the time it takes to close a deal and saved money. What did you do today</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*0UyoyYQyd7GzDIitPy_kog.png" /></figure><p>11. <a href="http://www.hittail.com/">Hittail</a> Blogger Love Hack — We all want bloggers writing about our app, but are you making it easy for them to do? Hittail is. Most of us hide the fact that our tool is free for bloggers to review. Hittail just puts it all out there on their pricing page. The one thing that could make this bigger is if they automatically letting bloggers enter their URL on a special blogger signup page. In the background they could run a check on Alexa rank, Google PR, social shares, and any other metrics they find important. This could pre-quality bloggers, send them straight to a “press page” to get all they need to start writing a post (screenshots, feature list, logos, etc) and let them submit the review link when they’re done. This helps them cut the time they need to quality bloggers and helps bloggers get their work done faster.</p><p>12. <a href="http://sidebar.io/-">Sidebar</a> Dual Reward Hack — In attempt to grow their already large <a href="http://autosend.io/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=28growthack">email list</a>, the folks at Sidebar created a neat referral program. Sidebar created an incentive that encourages new subscribers to refer a friend to subscribe to their email list. What makes it great is that it is a dual-sided reward. This means, both the new subscriber and the person they refer get the incentive. What’s best is, Sidebar only spent five minutes on the hack and got four times their average email sign ups.</p><p>13. <a href="https://unroll.me/">Unroll.me</a> — Unroll is a tool that helps you clean your inbox. To set it up using a web service like Gmail, you have to allow Unroll limited access to your Gmail account. Since Unroll gets permission to access your inbox, they suggest a few friends (your top contacts) you can invite to use Unroll too.</p><p>14. <a href="http://www.rankscanner.com/">Rankscanner</a> Earn More Hack — Rackscanner’s app helps you track your websites keyword ranking. During their beta, you can only track 5 keywords, unless you refer more people to use the app. I know, a few web apps do this, but I think Rank Scanner implements this well because they give away the one thing they KNOW their users value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*Zt5v8ZHZBxRUEozX65eiJg.png" /></figure><p>15. <a href="https://gleam.io/">Gleam</a> Widget Hack — Gleam gives customers a widget to embed on their website to help them run contests to grow traffic and social followers. When contest participants use Gleam, they can click on a link that invites them to get a Gleam widget to host their own online contests. This hack is responsible for about 20% of their new sign ups. You may want to copy this.</p><p>16. <a href="http://visual.ly/">Visual.ly</a> and <a href="http://www.quora.com/">Quora</a> and <a href="https://medium.com/">Medium</a> “Sharecropping” Hack — I don’t like using “sharecropping” to describe what they do because of it’s negative connontation, but these sites use their users work (with their permission) to bring traffic to their site. Visually lets you upload infographics and allows others to embed them on their site with a backlink to Visually. Quora lets you answer questions which brings traffic to their site. Medium features the best blog content to get high quality traffic to their site. Visually, Quora, and Medium let you reach their community in exchange for access to your content. This in turn makes their site valuable. It’s a win-win for both parties.</p><p>17. <a href="http://appcues.com/">Appcues</a> and <a href="http://bounceexchange.com/">Bounce Exchange</a> “Powered By” — The powered by is so infamous that it’s difficult to include in a list of ”never seen before” hacks. But some of the “powered by” brandings are better than others. Appcues and Bounce Exchange are a couple of my faves. First thing, both of their powered by messages are well placed and targeted. Appcues targets web/SaaS companies and their customers seem to have the same audience. Bounce Exchange is used by marketers and only marketers would actively look into the powered by link at the bottom of the screen. Second, Appcues and Bounce Exchange’s “provided by” are shown even on paid plans. This bumps customers that don’t like the branding into a higher plan and you get paying customers to advertise your service for you. Can’t get better than that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*C38FkAP31Ga_BkzG6TsL_Q.png" /></figure><p>18. <a href="http://www.iubenda.com/en">Iubenda</a> Provided By Hack- Every web app has a privacy policy. And when it’s time for most startups to create one, they look to their competition to copy and paste what they need. Iubenda seems to be well aware of this. This is why their embedded privacy policy with the Iubenda branding is so genius. Not only is it a big SEO win for them, it’s unbelievably right in the faces of all those cash-strapped startups that want to avoid paying an attorney thousands to do the same thing. Genius!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.slideshare.net%2Fslideshow%2Fembed_code%2F35650122&amp;url=http%3A%2F%2Fwww.slideshare.net%2Fjoppar%2F7-growth-hack-examples-youve-never-seen-for-web-apps&amp;image=http%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2F7growthhackexamplesyouveneverseenforwebapps-140609083550-phpapp02-thumbnail-4.jpg%3Fcb%3D1402337291&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=slideshare" width="425" height="355" frameborder="0" scrolling="no"><a href="https://medium.com/media/430e61c7bcb463a3fb9b038538ad20cf/href">https://medium.com/media/430e61c7bcb463a3fb9b038538ad20cf/href</a></iframe><p><a href="http://autosend.io/how-to-onboard-users-email-sms-push/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=28growthack"><em>P.S. Need more growth hack ideas? Check out these unique user onboarding hacks using text message, push notifications, and automated emails.</em></a></p><h3>Growth Hack Examples for Mobile Apps</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*HU9S2YDEp32Mu2rLY_7DGQ.png" /></figure><p>1. <a href="http://timehop.com/">Timehop</a> Future Hack — During <a href="http://autosend.io/how-to-onboard-users-email-sms-push/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=28growthack">user onboarding</a>, Timehop helps you schedule a tweet or Facebook message with a promotional message to your future self a year from now. I know what you’re thinking. A year is a long time from now and you’re right. But when those tweets and Facebook shares go live a year from now, it brings users back to their app and invites new users. It’s like a growth hacking savings plan. You invest now and in time, you’ll get something in return.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*vvMaVBQEBDb31NG9_wnodQ.png" /></figure><p>2. <a href="https://www.facebook.com/mobile/messenger">Facebook Messenger</a> Sync Hack — Facebook doesn’t really need more growth, but that doesn’t stop them trying. In Messenger, they’ve ASKED (key word here) users for permission to <strong>continuously </strong>sync their address book so they can find other Messenger users. This means their users will always be able to invite Facebook friends that aren’t using Messenger to use the app. This is awesome because this isn’t a one-time growth hack. As their users add more friends, they’ll always be prompted to invite different people to the app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*gBLgALKaLzTN0R0YH-vf4A.png" /></figure><p>3. <a href="https://itunes.apple.com/us/app/blab-video-messenger/id821832851?mt=8">Blab</a> — Blab also does a neat hack using address book syncing. Blab uses the address book to allow users to video chat with anyone, even if they don’t the app. This is an incredible way to get new users since invites will include a link to download the app. The thing I like best is that Blab is makes sure users know what they’re getting into. This is good for reviews and building trust. <a href="http://techcrunch.com/2014/01/03/when-growth-hacking-goes-bad/">Too many growth hacks rely on dishonest practices</a>which make their results short lived and ineffective.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*4c66fateS4XoegR7ghG4Ng.png" /></figure><p>4. <a href="https://foursquare.com/">Foursquare</a> Platform Hack — This Foursquare hack is the typical “leverage a platform” growth hack. Foursquare allows you to post your check-ins on your Facebook timeline for others to see. The one missed opportunity here is that they don’t default Facebook sharing “on”. With some <a href="http://autosend.io/ab-testing-tools-mobile-apps/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=28growthack">A/B testing</a>, they may find making Facebook sharing a default for user could increase downloads.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*H0Y4fIsxJ5AvycjVhX44qA.png" /></figure><p>5. <a href="https://path.com/">Path</a> WOM Hack- Path does their take on IRL growth hacking by letting users invite someone else in person. Doesn’t seem like much of a growth hack. But <a href="http://bgr.com/2014/05/01/how-mobile-apps-make-money/">77% of people learn about new mobile apps through family and friends (word of mouth</a>). The best way to encourage word of mouth sharing is to make sharing your app easy in person. <a href="http://valleywag.gawker.com/did-path-cheat-its-way-to-the-top-494127268">Path is known for their growth hacks</a> but this one is an easy win (and I’m sure a highly converting one).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*1KctJjCPXud8Bw1ZZanzmA.png" /></figure><p>6. <a href="http://fancy.com/">Fancy</a> Credit Hack — Paid referral programs are typical for web apps to get more sign ups. But Fancy stole this technique for their mobile app. Fancy is like Pinterest with buy links. When a user invites a friend they can earn real credits to use on their site. A lot of people don’t like to consider referral programs growth hacks, but since they aren’t used much on mobile…it is.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*QFFapLR-QkckxzsbzIo74w.png" /></figure><p>7. <a href="https://cir.ca/">Circa</a> Share by Text Hack — Circa does something that surprisingly most other mobile apps don’t do. Circa allows users to share in-app content by text. Remember, <a href="http://mobilesquared.co.uk/media/27820/Conversational-Advertising_SinglePoint_2010.pdf">98% of text messages are opened. And most text messages are read in 3 minutes</a> (PDF LINK). By allowing their users to text interesting bits from Circa, their friends will get the news and a link to download the app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*Z8rxdOeOzXnMDJ_9WyXKfQ.png" /></figure><p>8. <a href="https://www.instapaper.com/">Instapaper</a> Integrations Hack — The goal of any mobile app team is get people to download the app and keep them using it. Instapaper has found a way to do this by integrating with similar apps. In Instapaper, users can install other apps like Pocket onto any device or browser they want. They’ve even made it easy for users to do it by making their own app directory and adding easy options that help users add apps by email.</p><p>You’ve made it this far. Why not subscribe?</p><p>9. <a href="http://omgpop.com/drawsomething">Draw Something</a> Connections Hack — I know Draw Something seems like ancient history now, but there was one major growth hack they used to reach the top we can all learn from. Draw Something used Facebook connections to make it easy to invite friends to play. This encouraged more users to invite friends and the cycle continued to 100 million daily active users.</p><p>10. <a href="https://itunes.apple.com/us/app/sing!-karaoke-by-smule/id509993510?mt=8">Sing! Karaoke</a> Experience Hack — Some apps just lend themselves to major growth and Sing! Karoke is one of those apps. Sing! Karaoke lets users sing along with their favorite songs and share their performance with a community of artists and get likes and feedback from friends. Users can even invite friends and sing along with them. The entire app is one sharable moment. There’s no way a user would want to use the app by themselves and that makes people invite others to use the app. Basically, if there’s any kind of fun way to use your mobile app, find a way to get people sharing it. It’s growth hack virality most of us can only dream of…sigh!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.slideshare.net%2Fslideshow%2Fembed_code%2F35730654&amp;url=http%3A%2F%2Fwww.slideshare.net%2Fjoppar%2F5-under-the-radar-mobile-app-growth-hacks&amp;image=http%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2Fmobileappgrowthhackscopy-140611014154-phpapp01-thumbnail-4.jpg%3Fcb%3D1402468935&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=slideshare" width="425" height="355" frameborder="0" scrolling="no"><a href="https://medium.com/media/ca5753a694987a93c6b5c52d4aa8c220/href">https://medium.com/media/ca5753a694987a93c6b5c52d4aa8c220/href</a></iframe><p>Also don’t forget to try some <a href="http://autosend.io/how-to-onboard-users-email-sms-push/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=28growthack">user onboarding hacks</a>.</p><p>Enjoyed this article? Share this on <a href="https://www.facebook.com/sharer/sharer.php?u=http://autosend.io/growth-hack-examples/">Facebook</a>, <a href="https://twitter.com/home?status=28%20Web%20and%20Mobile%20App%20Growth%20Hack%20Examples%20You%27ve%20Never%20Seen%20http://autosend.io/growth-hack-examples/%20%23growthHack">Twitter</a>, <a href="https://plus.google.com/share?url=http://autosend.io/growth-hack-examples/">Google Plus</a>, and <a href="https://www.linkedin.com/shareArticle?mini=true&amp;url=http://autosend.io/growth-hack-examples/&amp;title=28%20Web%20and%20Mobile%20App%20Growth%20Hack%20Examples%20You%27ve%20Never%20Seen%20&amp;summary=A%20list%20of%20analytics%20tools%20for%20mobile%20and%20web%20app%20teams.%20Find%20the%20perfect%20mobile,%20web,%20or%20cross-platform%20analytics%20tool.&amp;source=">LinkedIn</a>. If you have any examples you feel I should add to the list, please email them to <a href="/service/mailto:ashli@autosend.io">ashli@autosend.io</a> and let me know! I’ll make sure to add them to the list.</p><h3>You may like these articles as well…</h3><ul><li><a href="http://autosend.io/how-to-onboard-users-email-sms-push/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=28growthack">How to Onboard Users with Email, SMS, &amp; Push</a></li><li><a href="http://autosend.io/keep-app-users-hooked/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=28growthack">15 Ways to Keep Mobile App Users Hooked</a></li></ul><p><strong><em>Originally posted on </em></strong><a href="http://autosend.io/growth-hack-examples/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=28growthack"><strong><em>Autosend.io : Growth Hack Examples</em></strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8a90781087d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Minimal Static Website Generator and Development Environment with Node.js]]></title>
            <link>https://medium.com/@jaschaephraim/building-a-minimal-static-website-generator-and-development-environment-with-node-js-91fc153c189e?source=rss----c3505f7af47d---4</link>
            <guid isPermaLink="false">https://medium.com/p/91fc153c189e</guid>
            <dc:creator><![CDATA[Jascha Ephraim]]></dc:creator>
            <pubDate>Wed, 11 Jun 2014 01:08:22 GMT</pubDate>
            <atom:updated>2015-12-02T19:58:36.764Z</atom:updated>
            <content:encoded><![CDATA[<h4>https://github.com/jaschaephraim/static-generator</h4><p><em>Note: This project was built in 2013, so some of the tools and technologies have changed.</em></p><p>In certain circumstances, static website generators offer clear advantages over dynamic CMSs and blogging platforms. This is often the case for the personal sites of individual developers for whom it is <em>more</em> user-friendly (and efficient, and maintainable, etc.) to manage content in text files rather than nice-looking web forms.</p><p>I’ll describe my own minimal static site generator and development environment built using Node.js (inspired by Jeff Escalante’s <a href="http://roots.cx/">Roots</a>), specifically for the management of my personal site, <a href="http://jaschaephraim.com/">jaschaephraim.com</a>.</p><p>This article will refer to the code in the GitHub repository <a href="https://github.com/jaschaephraim/static-generator">https://github.com/jaschaephraim/static-generator</a>. Its <a href="https://github.com/jaschaephraim/static-generator/blob/master/README.md"><strong>README.md</strong></a> may also be helpful.</p><h3>My Requirements</h3><ul><li>Generate HTML using <a href="http://jade-lang.com/">Jade</a></li><li>Generate CSS using <a href="http://learnboost.github.io/stylus/">Stylus</a></li><li>Add content using <a href="http://daringfireball.net/projects/markdown/">Markdown</a> files with <a href="http://www.yaml.org/">YAML</a> metadata</li><li>Write all client-side JavaScript in Node-like <a href="http://wiki.commonjs.org/wiki/CommonJS">CommonJS</a> modules</li><li>Use <a href="http://bower.io/">Bower</a> for managing third-party client-side JavaScript libraries</li><li>Everything will eventually be compiled down to static files</li><li>Include a development server with intelligent <a href="http://livereload.com/">LiveReload</a></li><li>The development server should serve the compiled code directly from memory without having to actually save it to files</li></ul><h3>Overview</h3><p>I’ll try to avoid confusion by using the following terminology:</p><ul><li>the <em>application</em> refers to this Node.js application, which serves and compiles my static site</li><li><em>project</em> refers to the set of directories and files—including Jade, Stylus, Markdown, images, and JSON—that the application will be reading and compiling into static files</li><li>the <em>static site</em> is the end product, generated by the application from the project files</li></ul><h4>Website structure</h4><p>My website is a simple portfolio, consisting of a single page that groups short project descriptions with images under a few tags (so that a project can appear under multiple tags). In the end there will be one CSS file and one JavaScript file.</p><h4>Command line interface</h4><p>I will use the command <strong>stat-gen</strong> (for ‘static generator’) to create the default files and directories for starting a new project, to start up the development server, and to eventually export the static files.</p><h4>Express server</h4><p>A simple Node.js web server will serve the site locally during development using <a href="http://expressjs.com/">Express</a> .</p><h4>LiveReload</h4><p>While the server is running, a file watcher will trigger LiveReload upon file changes. Changes to content or JavaScript will cause the browser to refresh, and changes to CSS will be injected into the browser without refreshing.</p><h3>Creating the Application</h3><p>After creating a new directory for the application—which I call ‘static-generator’—the <a href="https://github.com/jaschaephraim/static-generator/blob/master/package.json"><strong>package.json</strong></a> file can be generated using <strong>npm init</strong>, or written manually. It lists the application’s dependencies which can be installed by running <strong>npm install</strong>.</p><p>It also specifies:</p><pre>&quot;preferGlobal&quot;: &quot;true&quot;,<br>&quot;bin&quot;: {<br>  &quot;stat-gen&quot;: &quot;bin/stat-gen.js&quot;<br>}</pre><p>This tells <strong>npm</strong> that this package is intended to be installed globally, and that when it is installed, a symlink should be created (in my case at <strong>/usr/local/bin/stat-gen</strong>) to <a href="https://github.com/jaschaephraim/static-generator/blob/master/bin/stat-gen.js"><strong>bin/stat-gen.js</strong></a>, making it globally executable.</p><h3>Command Line Interface</h3><p>Since I work on a Mac, <a href="https://github.com/jaschaephraim/static-generator/blob/master/bin/stat-gen.js"><strong>bin/stat-gen.js</strong></a> is written for Unix-like environments. The ‘shebang’ at the top indicates that this script should be interpreted by <strong>node</strong>. This file must have executable permissions.</p><p>The global <a href="http://nodejs.org/api/process.html#process_process_argv"><strong>process.argv</strong></a> is an array of the arguments that launched the <strong>node</strong> process. So once the application is installed globally, typing <strong>stat-gen</strong> into the terminal would result in <strong>process.argv = [ ‘node’, ‘stat-gen’ ]</strong>. As indicated in the code, a particular command can be passed to <strong>stat-gen (</strong>stored in <strong>process.argv[ 2 ]</strong>, defaulting to <strong>‘start’) </strong>which will then require a script with a corresponding name in the <a href="https://github.com/jaschaephraim/static-generator/tree/master/commands"><strong>commands/</strong></a> directory (and will pass any remaining arguments to that script).</p><h4><strong>‘New’ command</strong></h4><pre><strong>stat-gen new</strong> <em>project-name</em></pre><p>This command will run <a href="https://github.com/jaschaephraim/static-generator/blob/master/commands/new.js"><strong>commands/new.js</strong></a>, passing the given project name. This uses the <a href="https://www.npmjs.org/package/ncp"><strong>ncp</strong></a> package to copy the <a href="https://github.com/jaschaephraim/static-generator/tree/master/template"><strong>template/</strong></a> directory to a given path in order to begin a new project.</p><h4><strong>‘Start’ command</strong></h4><pre><strong>stat-gen</strong> [<strong>start</strong> <em>project-dir</em>]</pre><p>This command (<a href="https://github.com/jaschaephraim/static-generator/blob/master/commands/start.js"><strong>commands/start.js</strong></a>) compiles the project, starts up the development server, and begins watching the project’s files for changes (all by requiring <a href="https://github.com/jaschaephraim/static-generator/blob/master/server.js"><strong>server.js</strong></a>). If the project directory is the current working directory, one only has to type <strong>stat-gen</strong> into the terminal.</p><h4>‘Export’ command</h4><pre><strong>stat-gen export</strong> [<em>project-dir</em>] <em>static-export-dir</em></pre><p>This command (<a href="https://github.com/jaschaephraim/static-generator/blob/master/commands/export.js"><strong>commands/export.js</strong></a>) compiles the given project just like <strong>stat-gen start</strong>, but writes the entire site to its final static form instead of starting up a local web server.</p><p>This application has a module called <a href="https://github.com/jaschaephraim/static-generator/tree/master/compilers/index.js"><strong>compilers</strong></a> (covered next), which manages each of the compiler modules for HTML, CSS, and JavaScript. It has a <strong>pipe</strong> function which takes as arguments a type string (<strong>‘html’</strong>, <strong>‘css’</strong>, or <strong>‘js’</strong>) and a writable destination stream. So the exporting of each file (aside from static files like images, which are just copied) is performed by the asynchronous function (out of context, but should be understandable):</p><pre><strong>function</strong>( next ) {</pre><pre><strong>  var</strong> dest_path <strong>=</strong> dest_dir <strong>+</strong> &#39;/&#39;<br>    <strong>+</strong> compilers[ file_type ].filename;<br>  <strong>var</strong> write_stream <strong>=</strong> fs.createWriteStream( dest_path );</pre><pre>  write_stream.on( &#39;finish&#39;, next );<br>  compilers.pipe( file_type, write_stream );</pre><pre>};</pre><h3>Compilers</h3><h4>Compiler module</h4><p>As mentioned above, the <a href="https://github.com/jaschaephraim/static-generator/tree/master/compilers/index.js"><strong>compilers</strong></a> module manages the compilers for HTML, CSS, and JavaScript. It also has two functions: the <strong>pipe</strong> function mentioned above, and the function <strong>compileAll</strong>, which calls the various compilers’ <strong>compile</strong> functions in parallel.</p><h4>HTML compiler</h4><p>The HTML compiler (<a href="https://github.com/jaschaephraim/static-generator/blob/master/compilers/html.js"><strong>compilers/html.js</strong></a>) first builds the <strong>locals</strong> object that will be passed to Jade, making its contents available to the project’s templates. <strong>locals.pretty</strong> tells Jade whether to generate prettier HTML with whitespace, and it depends on <a href="http://nodejs.org/api/process.html#process_process_env"><strong>process.env</strong></a><strong>.NODE_ENV</strong>—which is set to ‘<strong>development’</strong> by <strong>stat-gen start</strong> and <strong>‘production’</strong> by <strong>stat-gen export</strong>. <strong>locals.imgUrl</strong> is a convenience function for templates that takes an image file name and returns the full path to the image after export. <strong>locals.livereload_script</strong> is either the inline LiveReload JavaScript or an empty string, again depending on <a href="http://nodejs.org/api/process.html#process_process_env"><strong>process.env</strong></a><strong>.NODE_ENV</strong>.</p><p>The <strong>compile</strong> function requires the project’s <a href="https://github.com/jaschaephraim/static-generator/blob/master/template/config.json"><strong>config.json</strong></a> file, which includes the array of tags to be used in the site (this allows me to define their order):</p><pre><strong>var </strong>config_path <strong>= </strong>process.cwd() <strong>+</strong> &#39;/config.json&#39;;<br><strong>delete</strong> require.cache[ config_path ];<br>locals.config <strong>=</strong> require( config_path );</pre><p>I first delete the cached config in case this compilation is being performed after the <a href="https://github.com/jaschaephraim/static-generator/blob/master/watcher.js"><strong>watcher</strong></a> detects a change to the <a href="https://github.com/jaschaephraim/static-generator/blob/master/template/config.json"><strong>config.json</strong></a><strong> </strong>file.</p><p>Looping through the config’s <strong>tags</strong> array, the data for each tag is read from the <a href="https://github.com/jaschaephraim/static-generator/blob/master/markdown-loader.js"><strong>markdown-loader</strong></a> module and added to <strong>locals.tags</strong>. The data for each “article” (the descriptions with images listed under each tag) is likewise assigned to <strong>locals.content</strong> from <a href="https://github.com/jaschaephraim/static-generator/blob/master/markdown-loader.js"><strong>markdown-loader</strong></a>.</p><p>Now that all of the site’s content is assigned to <strong>locals</strong>, the project’s Jade templates can take care of the rest. Since this site is a one-pager, the final compilation is done by:</p><pre>jade.renderFile(<br>  &#39;jade/index.jade&#39;,<br>  locals,<br>  <strong>function</strong>( err, html ) {</pre><pre>    <strong>if</strong> ( err ) <strong>throw</strong> err;<br>    module.exports.result <strong>=</strong> html;<br>    done();</pre><pre>  }<br>);</pre><h4>CSS compiler</h4><p>The CSS compiler (<a href="https://github.com/jaschaephraim/static-generator/blob/master/compilers/css.js"><strong>compilers/css.js</strong></a>) is much simpler. It reads the project’s <a href="https://github.com/jaschaephraim/static-generator/blob/master/template/styl/app.styl"><strong>styl/app.styl</strong></a>, and passes the contents to the <strong>stylus</strong> package, which is also set to compress or not based on <a href="http://nodejs.org/api/process.html#process_process_env"><strong>process.env</strong></a><strong>.NODE_ENV</strong>:</p><pre>stylus( styl )<br>  .set( &#39;filename&#39;, module.exports.filename )<br>  .set( &#39;compress&#39;, compress )<br>  .use( require( &#39;axis-css&#39; )() )<br>  .render( <strong>function</strong>( err, css ) {</pre><pre>    <strong>if</strong> ( err ) <strong>throw</strong> err;<br>    module.exports.result <strong>=</strong> css;<br>    done();</pre><pre>  } );</pre><h4>JavaScript compiler</h4><p>As mentioned in the requirements section above, all of the project’s JavaScript will written as CommonJS modules, necessitating the use of the <a href="https://www.npmjs.org/package/browserify"><strong>browserify</strong></a> package. By also using the <a href="https://www.npmjs.org/package/debowerify"><strong>debowerify</strong></a> package, I can <strong>require</strong> third-party JavaScript libraries from my project’s <strong>bower_components/</strong> directory (as long as they fulfill the necessary requirements). I also use <a href="https://www.npmjs.org/package/uglify-js"><strong>uglify-js</strong></a> to compress the resulting JavaScript.</p><p>Once everything is configured in <a href="https://github.com/jaschaephraim/static-generator/blob/master/compilers/js.js"><strong>compilers/js.js</strong></a>, the actual compilation is done using a <a href="https://github.com/jaschaephraim/static-generator/blob/master/stream.js"><strong>stream</strong></a> module (covered next) that I use for convenience, which creates a writable stream that receives the bundled JavaScript from Browserify and—like the other two compilers—assigns it to <strong>module.exports.result</strong>:</p><pre><strong>var</strong> compiled_js <strong>=</strong> &#39;&#39;;<br><strong>var</strong> save_stream <strong>=</strong> stream.writable(<br>  <strong>function</strong>( js_buf, enc, next ) {<br>    compiled_js <strong>+=</strong> js_buf.toString();<br>    next();<br>  }, <strong>function</strong>( err ) {</pre><pre>    <strong>if</strong> ( err ) <strong>throw</strong> err;</pre><pre><strong>    var</strong> js <strong>=</strong> process.env.NODE_ENV <strong>===</strong> &#39;production&#39;<br>      <strong>?</strong> uglify.minify( compiled_js, { fromString<strong>:</strong> <strong>true</strong> } ).code<br>      <strong>:</strong> compiled_js;</pre><pre>    module.exports.result <strong>=</strong> js;<br>    done();</pre><pre>  }<br>);</pre><pre>browserify.bundle().pipe( save_stream );</pre><h3>Stream2 Convenience Module</h3><p>The <a href="https://github.com/jaschaephraim/static-generator/blob/master/stream.js"><strong>stream</strong></a> module mentioned above isn’t super relevant to this particular project, but it’s a simple, convenient module that I end up using often. It allows me to create <a href="http://nodejs.org/api/stream.html">stream2</a> streams in one function call.</p><p>For instance, in the excerpt from <a href="https://github.com/jaschaephraim/static-generator/blob/master/compilers/js.js"><strong>compilers/js.js</strong></a> above, a writable stream is created by calling the function <strong>stream.writable</strong>. The first argument is a function that handles each streamed chunk, and the second argument is a function that is called when the stream is finished.</p><p><a href="https://github.com/jaschaephraim/static-generator/blob/master/compilers/index.js"><strong>compilers/index.js</strong></a> also makes use of this module’s function <strong>readString</strong>, which takes a string as its argument and returns a readable stream that pumps it out.</p><h3>Markdown Loader</h3><p><a href="https://github.com/jaschaephraim/static-generator/blob/master/markdown-loader.js"><strong>markdown-loader.js</strong></a> reads the Markdown files (in parallel) that define the site’s tags and content items, parses them, and stores the resulting data in <strong>markdown_loader.data</strong> for other modules to use.</p><p>It also exports a single function, <strong>load</strong>, which reads and parses everything in the project if no arguments are passed, or loads a specified file if passed an array. For example, to reload the file <strong>tags/example.md</strong>, you would call <strong>markdown_loader.load( [ ‘tags’, ‘example’ ] )</strong>. This is so that if a change to a particular file is detected by <a href="https://github.com/jaschaephraim/static-generator/blob/master/watcher.js"><strong>watcher</strong></a>, only that file is reread before the templates are recompiled and the browser is refreshed.</p><h3>Express Server</h3><p><a href="https://github.com/jaschaephraim/static-generator/blob/master/server.js"><strong>server.js</strong></a> calls <strong>compilers.compileAll</strong>, and in the callback starts up a simple Express server, begins listening for LiveReload using the <a href="https://www.npmjs.org/package/tiny-lr"><strong>tiny-lr</strong></a> package, and starts up the file watcher.</p><p>The routes for the server are very simple, since this will never be used in production. They are set up to mimic the simple structure of the exported site. Static files in the projects <strong>static/</strong> directory (<strong>static/img/</strong>, <strong>static/fonts/</strong>, etc.) are served directly (at <strong>/img/</strong>, <strong>/fonts/</strong>, etc.):</p><pre>server.use( express.static( &#39;static&#39; ) );</pre><p>The compiled and compressed CSS and JavaScript are served at <strong>/app.min.css</strong> and <strong>/app.min.js</strong>, and anything else routes to the single HTML page:</p><pre>server.get( &#39;/&#39; <strong>+</strong> compilers.css.filename, <strong>function</strong>( req, res ) {<br>  respond( &#39;css&#39;, res );<br>} );</pre><pre>server.get( &#39;/&#39; <strong>+</strong> compilers.js.filename, <strong>function</strong>( req, res ) {<br>  respond( &#39;js&#39;, res );<br>} );</pre><pre>server.get( &#39;*&#39;, <strong>function</strong>( req, res ) {<br>  respond( &#39;html&#39;, res );<br>} );</pre><pre><strong>function</strong> respond( file_type, res ) {<br>  res.type( file_type );<br>  compilers.pipe( file_type, res );<br>}</pre><h3>File Watcher</h3><p>The last module in the application is the file watcher (<a href="https://github.com/jaschaephraim/static-generator/blob/master/watcher.js"><strong>watcher.js</strong></a>), which uses the <a href="https://www.npmjs.org/package/gaze"><strong>gaze</strong></a> package. At the time of this writing, Gaze is at version 0.6.4, which behaves erratically on my operating system for whatever reason. This application uses version 0.5.1, which works flawlessly for me.</p><p>When Gaze detects a change, the changed file’s extension is passed to a switch statement. If a Markdown file was changed, <a href="https://github.com/jaschaephraim/static-generator/blob/master/markdown-loader.js"><strong>markdown-loader</strong></a> rereads and re-parses the file, the project’s Jade is recompiled into HTML, and a refresh request is sent to the browser by <a href="https://www.npmjs.org/package/tiny-lr"><strong>tiny-lr</strong></a>. If a Stylus or JavaScript file is changed, the appropriate files are recompiled and a refresh request is sent. The default condition—meaning that an image, font, etc. has been added or changed—simply sends a refresh request.</p><h3>Conclusion</h3><p>If you’re just getting into Node.js, I hope that this article helps by covering a simple application that involves a number of components—creating a command line tool, a simple web server, etc.</p><p>Feel free to check out <a href="https://github.com/jaschaephraim/static-generator">the code from GitHub</a> and use it if you are building a website that fits within the narrow constraints of this application.</p><p>If you have suggestions for correcting or improving the code, feel free to let me know on GitHub, and if you have suggestions for correcting or improving this article, please leave a comment.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=91fc153c189e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What’s Microsoft Translate’s Privacy Policy?]]></title>
            <link>https://medium.com/@evanwolf/whats-microsoft-translates-privacy-policy-56558d0435b9?source=rss----c3505f7af47d---4</link>
            <guid isPermaLink="false">https://medium.com/p/56558d0435b9</guid>
            <dc:creator><![CDATA[Phil Wolff]]></dc:creator>
            <pubDate>Tue, 10 Jun 2014 19:29:25 GMT</pubDate>
            <atom:updated>2014-06-10T19:44:34.797Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*BRAmWoW6TeATtmhsVXA6Uw.jpeg" /></figure><h4>When eavesdropping adds value, should robots have ethics?</h4><p><strong>Eavesdropping was common in 1914 phone calls. </strong>You were sharing a party line. Human operators switched calls and listened to make sure your calls were connected and attended.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/236/1*ofu0mtrMA4w0Qzj_SPvZzQ.jpeg" /></figure><p>By 1964 we assumed computers were switching our calls and nobody would hear us. A strong sense of privacy.</p><p>Listening in was no longer just an accident of the system or a busybody being rude. Breaching the sanctity of the call was transgressive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/1*yH1aclIzucs3mf-JZmzyJw.jpeg" /></figure><p>Wrong. Perverse. Corrupt.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cEMpbIShgx52rS-hy4izZg.jpeg" /><figcaption>Gene Hackman in The Conversation (1972)</figcaption></figure><p>Want to intrude? You needed higher authority like a judge’s order.</p><p><strong>Robots eavesdrop in 2014</strong>, one hundred years later. Instead of our neighbors or the operator listening in, large systems listen. <a href="http://skype.com/">Skype</a> is finishing off its network’s centralization, for example, as it prepares to launch services that add value by analyzing and manipulating your live call.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Feu9kMIeS0wQ%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Deu9kMIeS0wQ&amp;image=http%3A%2F%2Fi1.ytimg.com%2Fvi%2Feu9kMIeS0wQ%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/3134fba555115ed725225840a8f6d83c/href">https://medium.com/media/3134fba555115ed725225840a8f6d83c/href</a></iframe><p><a href="https://research.microsoft.com/en-us/news/features/translator-052714.aspx">Microsoft Translate automates cross-language interpreting</a>, say between a Mandarin and an English speaker in a live video chat. <a href="http://blogs.technet.com/b/microsoft_blog/archive/2014/05/27/microsoft-demos-breakthrough-in-real-time-translated-conversations.aspx">Microsoft Research’s investments in speech technology are producing services that provide live translation and transcription of audio streams</a>.</p><p>Skype’s peer-to-peer heritage will be history, mostly. Centralization, bringing your instant messages, voice calls, video chats, and presence through Microsoft’s cloud is the future. Not just because it continues to commodify telco communication products (about one-third of international voice minutes flow through Skype). Centralization is key to opening up the Skype network as a developer platform for new services.</p><p>Developers, including Microsoft’s third-party developer network, will augment your call. Before you go live:</p><ul><li>Profile the other people before you enter the call, so you’re fresh about their latest correspondence and social activities.</li><li>Coach for a better conversation, like pick conversation goals, set an agenda, and time box the agenda.</li><li>Schedule a call that fits calendars and time zones.</li><li>Round up late arrivals across channels and devices.</li></ul><p>During the call:</p><ul><li>Wikipediaing unusual words and jargon.</li><li>Factchecking news.</li><li>Suggesting related work matter based on the conversation.</li><li>Co-editing live documents.</li><li>Asperger’s Compensator.</li><li>Pull in streams from live games.</li><li>Lie detector.</li><li>BLEEP bad language for a child-friendly call.</li><li>Grab a person you need to add to the call.</li><li>Celebrity avatars.</li><li>Anger management alerts (“whoa, you seem to be getting hot under the collar. 3/5 Rage”).</li><li>Capturing action items.</li><li>Scheduling next calls.</li></ul><p>After the call:</p><ul><li>Edit the recording.</li><li>Publish the recording.</li><li>“Thank You” notes to the participants.</li><li>Software report on the conversation’s tone, speaker-time balance, tempo, tagworthy terms and people mentioned</li><li>Contracting an artist to illustrate the meeting notes.</li></ul><p>All of which depend, kindly, on Microsoft being a party to your call.</p><h3>What Terms Would You Demand?</h3><p>So imagine Microsoft Translate (and friends) sitting in on your call. What promises has Microsoft, or Skype, made about their participation in your call?</p><ul><li><strong>Will Microsoft keep a copy of the call’s audio and video?</strong> For how long? In which jurisdictions? Accessible by which people and organizations? How much control do you have over who sees it?</li><li><strong>Will Microsoft provide a machine generated transcript? </strong>So you can validate the translation independently.</li><li><strong>Will Microsoft show how they reached the translation?</strong> Microsoft Research may not know but, if they do, I want to understand the resources that informed translation choices the same way Wikipedia cites sources.</li><li><strong>Provide a human audit service?</strong> Enable easy after-the-call translation checking to uncover errors or biases in a call.</li><li><strong>Will Microsoft name the people who have seen the original and the translated versions of the call?</strong> I’d expect Skype engineers and linguists to check the occasional call for quality and to improve the system. But who else has seen the call and its artifacts? My employer? An attorney? A law enforcement officer?</li><li><strong>Will Microsoft delete the data derived from Translate’s analysis on demand?</strong> Translate will infer metadata about you and the other people in your conversation. Will they delete data like your regionalisms, pop-culture references, your speech dysfunctions, and other extracted metadata?</li></ul><p><strong>You want to trust the system and control your data.</strong></p><h3>But let’s talk about fidelity.</h3><h4>Is what you say in a call what others hear?</h4><p>Was the translation faithful to your intentions?</p><p>An interpreter with her own agenda could alter the translation in subtle ways. It may be a commercial agenda, favoring brand names like Kleenex® over “paper tissue.” A political agenda, increasing the emotional charge of some of your words. The agenda could be censorship, the way Chinese regulators compelled Skype to auto-delete bad words like “Tienanmen Square” in their made-for-China client.</p><p>You’re giving Microsoft power over your ideas, your relationships, and how you understand the world.</p><p>How much do you trust Microsoft US? Skype?</p><h3>Microsoft’s Robots Should Follow An Ethical Code</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*7KIo0wkSrYURz3fLcJ6FwA.jpeg" /></figure><p>What commitments do you want from Microsoft before making Translate a part of your everyday work, school, and life?</p><p>Let’s look at human interpreters.</p><p>The U.S. Washington State’s Department of Social and Health Services has a <a href="http://www.dshs.wa.gov/ltc/ethics.shtml">Language Interpreter and Translator Code of Professional Conduct</a>. Ethics that could apply to machine translation. From the code <em>[with my notes]</em>:</p><ol><li><strong>Accuracy. </strong>Interpreters/translators shall always thoroughly and faithfully render the source language message, omitting or adding nothing, giving consideration to linguistic variations in both source and target languages, conserving the tone and spirit of the source language message. <em>[</em><strong><em>Fidelity</em></strong><em>]</em></li><li><strong>Cultural Sensitivity — Courtesy. </strong>Interpreters/translators shall be culturally competent, sensitive, and respectful of the individual(s) they serve. [<strong><em>Cultural context, not just words</em></strong>]</li><li><strong>Confidentiality. </strong>Interpreters/translators shall not divulge any information obtained through their assignments, including but not limited to information gained through access to documents or other written material. <em>[</em><strong><em>Keep secrets</em></strong><em>]</em></li><li><strong>Disclosure. </strong>Interpreters/translators shall not publicly discuss, report, or offer an opinion concerning matters in which they are or have been engaged, even when that information is not privileged by law to be confidential. <em>[</em><strong><em>Keep secrets, even under pressure</em></strong><em>]</em></li><li><strong>Proficiency. </strong>Interpreters/translators shall meet the minimum proficiency standard set by DSHS by passing the required certification examination or screening evaluation. <em>[</em><strong><em>Be competent</em></strong><em>]</em></li><li><strong>Compensation. </strong>The fee schedule agreed to between the contracted language service providers and the department shall be the maximum compensation accepted. Interpreters/translators shall not accept additional money, compensation, or favor for services reimbursed by the department. Interpreters/translators shall not use for private or others gain or advantage, the department’s time, facilities, equipment, or supplies, nor shall they use or attempt to use their position to secure privileges or exemptions. <em>[</em><strong><em>Don’t be corruptible</em></strong><em>]</em></li><li><strong>Nondiscrimination. </strong>Interpreters/translators shall always be neutral, impartial, and unbiased. Interpreters/translators shall not discriminate on the basis of gender, disability, race, color, national origin, age, socioeconomic or educational status, or religious or political beliefs. <em>[</em><strong><em>Keep yourself out of the conversation</em></strong><em>]</em></li><li><strong>Self-evaluation. </strong>Interpreters/translators shall accurately and completely represent their certifications, training, and experience. <em>[</em><strong><em>Let us know you’re a robot</em></strong><em>]</em></li><li><strong>Impartiality — Conflict of Interest. </strong>Interpreters/translators shall disclose any real or perceived conflict of interest which would affect their objectivity in the delivery of service. Providing interpreting or translation services for family members or friends may violate the individual’s right to confidentiality, or constitute a conflict of interest. <em>[</em><strong><em>Disclose conflicts</em></strong><em>, for instance Translate interpreting for a legal team planning to sue Microsoft where the logs could come to the attention of Microsoft legal personnel.]</em></li><li><strong>Professional Demeanor. </strong>Interpreters and translators shall be punctual, prepared, and dressed in a manner appropriate and not distracting for the situation. <em>[</em><strong><em>Fade into the background</em></strong><em>.]</em></li><li><strong>Scope of Practice. </strong>Interpreters/translators shall not counsel, refer, give advice, or express personal opinions to individuals for whom they are interpreting/translating, or engage in any other activities that may be construed to constitute a service other than interpreting/translating. Interpreters are prohibited from having unsupervised access to clients, including but not limited to phoning clients directly unless requested by DSHS staff. <em>[</em><strong><em>Don’t do anything but translate</em></strong><em>. (This is where there’s money.)]</em></li><li><strong>Reporting Obstacles to Practice. </strong>Interpreters/translators shall assess at all times their ability to interpret/translate. Should interpreters/translators have any reservations about their competency, they must immediately notify the parties and offer to withdraw without threat of retaliation. Interpreter/translator may remain until more appropriate interpreters/translators can be secured.<em> [</em><strong><em>Report when your translations are less than your usual standard, when there’s interference with translation accuracy, timeliness, privacy</em></strong><em>]</em></li><li><strong>Ethical Violations. </strong>Interpreters/translators shall immediately withdraw from encounters they perceive as violations of this Code. Any violation of the Code of Professional Conduct may cause termination of the contract. <em>[</em><strong><em>Act on this code</em></strong><em>]</em></li><li><strong>Professional Development. </strong>Interpreters/translators shall develop their skills and knowledge through professional training, continuing education, and interaction with colleagues and specialists in related fields. <em>[</em><strong><em>Get better</em></strong><em>]</em></li></ol><p>Human translators behave unethically all the time. That’s why there are codes of ethics for translators. There’s even a <a href="http://translationethics.blogspot.com/2014/05/welcome-to-translation-ethics.html"><em>Translation Ethics</em></a> blog where you can report systemic ethical breaches.</p><p>In some respects Microsoft’s robots should be less vulnerable to some kinds of unethical behavior. No translating while hungover. No unsolicited advice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*4Hy660GvjjwePisJQg55ow.gif" /><figcaption>There are forces sustaining ethical translation — like the economic value of customer trust and freedom from regulatory oversight. Other forces compete to corrupt translation integrity — profits, power, passion. How does an operator like Microsoft balance these forces? What role should society play in this balance?</figcaption></figure><p>But Microsoft may be vulnerable to other moral failings. They have pressure to make money from each line of business. They need to be a good citizen in thousands of jurisdictions. Microsoft’s employees have their own worldview, not exactly representative of all cultures and classes.</p><h3>Regulation-worthy?</h3><p>Telephone companies were fanatical about privacy, once. They understood not only that they had a public duty to preserve privacy but that sticking up for privacy kept governments from interfering with a profitable business.</p><p>Skype isn’t regulated like a phone company. Neither is <a href="http://tencent.com/en-us/index.shtml">Tencent</a> or <a href="http://whatsapp.com/">Whatsapp</a> or <a href="http://www.google.com/voice">Google</a> or <a href="http://twilio.com/">Twilio</a>.</p><p>So, Microsoft, let’s start a conversation about right and wrong, ethical behavior, and Microsoft’s duties to users of Skype, Lync, Translate, Xbox, Yammer, and Microsoft’s other conversational platforms.</p><p>I want to trust you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56558d0435b9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Our front-end development boilerplate]]></title>
            <link>https://medium.com/@thekevinjones/our-front-end-development-boilerplate-2bf2d3f3fdde?source=rss----c3505f7af47d---4</link>
            <guid isPermaLink="false">https://medium.com/p/2bf2d3f3fdde</guid>
            <dc:creator><![CDATA[Kevin Jones]]></dc:creator>
            <pubDate>Mon, 09 Jun 2014 17:18:06 GMT</pubDate>
            <atom:updated>2014-08-27T16:19:48.370Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RR2MvuhP2Uv9KmLql1Whfg.jpeg" /></figure><h4>Grunt, SASS, and everything in-between</h4><p><em>tl;dr The frontend boilerplate we use for starting new sites is now posted publicly here: </em><a href="https://github.com/kps3/kps3.boilerplate"><em>https://github.com/kps3/kps3.boilerplate</em></a></p><p>Grunt, Gulp, SASS, LESS, Handlebars, Underscore, Bower, and 100 different front-end development tools have been created over the last few years. What happened? Seriously, what the hell happened?</p><p>Front-end coding has changed dramatically over the past three years, and we’ve felt it at <a href="http://kps3.com/">KPS3</a>. Our projects have grown in size, and with that, in complexity. What used to work for a simple two page website doesn’t work for a large-scale web app or 800 page State website. After months, or more realistically, years, we have finally narrowed down our front-end development process and started documenting it.</p><p>We started by creating our boilerplate. The boilerplate is the basis for all new projects. It’s a combination of several different tools, and has undergone several different versions. You can see where it stands today <a href="https://github.com/kps3/kps3.boilerplate">here</a>. Note, our boilerplate requires several prerequisites: <a href="http://nodejs.org/">Node (for npm</a>), <a href="http://compass-style.org/">Compass</a> (gem install compass), and<a href="http://gruntjs.com/">Grunt</a> (npm install -g grunt-cli).</p><h3>Fo​undation vs every other framework</h3><p>We started using <a href="http://foundation.zurb.com/">Foundation</a> early on. It was one of the first responsive frameworks we used—and I’m happy we picked it. The simplicity and ease of learning, using, and adapting foundation to any project has made it a staple in our workflow. We don’t even create a site nowadays (unless specifically requested) that doesn’t use foundation as the base layer. This was our first real step in standardizing our front-end development stack.</p><h3>SASS vs LESS</h3><p>We started using LESS. It was our first dip into the world of advanced front-end development—and it didn’t go too well. We started using the javascript compiler that would just compile everything client-side. Terrible idea—don’t do it. We then moved to using a variety of LESS compilers, eventually landing on using a Watcher for PHPStorm. Things finally started to work well. We all used PHPStorm. We all used the Watcher. Our settings were all the same. Life was grand. And then we hired <a href="http://kps3.com/company/crew/jonathan-rutheiser">Jonathan Rutheiser</a>.</p><p>Jonathan joined the team about 7 months ago and has really helped us focus our front-end strategies. Armed with a wealth of SASS, Compass, and Mixins knowledge, he convinced us that LESS was the wrong approach. Sure, there are ways of getting the support for LESS, but it just wasn’t as easy as getting everyone up and running with SASS &amp; Compass. (Oh, and Foundation adopted SASS as their preference and the two play wonderfully together.) We all converted to SASS, and just kept using our Watcher in PHPStorm to compile everything. Just a minor change and all was right again. But, as our team grew we had to adapt our setup to work outside of a specific code editor. Each developer has a different coding style, a different editor of choice, and different settings unique to their environment. It wasn’t fair to ask everyone to use PHPStorm. So, we began modifying our process again.</p><h3>Grunt vs. Gulp</h3><p>To be honest, I can’t remember why we chose Grunt over Gulp. I’m pretty sure Gulp didn’t exist at the time, but I don’t know. Anyway, it doesn’t matter at this point. If you haven’t checked out <a href="http://gruntjs.com/">Grunt</a>, you really should. It’s fantastic. To explain it simply, we use grunt to enhance and compress our CSS and JS, optimize our images, and easily manage different templates and partials. If you’re interested in the details of what add-ons we use, go take a look <a href="https://github.com/kps3/kps3.boilerplate/blob/master/package.json">here</a>.</p><h3>The Git Repo</h3><p>So, how do we keep this all organized? We are constantly tweaking and enhancing our setup, and updating the “_Starter Template Folder” on our client server wasn’t cutting it. We didn’t know when it was updated and it was impossible to track our changes / updates. Git was the perfect solution—our designers, front-end devs, and back-end devs already all collaborate through it, so let’s use it for more than client projects. We created the <a href="https://github.com/kps3/kps3.boilerplate">boilerplate repo</a> and we each have it cloned down to our machine. Having our boilerplate in a Git repo makes updates a breeze and you can be sure you always have the latest version. It also makes it super easy to track updates, bugs, and continuously improve the project.</p><h3>Our process for each project</h3><ol><li>Open Terminal and navigate to the <a href="https://github.com/kps3/kps3.boilerplate">boilerplate repo</a> on your machine.</li><li>Do a “git pull” to receive any updates/bug fixes that may have happened since you last used it.</li><li>Copy the files from the boilerplate directory and paste them into your new project directory.</li><li>If you’re good with the basics, run “npm install” (you may have to sudo depending on your configuration).</li><li>If you’d like to add anything more custom, run “npm install [package-name] —save-dev”. This will install the module and add it to your package.json so others will get it.</li><li>Since we’re using both Grunt and Compass, there are two config files you can edit to your specifics needs: Gruntfile.js (grunt) and config.rb (compass).</li><li>Now that your settings are configured, navigate to your project directory in Terminal and type “grunt watch”. This will watch the directory for any changes. As files get saved and changes get made, Grunt will recompile all the styles, javascript, templates… basically all the magic.</li></ol><h3>Taking it further</h3><p>This is just a starting point. It may seem daunting at first, but it’s actually extremely easy after you get the hang of it. This combination of tools and process has allowed us to move faster with our front-end development and write cleaner, better code. We’re able to split up our template files how they’d actually be split up in an app development environment and create a more modular way of organizing our files. (Side note: this is a HUGE help when multiple developers are working on one project; having everything split out and modular has cut down on painful merge conflicts a ton.)</p><p>Now, I won’t say it’s perfect. We’re still running into some issues with different people’s tab sizes, tabs vs. spaces, and overall just coding styles—but I’d gladly take those issues over going back to front-end coding three years ago.</p><p>KPS3 Frontend boilerplate repo: <a href="https://github.com/kps3/kps3.boilerplate">https://github.com/kps3/kps3.boilerplate</a></p><p>Have any ideas on how it can be better? Found a bug? Contribute!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2bf2d3f3fdde" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2014 — The Year of Interaction Design Tools]]></title>
            <link>https://medium.com/@extremelyn/2014-the-year-of-design-tools-3c449d771e62?source=rss----c3505f7af47d---4</link>
            <guid isPermaLink="false">https://medium.com/p/3c449d771e62</guid>
            <dc:creator><![CDATA[Emelyn Baker]]></dc:creator>
            <pubDate>Tue, 10 Jun 2014 01:25:18 GMT</pubDate>
            <atom:updated>2014-08-05T22:00:13.699Z</atom:updated>
            <content:encoded><![CDATA[<h4>A brief survey on the state of interaction + prototyping</h4><p>We’re six months in to 2014, and designers have the widest selection of interaction and prototyping tools to date. The community is blossoming, and bridging the gap from mockup to working prototype is now easier than ever.<br>Inspired by the upcoming <a href="http://www.pixate.com/">Pixate</a>, I’ve compiled a brief breakdown of the state of interaction design tools in 2014.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*nq6uynTPtxcotT7vSsWNJA.png" /></figure><h3>Webflow</h3><p><a href="https://webflow.com/">https://webflow.com/</a><br>$16+ a month | Web app<br>Webflow is a web app that allows users to design websites in the browser and that are completely coded and live. Webflow’s friendly WYSIWYG editor gives designers full control over the output, including the appearance on mobile devices.</p><p>Webflow is continuously adding new features — including web fonts, video support, continued W3C compliance, interactive states — and it even includes hosting, too.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nvD_vLYwoZhDfFFERstCag.png" /></figure><h3>Marvel</h3><p><a href="https://marvelapp.com/">https://marvelapp.com/</a><br>Free | Web app<br>Marvel is a free web app for prototyping for web and mobile designs. With Marvel, work is done entirely online — but syncs with your Dropbox, allowing you to easily pull in mockups from your private or company files. Marvel also supports PSD files — so you don’t have to convert files before creating prototypes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CnGKScIbJ25MoT9xnaL7tA.png" /></figure><h3>Macaw</h3><p><a href="http://macaw.co/">http://macaw.co/</a><br>$99 | Mac &amp; Windows<br>Macaw is a desktop WYSIWYG design tool that outputs working, live code. It’s particular strength lies in creating responsive designs: Macaw’s built-in breakpoint editor makes it easy to create pixel-perfect designs at any screen size.<br>Although no coding knowledge is required, basic experience with HTML and CSS certainly enhances the final product.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u5aVsdI9HMbJieaVZq1mHQ.png" /></figure><h3>UXPin</h3><p>http://uxpin.com<br>$15 per month| Web app<br>UXPin is a webapp that allows users to wireframe and collaborate on projects. Supporting responsive design, version control, and a drag + drop UI filled with premade components, UXPin aims to get designers building wireframes quickly and easily.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dJ4cbLG5ow4EC0K3SCpnVg.png" /></figure><h3>InVision</h3><p><a href="http://www.invisionapp.com/">http://www.invisionapp.com/</a><br>Free | Web app<br>InVision is not strictly an interaction design tool. InVision is used for prototyping and productivity. For prototyping, InVision allows you to add interactive events to static images to demo user interaction. At the same time, InVision’s project management features allow both stakeholders and designers to interact with prototypes before development begins.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rwo6-HbHZ2aupjhVI4xyOw.png" /></figure><h3>Flinto</h3><p><a href="https://www.flinto.com/">https://www.flinto.com/</a><br>$20 a month | Web app</p><p>Flinto allows you to create interactive prototypes that are useable both on the web and on a mobile device. Flinto allows designers to take static images and create prototypes that can be scrolled, rotated, and interacted with however you want.<br>One particularly enticing feature: Flinto prototypes can be used natively on Android and iOS devices — so, you can interact with your latest Instacart-for-Cats prototype on your own iPhone or Android device.</p><h3>Quartz Composer</h3><p>Quartz Composer is a developer tool created by Apple for use in motion graphics. Although not its original purpose, Quartz Composer has been adopted by the interaction design community as a code-free option for showing animation and state change in designs.<br>Quartz Composer can be daunting at first glance —with a significant learning curve. Luckily, support is growing. Facebook and IDEO have recently released new Quartz Composer libraries to make the program more accessible to first time users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5E9DgM3r8EXTKHYlwODw4A.png" /></figure><h3>Origami</h3><p><a href="http://facebook.github.io/origami/">http://facebook.github.io/origami/</a><br>Free | Mac only<br>Origami is a Quartz Composer library created by the Facebook Design team to help prototype interaction on mobile devices. It allows designers to easily replicate common animation and interactions that occur on mobile devices — think animating image transitions or button presses.<br>Like Quartz Composer, Origami is particularly useful for prototyping, but it doesn’t output useable code. Its claim to fame: Origami was instrumental in designing Facebook’s most recent mobile app, Paper.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YBg6ydAnkAtDqQEi4ePmnw.png" /></figure><h3>Avocado</h3><p><a href="http://labs.ideo.com/2014/05/27/avocado/">http://labs.ideo.com/2014/05/27/avocado/</a><br>Free | Mac only<br>Like Origami, Avocado aims to improve Quartz Composer by adding a library that mimics common interaction on mobile devices.<br>While Origami focuses on interaction and animation, Avocado focuses on replicating common UI elements for iOS — for example, a working iOS keyboard — allowing users to prototype ideas for iOS without using any code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z6jhqL2tJhmqkTzkb5e8_w.png" /></figure><h3>Framer.js</h3><p><a href="http://framerjs.com/">http://framerjs.com/</a><br>Free | Javascript framework<br>Framer.js is a Javascript framework for prototyping event-triggered animation. Framer boasts many features — one being a built-in generator that processes layer groups from your own PSD files and outputs each group into layers that form the basis of your project.<br>Framer is a Javascript framework — so unlike other options here, it <strong>does</strong> require an understanding of HTML, CSS, and Javascript. However, it’s not bound to any specific program. You can host it and interact with it anywhere and everywhere.</p><p><em>Which ones have you tried? Seen any other cool tools? Give me a shout out and I’ll add them in!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3c449d771e62" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>