<?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[lplabs - Medium]]></title>
        <description><![CDATA[Keeping you up to date with the latest engineering news and innovations at Lonely Planet. Follow @lonelyplanet for the best in travel. Read more from our design team at https://medium.com/lonely-planet-design. - Medium]]></description>
        <link>https://medium.com/lplabs?source=rss----1dff36bd2ef0---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>lplabs - Medium</title>
            <link>https://medium.com/lplabs?source=rss----1dff36bd2ef0---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 04:58:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/lplabs" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[How to be an engineer at Lonely Planet]]></title>
            <link>https://medium.com/lplabs/how-to-be-an-engineer-at-lonely-planet-9c099a11d224?source=rss----1dff36bd2ef0---4</link>
            <guid isPermaLink="false">https://medium.com/p/9c099a11d224</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[tools]]></category>
            <category><![CDATA[onboarding]]></category>
            <dc:creator><![CDATA[Jonathan Creamer]]></dc:creator>
            <pubDate>Wed, 24 Jan 2018 20:52:09 GMT</pubDate>
            <atom:updated>2018-01-24T21:12:52.360Z</atom:updated>
            <content:encoded><![CDATA[<p>First of all, welcome to our team! This blog post is our engineering team’s onboarding documentation. We figured, it’d be cool to share how we operate both with our new employees, as well as with…well everyone else too.</p><p>First and foremost, there are some guiding principles we live by…</p><ol><li>Be a learner</li><li>Always be shipping</li><li>Be awesome</li></ol><h3>Be a learner</h3><p>In our experience, the best engineers are the ones who refuse to stop learning. Why? Because first of all, as you read this blog post, there will be at least 15 new JavaScript frameworks created. Second, there is no better way to grow as an engineer and stay happy then simply by continually learning.</p><p>As an organization we strive to allow all of our engineering teams to be continually learning. We try to do at least a few lunch and learns a month, and most Friday’s we spend an hour together code reviewing our week’s worth of work, and also exploring what else is going on around us in the industry.</p><p>We love attending conferences, and many of our engineers are bloggers and conference speakers as well. There’s not better way to learn than through teaching.</p><h3>Always be shipping</h3><p>We strongly believe in continuously shipping code at Lonely Planet. Which is why we use Jenkins and Github to deploy our applications by simply merging code into master. This allows us to deliver value to our users early and often. We also strongly believe in testing. Albeit through unit, integration, whatever, just test the heck out of everything you do. Do we require 100% test coverage you might ask? Well no, but we want as many tests as you can to try guarantee a good product.</p><p>A team that ships together stays together.</p><h3>Be awesome</h3><p>Basically, don’t be not awesome. And the ways to not be awesome are as follows.</p><ol><li>Not being humble</li><li>Not owning your mistakes</li><li>Not learning</li></ol><p>We have an amazing culture on our team, and we do everything we can to hire only humble engineers who are passionate about their craft.</p><h3>Tools for the team</h3><p>Now that you’ve seen what it takes soft skill wise to be an engineer here, what kinds of tools will you need for the job?</p><h4>Github</h4><p>We use github for almost everything at Lonely Planet. As we said before, it’s how we ship things. So, it being of that importance we try to embrace a few git principles.</p><ol><li>Branch off of develop<br>…Because develop ships to QA</li><li>Create feature branches with initials, and feature name<br>…aka jc-new-feature</li><li>Commit using <a href="https://conventionalcommits.org/">https://conventionalcommits.org/</a><br>e.g. “fix: Some fix”, or “feat: A new feature”</li><li>Once the feature looks good, create a PR</li><li>Merge the PR by first possibly squashing some small commits, then rebasing develop onto your feature branch</li><li>Once the PR is approved, merge to develop</li><li>Check it out on QA</li><li>Merge develop into master</li><li>Profit</li></ol><p>A few teams under the engineering group are also using <a href="https://help.github.com/articles/about-project-boards/">Github projects</a> for project management.</p><h4>Slack</h4><p>As a tech company these days, it seems almost mandatory. Just try not to @channel too much ok?</p><p>Create specific channels rather than broad ones, and overall, just have fun.</p><h4>Open Source</h4><p>We strongly believe in the power of open source. Many of our JavaScript libraries are open source, and we use NPM for sharing them.</p><p><a href="https://www.npmjs.com/org/lonelyplanet">npm</a></p><h3>Tools for the Web</h3><h4>IDE tools</h4><p>VSCode, Sublime, Atom, VIM, nano…we don’t care, as long as you have plugins for…</p><ol><li>TypeScript typechecking</li><li>ESLint (we try to keep up with AirBnB’s guide)</li><li>TSLint</li><li>Prettier</li></ol><h4>Node.js</h4><p>We built lots of applications and services using Node because we ❤️ JavaScript!</p><p>The best way to get nodejs outside of Windows is to use…</p><p><a href="https://github.com/creationix/nvm">nvm-sh/nvm</a></p><p>It takes care of all the permissions issues and stuff you see when installing it normally.</p><h4>React</h4><p>Most of our new applications are built with React. Why? Because it’s awesome, and we love working with it!</p><p><a href="https://reactjs.org/">React</a></p><p>Often times for managing state we rely on Redux as well, but it’s not a hard fast rule…</p><p><a href="https://redux.js.org/">Redux - A JS library for predictable and maintainable global state management | Redux</a></p><h4>TypeScript</h4><p>We’re moving more and more towards TypeScript. It’s a great way to ensure bugs get caught earlier in the development process. Plus, it’s awesome to have types for props and state… <a href="https://www.typescriptlang.org/docs/handbook/react-&amp;-webpack.html">https://www.typescriptlang.org/docs/handbook/react-&amp;-webpack.html</a></p><p>We also use typescript of our node applications as well, by using <a href="https://github.com/TypeStrong/ts-node">ts-node</a> in development, and running tsc to compile for production.</p><h4>WebPack</h4><p>We use WebPack for bundling up our assets. It’s a phenomenal tool that has a ton of community support.</p><p><a href="https://webpack.js.org/">webpack</a></p><h4>Jest/Mocha</h4><p>Generally now we use Jest for writing tests, and we write a LOT of them.</p><p><a href="https://facebook.github.io/jest/">Jest · 🃏 Delightful JavaScript Testing</a></p><p>You’ll still see mocha every now and then as well.</p><p><a href="https://mochajs.org/">Mocha - the fun, simple, flexible JavaScript test framework</a></p><h4>Docker</h4><p>We use Docker and Docker Compose for our continuous integration setup. Or you can also go ahead and just build/run the dev environment with it as well. Every git push will run a branch test that runs all of the tests and makes sure the app looks good. It does that by containerizing the application so that it runs consistently the same.</p><p><a href="https://www.docker.com/">Docker: Accelerated Container Application Development</a></p><h4>Kubernetes</h4><p>Recently we’ve moved our applications towards Google’s phenomenal Kubernetes. It helps manage and distribute Docker containers.</p><p><a href="https://kubernetes.io/">Production-Grade Container Orchestration</a></p><h3>Tools for mobile iOS</h3><h4>XCode</h4><p>Love it or hate it, it’s what we use for doing native iOS development. We use storyboards extensively. We have app, framework, today extension, and unit test targets.</p><ul><li><a href="https://itunes.apple.com/us/app/guides-by-lonely-planet/id1045791869?mt=8">Guides by Lonely Planet on the App Store</a></li><li><a href="https://itunes.apple.com/us/app/trips-by-lonely-planet/id1227493920?mt=8">Trips by Lonely Planet on the App Store</a></li></ul><h4>Swift</h4><p>We’ve been doing all new development in Swift since WWDC 2016. We do have a fair amount of existing Objective-C code, so you have to be on top of bridging and interop issues.</p><p><a href="https://developer.apple.com/swift/">Swift - Apple Developer</a></p><h3>Tools for mobile Android</h3><h4>Android Studio</h4><p>Most of our android work is done with this IDE…</p><p><a href="https://developer.android.com/studio/index.html">Download Android Studio &amp; App Tools - Android Developers</a></p><h4>Kotlin</h4><p>We’re working on transitioning Android applications in Kotlin!</p><p><a href="https://kotlinlang.org/">https://kotlinlang.org/</a></p><h4>Firebase Test Lab</h4><p>We interface with Firebase Test Lab to work with Firebase</p><p><a href="https://firebase.google.com/docs/test-lab/">https://firebase.google.com/docs/test-lab/</a></p><h4>Conclusion</h4><p>We believe we’re a pretty cool place to work, and hope you enjoy working here. The above tools and thoughts will help you along your way to be the best engineer you can be. Enjoy!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c099a11d224" width="1" height="1" alt=""><hr><p><a href="https://medium.com/lplabs/how-to-be-an-engineer-at-lonely-planet-9c099a11d224">How to be an engineer at Lonely Planet</a> was originally published in <a href="https://medium.com/lplabs">lplabs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why we chose Node + React for the future of Lonely Planet]]></title>
            <link>https://medium.com/lplabs/why-we-chose-node-react-for-the-future-of-lonely-planet-9c1c0147d595?source=rss----1dff36bd2ef0---4</link>
            <guid isPermaLink="false">https://medium.com/p/9c1c0147d595</guid>
            <category><![CDATA[webpack]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[node]]></category>
            <category><![CDATA[style-guides]]></category>
            <category><![CDATA[travel]]></category>
            <dc:creator><![CDATA[Jonathan Creamer]]></dc:creator>
            <pubDate>Thu, 18 May 2017 15:23:38 GMT</pubDate>
            <atom:updated>2017-05-22T12:22:22.695Z</atom:updated>
            <content:encoded><![CDATA[<p>Lonely Planet exists to help travelers get to the heart of a destination. As an engineering team we have a long history of helping travelers do just that. Whether from our first site in 1996, all the way through to now, we’ve constantly been hard at work to deliver our content to travelers. Moving into the future, we’ve taken some steps to position ourselves well with new technologies and tools. Using Node and React we believe we’ve found an architecture for building apps that will allow us to continue building amazing products.</p><p>Believe it or not, Lonely Planet was one of the <a href="https://web.archive.org/web/19961109172129/http://www.lonelyplanet.com/">first sites</a> on the internet back in the 90s.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cVlUmkgsWaWaQpTm1rXi6w.png" /></figure><p>Fast forward to 2017.</p><p>We as an engineering team were tasked with continuing the LP legacy of helping travelers get to the heart of a destination. We had a few stipulations set in place as we decided on how to build the future of our products.</p><ol><li>Get our pages to users as quickly as possible</li><li>Give the user SOMETHING in case wifi or connection goes down and JS doesn’t load properly</li><li>Re-use components via a styleguide a la <a href="http://rizzo.lonelyplanet.com">Rizzo</a></li></ol><p>We have millions of users across all corners of the globe. Which means our site needs to work on hundreds of different devices wherever our travelers are exploring. On a camel outside the pyramids, a tour bus heading for the Great Wall, or on a fiber connection in an office building in New York City.</p><h3>Node + React</h3><p>For this reason and several others, we landed on using Node.js and React.</p><p>Node.js is JavaScript EVERYWHERE. We ❤️ JavaScript at Lonely Planet. We also love performance, and there’s no question that node.js performs extremely well, as demonstrated by large companies like Netflix, PayPal, AirBnB, etc. It has made developing our platform much more manageable, collaborative, and efficient. Our engineering team is extremely excited to be working in this stack, and we believe it will allow us to continue to improve our platform and deliver our users value.</p><p>Utilizing ReactDOM’s server library, we are able to deliver server side rendered HTML to our users as quickly as we can, and then allow React to take over the client side rendering once the JS downloads.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2b7fed873c5b2dd706e88b9887370729/href">https://medium.com/media/2b7fed873c5b2dd706e88b9887370729/href</a></iframe><p>Essentially, we use <a href="https://expressjs.com/">express</a> to capture routes, then <a href="https://github.com/ReactTraining/react-router">React Router</a>, for client side routing, and <a href="http://redux.js.org/">Redux</a> for state management. We ping our API for data, put it in some initial state for when we setup our Redux store. And of course, <a href="http://webpack.js.org">WebPack</a> for bundling our assets. For now we’re using a little bit of <a href="https://github.com/facebook/flow">Flow</a>, but we’re considering trying out <a href="https://www.typescriptlang.org">TypeScript</a> on some things as well.</p><p>In terms of our stack, we’ve started adding Dockerfile’s to all new apps, and distributing them with <a href="http://kubernetes.io">Kubernetes</a>. We use <a href="http://airbrake.io">Airbrake</a> for Node.js alerting, and <a href="https://prometheus.io/">Prometheus</a> for monitoring. We’ve also got a phenomenal deployment process where we merge to master in Github, and <a href="https://jenkins.io/">Jenkins</a>, using Pipelines, will run Docker build’s and deploy for us in a matter of minutes. It’s quite fantastic way to ship code and allows us to Always Be Shipping.</p><p>You can see more about how we set up our universal apps <a href="https://github.com/lonelyplanet/react-universal-starter">here</a>.</p><h3>Styleguide</h3><p>Another thing that was very important to our team was to continue building our components in a re-usable way through a styleguide, the same way we’ve been doing for years with <a href="http://rizzo.lonelyplanet.com">Rizzo</a>.</p><p>Going forwards we’re moving towards building all of our components in React inside of a new library we’re calling <a href="http://lonelyplanet.github.io/backpack-ui">Backpack</a>. The hope and the dream is that we get to a place with our Backpack components where we are with the Rizzo such that building a page is merely composing a few components together. This will allow us to have standard design patterns across all of our site, and enable us to build new products extremely quickly.</p><p>You can see how our talented UX team are working along side us to produce beautiful new designs for our site at <a href="https://dribbble.com/lonelyplanet">https://dribbble.com/lonelyplanet</a>. As we work with our designers we’re constantly collaborating and bouncing ideas off each other for how we can mirror their designs with our components.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3RRX5b-ZeLgJBfeZ3lEUKg.png" /></figure><p>We’re using <a href="https://github.com/storybooks/storybook">React Storybook</a> so that we can build our components in isolation from each other. Then we also utilize <a href="https://github.com/FormidableLabs/radium">Radium</a> for doing inline styling to avoid global CSS conflicts. We’ve also done some research into styled-components, and css-modules, and could potentially pivot in one of those directions as well.</p><h3>So much more to do…</h3><p>This is just the beginning. There is no such thing as a perfect architecture, nor any silver bullets. There’s no doubt however how much fun it is to work with Node + React. It’s extremely rewarding and fun to build apps this way. We hope to continue to learn from our mistakes, iterate, and ship more to that we can deliver value to our users early and often, and most importantly…</p><p>…always be shipping.</p><p>Check out some of our new React work:</p><ol><li><a href="https://www.lonelyplanet.com/australia/melbourne/top-things-to-do/a/poi/362494">Things to do in Melbourne</a></li></ol><p>2. <a href="http://www.lonelyplanet.com/">Our new homepage</a> — statically rendered to s3</p><p>3. And, <a href="https://www.lonelyplanet.com/video">our new video platform</a></p><p>For more from our Design Team see <a href="https://medium.com/lonely-planet-design">here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c1c0147d595" width="1" height="1" alt=""><hr><p><a href="https://medium.com/lplabs/why-we-chose-node-react-for-the-future-of-lonely-planet-9c1c0147d595">Why we chose Node + React for the future of Lonely Planet</a> was originally published in <a href="https://medium.com/lplabs">lplabs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>