Dynamic composition is a crucial part of developing robust user interfaces in Aurelia. If you worked with the compose element in Aurelia 1, you might (or might not have) needed to obtain a reference to the composed view-model itself.
While Aurelia 2 keeps many things the same, how dynamic composition works is a little different. We have the new au-compose custom element, which allows us to achieve the dynamic composition of components, including passing data into them.
I think it has become abundantly clear that Node.js and how it deals with dependencies is flawed and has become a total liability now.
Npm has become the bank vault of the web.
On October 22, 2021, a popular Npm package was hijacked and exposed to anyone who downloaded it to a password harvester and cryptocurrency miner for 4 hours. This package is called UA-Parser.js.
There is a good chance you might not have even heard of this. However, this package is downloaded almost 8 million times per week. Allegedly some large companies like Amazon, Facebook and Google are using this package.
In Aurelia 1, you could debug and identify Aurelia applications based on specific attributes in the dom. In Aurelia 2, the default setting for compiled HTML is to strip away Aurelia framework attributes.
What this means is if you need to debug your HTML, see what custom attributes are being passed to a custom element, and so on, you won’t see anything.
Like everything in Aurelia, you can customise this. Inside your main.ts file, you can set debug mode to true to bring back the Aurelia specific HTML attributes and markup.
Does anyone else remember offices? You know, those places you spent upwards of an hour commuting to in standstill traffic or overcrowded expensive public transportation? Shoulder to shoulder, bumper to bumper. Those places where sick coworkers would come into the office and kindly spread their sickness?
Despite the pandemic destroying livelihoods, causing widespread mental health issues and changing the way we live, some good has come of the pandemic.
The death of the office. The first casualty of the pandemic wasn’t the supply chain. It was the office. As COVID-19 spread, countries began to lock themselves down. People were encouraged to stay home, to only move for essential purposes. As a result, many companies shut their offices down and let their employees work from home.
After weeks of speculation in what has been the worse kept secret, Facebook has announced that it is changing its name to Meta. When they say name change, they, of course, are referring to the corporate umbrella that is the company, not the facebook.com social network.
The move is akin to Google rebranding to Alphabet and other companies like BP renaming to Beyond Petroleum. Except, in the case of Google, they didn’t rebrand to escape controversy like Facebook, BP and Phillip Morris have done.
When I started as a developer, the term front-end developer was almost nonexistent. Let me pull up my old man socks while I regale you with stories of a simple time in web development when Node.js wasn’t even in the womb yet, and Microsoft was not the open-source friendly company they are today.
It used to be a badge of honour to have a W3C validation badge on your website. Developers used to spend ridiculous amounts of time getting their sites compliant with XHTML/HTML as per the spec. I am talking about alt tags, proper semantic use of HTML elements, putting widths on images, everything.
In the world of software and web development, you might have heard of the term 10x engineer. It’s a term that refers to a person who can increase productivity and get work done faster on a team than other developers. It’s a term people often misuse to describe a team member who can do the work of ten people or work ten times faster.
In other words, someone with a rare set of skills and talents makes them more productive and makes them far more valuable to their employer.
If you haven’t heard the news, PayPal (aka the devil’s payment processing company) is allegedly in late-stage talks to acquire Pinterest. But, the question I’m sure many are asking is: why?
Why does PayPal want to buy Pinterest? Why would Pinterest be entertaining such a low offer at $70 per share which would value the deal at approximately $45b when Microsoft offered a $51b deal in early 2021? It seems a little low unless PayPal is going to offer stock as part of the deal.
Semiconductor shortages aside, a chip arms race has been brewing in the background of the pandemic over the last few years. Even before the pandemic, large companies were already exploring their own custom fabrications to reduce costs and dependence on dominant chip suppliers.
For years, just a handful of chip companies have dominated most facets of the chip market, from the chips inside of your modems or wireless devices to graphics cards, mobile phones, gaming consoles, and any other modern gadget with a chip inside of it.
I love WordPress. To me, WordPress is comfortable. I am familiar with it and have never encountered a situation where I couldn’t make it accommodate my use case or needs.
In the years that have passed since WordPress became the dominant CMS, a few other CMS’s and frameworks have come and gone, threatening to take WordPress’ mantle (it still hasn’t happened).
Some elitists out there believe that WordPress is underpinned by spaghetti legacy PHP code that makes it a non-option for some. Most of those against WordPress are more opposed to PHP itself than the CMS.