How to Avoid Shared States Between Mixins in Ember.js
Personally, I use mixins a lot. With their help we can easily separate responsibilities in an object (it doesn’t matter whether it’s a controller, a component or something else) and they let us think in terms of designing the app’s architecture in a reusable way. Mixins can make our code cleaner, but they also bring the danger of states being shared between multiple objects. You might even be unaware of this, as it’s not a very common situation, but if it happens, looking for that bug may cost you a few hours - so it’s better to be prepared!
Stubbing External Services in Rails
Integrating external services in web applications has been around for a long time now. We often use various OAuth providers such as Facebook, Twitter, GitHub and other alternatives for user signup, depending on our needs. Other times, things are more complicated. Maybe we are using Stripe or PayPal for online payments, or maybe we are dealing with a service-oriented architecture, where multiple services (or web applications) are interconnected.
Loading a specific file into Dotenv
Dotenv is a great tool and by default works right out of the box when you have a .env
file.
Search for places along a route With Google Maps and RouteBoxer
Since my first year at university, I've been looking for an app that would allow me to enter a start and end location on a map, and for it to return directions between those two points, with all the drinking establishments along the route. Click to read the complete post
The Most Important UX Predictions for 2016
Everyday at Netguru, we do our best, not only to provide our customers with the best software possible, but also to design their products in a way that will guarantee success. That’s why our designers follow their own design flow based on some obligatory rules. They must stay on top of all the latest trends in design and use state-of-the-art technologies. We asked them, what are their UX and design predictions for 2016. Check out what they told us:
Integrate Jasmine into Rails for Solid Javascript Testing
Caching in development environment in Rails 5
Ruby Private Class Methods
Clearance: The other Rails authentication gem
Looking for a well-balanced authentication solution? Check out Clearance as an alternative to Devise and has_secure_password.