Test Driven Development Courses

  • In this course, you will learn how to quickly spin up a reproducible development environment with Docker to manage a number of microservices.
  • This tutorial is powered by Real Python.
  • Please support this open source project by purchasing our courses to learn Python and web development with Django and Flask!

In this course, you will learn how to quickly spin up a reproducible development environment with Docker to manage a number of microservices. Once the app is up and running locally, you’ll learn how to deploy it to an Amazon EC2 instance.
Continue reading “Test Driven Development Courses”

The Most Important Color In UI Design – UX Planet

  • Just look at your smartphone app icons, and you’ll see that a lot of them are blue: Facebook, Twitter, Shazam, Safari, etc.So why is blue the chosen color?There are a lot of reasons to use blue, I’ll list a few of them:People like this color.
  • Surveys show majority of people see blue as their favorite color.
  • Blue is strongly associated with clean water, clear skies, etc., which leads to its high preference as a color.Blue has an association with nature due to this being the color of ocean and sky.Universal color for UI designers.
  • Blue is a very common color for websites and apps in the travel industry.
  • ConclusionI hope that after reading this article you have a good idea of why blue color is so popular among designers.

As you probably already guessed this article is dedicated to blue color. Without a doubt, blue is one of the most important colors in UI design, and one of the most frequent. Just look at your…
Continue reading “The Most Important Color In UI Design – UX Planet”

Check my Universal Reactjs boilerplate #es6 #javascript #mongodb #nodejs #reactjs #redux #webdev #webdevelopment

  • , contains dumb React components which depend on containers for data.
  • , contains starting template (if project got cleaned with ).
  • Container care about how things work, while Component care about how things look.
  • You can see the sample app with this script if you’re not cleaning the project yet

    Before start the new project, you can use this script to remove the sample app, this script will remove everything inside and directories, and generate the starting and

    Bundle all the files, it will create the for all the style files, for the client app, and for the server app.

  • If you want to see your project in production environtment

    This Universal ReactJS Starter-kit is packed with plop generator, you can generate component or container template using this script

universal-react-starter – Universal React starter with Redux, React Router, Express, CSS/SASS Module, Mongoose, Webpack.
Continue reading “Check my Universal Reactjs boilerplate #es6 #javascript #mongodb #nodejs #reactjs #redux #webdev #webdevelopment”

Using Electrode to Improve React Server Side Render Performance By Up To 70%

  • js application platform that powers walmart.com with several goals in mind, including ease of use, re-usability of components across applications and, most importantly, performance.We use server side rendering for almost all of our applications for two reasons:Improved performance for the customerBetter for SEOIn our tests, however, we found that React’s renderToString() takes quite a while to execute — and since renderToString() is synchronous, the server is blocked while it runs.
  • Every server side render executes renderToString() to build the HTML that the application server will be sending to the browser.To solve this problem, we created two Electrode modules: Above the Fold Render (ATF) and Server Side Render Profiling and Caching (SSR Caching).
  • The average renderToString()call with this configuration took 153.80 ms.Electrode default, though, Electrode comes with renderWithIds:false, which gives us a renderToString() time of 124.80 ms. Not bad — Electrode’s default configuration has already improved render time by 19%!
  • That drops our renderToString() time all the way to 36.56 ms — an astounding 71% improvement from the default Electrode configuration, and a 76% improvement from our original, unoptimized test.
  • That means a 70% improvement won’t mean 90 ms, but 180 ms saved.Special Thanks:To Arunesh Joshi, Dmitry Yesin, and the home page team who have implemented the Electrode modules and are using them on the home page in production.To Caoyang Shi, for helping to gather data and ensuring we’re getting the right numbers!More Information:Check out Joel Chen’s post on ReactJS SSR Profiling and Caching or Arpan Nanavati’s post on Building React.js at Enterprise Scale.Check out my post about the release of Electrode, the customer-facing platform that powers Walmart.com.The Electrode website: www.electrode.io

We built Electrode, the react/node.js application platform that powers walmart.com with several goals in mind, including ease of use, re-usability of components across applications and, most…
Continue reading “Using Electrode to Improve React Server Side Render Performance By Up To 70%”

Introduction to React Native Course

  • Brandy is a developer, designer, and doer, that could out hustle Jay-Z.
  • She is a full stack developer, with an enthusiasm for application development and learning the latest technologies.

React Native is a great option for creating performant iOS and Android applications that feel at home on their respective platforms, all while building on any previous web development experience. One of its greatest advantages is that it is written in JavaScript and with that you can maximize code reuse between platforms. This course is going to go through the basics of React Native, Redux, third party API integration and the best ways to structure your React Native projects for success. In this course we will be building the ultimate superhero app. This app will let you build the superhero team of your dreams, well if you dream in Marvel that is. By the end of this course you should have the confidence to build upon the app that we started and take it to the next level.
Continue reading “Introduction to React Native Course”

#Reactjs component to declaratively fetch data

  • You supply a single function as a child of which receives a single argument as an object.
  • The function will be called anytime the state of the fetch request changes (for example, before a request has been made, while the request is in flight, and after the request returned a response).
  • While you can pass a single property to the function (for example, ), it is common to instead use object destructuring to peel off the properties on the object you plan to use.
  • An example of destructing and using the most common properties , , and .

react-fetch-component – React component to declaratively fetch data
Continue reading “#Reactjs component to declaratively fetch data”

Using canvas with React Native – Over Engineering – Medium

Use canvas with React Native:  #ReactJS #JavaScript

  • Most of the work is in defining which methods and properties should be made public in React Native:Context uses the postMessage implementation, in Canvas; so the bridge is shared and all the queueing logic is reused.
  • When we call a method or set a property: canvas.webview.postMessage sends a message to a canvas in the Webview.
  • The Canvas component doesn’t expect a return message from this.If we need to call a canvas or context method, we call the method and send the serialized return value back.
  • This library has provided a way for me to access the canvas API, but I also need a way to load images from a remote source.The canvas API provides a drawImage method, which could accept another canvas (or a browser Image object) as a source.
  • So, I can now use either to load an image, and then make changes to the image; using the browser canvas API.That’s all, for nowI’ve enjoyed working with this library, so far.

React Native is the Wild West. There’s so much to discover and build, and it can be a fun journey. Sometimes, before you can start panning for gold, you have to make the tent you’re going to sleep in…
Continue reading “Using canvas with React Native – Over Engineering – Medium”