Articles

Security is one of those things you shouldn’t play around with yourself, unless you know what you’re doing. This is the reason products such as Identity Server has gained such momentum and popularity. However, Identity Server is extremely difficult to configure correctly, and OIDC is also arguably a "hack" on top of OAuth2. JWT on the other hand, is dead simple to understand, and was created explicitly to authenticate and authorise users, contrary to OAuth that was originally created for an entirely different purpose. Hence, JWT is just as secure as OpenID Connect, only a gazillion times easier to understand and implement.

In the following video I demonstrate how to create your own JWT server using Magic in 1 second. Notice, Magic is a commercial product, and you need to pay a small fee to use it in a production environment – But compared to the number of hours you’d have to spend rolling your own Enterprise Single Sign On solution using JWT, I’m confident in that the license costs are small in comparison.

Source de l’article sur DZONE

I’ve had some time over the summer to work with Magic. One of the more important features I have implemented, is to make it more easy to use, and especially in regards to referential integrity columns. Watch the video below for an explanation.

This allows you to generate your Angular frontend in 1 second, spend some few hours editing the automatically generated frontend, and have an actual working Angular frontend CRUD app, in roughly half a day. I believe this might be especially interesting for more "raw" database access to your backend’s database, in particular for cases where you need to some sort of "advanced GUI" to modify your data, in cases where something goes wrong with your app’s data for some reasons. As in, making Magic become your app’s secondary app, for editing data items in your database. As a simplified version of something like PHP MyAdmin.

Source de l’article sur DZONE

“In computing, memoization or memoisation is an optimization technique used primarily to speed up computer programs by storing the results of expensive function calls and returning the cached result when the same inputs occur again” — Wikipedia article on memoization

I’ve written a two part article in Memoization in JavaScript. The first part explains the concept with basic implementation in JavaScript code. It details a way to apply the technique on function calls. It is generic to handle most JavaScript functions.

Source de l’article sur DZONE

I have written about Magic here previously, but on the 5th of January we came out with a significant upgrade to the Magic wand — the ability to automatically scaffold up an entire Angular frontend. This means that you can now start out with only a database, click one button, and Magic creates your entire backend. The result is that every single database table becomes wrapped inside of CRUD HTTP REST endpoints. Click another button, and Magic gives you a ZIP file that contains an entire Angular frontend, tailored specifically to your backend. See the process in the video below, or download Magic and try it out on your own database if you wish.

According to an article I read here at DZone, a highly skilled software developer can produce roughly 750 lines of code per month. When I tested Magic on a database with 122 tables, Magic produced almost 100,000 lines of code for me automatically. That becomes the equivalent of 8.8 years of software development for a human being, and my computer created this code in less than 60 seconds. Add to that the fact that human beings will write an occasional error into their code, and a computer will never create an error — and you get the point.

Source de l’article sur DZONE

Si votre Vue.js a des dépendances, vous aurez besoin pour gérer les dépendances d’une certaine manière lorsque vous test unitaire du composant.

Une approche consiste à installer les dépendances dans l’environnement de test, mais cela peut compliquer vos tests.

Source de l’article sur DZONE

Released by Facebook in 2013, React has steadily become an industry-standard library for front-end development. Per Stack Overflow’s most recent Developer Survey, React sits at the top of the list for both developer’s most "loved" and "wanted" web library/framework of 2019. This popularity is largely owed to React’s component-based functionality, which allows developers to create dynamic, user-friendly interfaces with reusable elements for single-page applications (SPAs).

In this "Best of DZone" compilation, we’re going to break down React by providing articles that introduce the library, compare it to similar frameworks (Angular and Vue.js), and take a look at key concepts, such as components, props, virtual DOM, and state management. Then, we’ll present tutorials, beginning with simple, "Hello, World" applications, moving to more technically dense, niche topics, and finishing with a few long-term projects. 

Source de l’article sur DZONE

Hiring technical talent has always been one of my most difficult tasks as a startup CTO. Development talent is in short supply for all company sizes, and we’ll see an estimated 30% increase in the number of development positions by 2026. Salaries have increased 15% in the last five years with a 2017 median salary of just over $103K, and salaries will continue to rise at a faster pace as the number of positions increases.

For these reasons, we had to look outside our established hiring channels when building our development team at CUE Marketplace. We needed reasonably-priced talent that could grow as we grew. Our company started in Boulder in a co-working space/coding school called Galvanize. We were lucky to have good candidates right outside our door. It’s been two years since our start, and now we have a solid development team full of boot camp grads. Here are five keys to our success in building that team.

Source de l’article sur DZone (Agile)