Executing a curl from a URL and piping the result into bash is a very common yet inherently insecure practice. To discourage the use of this practice you can detect when this is happening from the server side and return an alternative message to stop the user from doing this.
React Native has been at the centre of the mobile development landscape after Airbnb decided to move away from it. Here's an interesting use case of a company that is sticking with React Native and supporting this technology.
Clarity. Actionable interfaces. Opinionated design. Gather feedback. Use metaphors. Provide context over consistency. Use defensive design. These are 7 design principles that you shouldn't forget while developing your next great project.
Viewport units have always been controversial and some of that is because of how mobile browsers have made things more complicated by having their own opinions about how to implement them.
Managing state is not a new thing in software, but it’s still relatively new for building software in JavaScript. Traditionally, we’d keep state within the DOM itself or even assign it to a global object in the window. Now though, we’re spoiled with choices for libraries and frameworks to help us with this. Libraries like Redux, MobX and Vuex make managing cross-component state almost trivial.
The entire V8 compiler pipeline was overhauled and shipped with Node.js version 8. This post investigates what speed improvements we can expect as a result.
Did you know that CSS is Turing complete? Did you know that you can use it to do some pretty serious logical styling? Well you can! You don’t have to set all of your logic-based styling rules in JavaScript, or even have to use JavaScript to set classes you are styling against.
Book of the week
Rails, Angular, Postgres, and Bootstrap: Powerful, Effective, and Efficient Full-Stack Web Development
by David B. Copeland
As a Rails developer, you care about user experience and performance, but you also want simple and maintainable code. Achieve all that by embracing the full stack of web development, from styling with Bootstrap, building an interactive user interface with AngularJS, to storing data quickly and reliably in PostgreSQL. Take a holistic view of full-stack development to create usable, high-performing applications, and learn to use these technologies effectively in a Ruby on Rails environment.