17 May 2021

The React framework advantage

We’re big fans of React at Catch. But just what is React, and how do we use it?

React is a JavaScript library used in web development to build interactive elements on the web. The main advantage for end users is the fast interactivity they’re provided with, as there should be very little reload time when new data is presented on their screen. This, in turn, leads to a more positive user experience.

The React advantage for End Users

As you probably know, we’re Drupal experts. Whilst Drupal is an excellent CMS for general website usage, there comes a time when users want a bit more which is when we reach for React to build a ‘web app’ to sit on a page.

Think of Google Maps, for example. What a pain it would be if there was a noticeable page refresh (such as clicking on a link and waiting for the page to reload) each time you zoomed in or out or panned across the map. React helps eliminate this friction, allowing elements to quickly load on a page as the user interacts with them.

React makes it painless to create interactive UIs. Design simple views for each state in your application, and React will efficiently update and render just the right components when your data changes.

ReactJS.org

The React advantage for Developers

React is a JavaScript library that at a fundamental level is used to build many components each with their own independent ‘state’ that tells the component what to do. If you think of a button on a website as a component, the state might include the colour, the text (e.g. ‘Click Here’) and the URL (e.g. ‘https://www.catchdigital.com’). As you build out your React project with components, it allows you to avoid the time-intensive process of coding and testing over and over meaning you can build new features and scale your application.

Developers can reuse the button all over the web app and update the ‘state’ of each of these using ‘props’. The advantage to this is that every button on the site will look and behave in the same way. Of course, components will be much more complicated than just a button, and can do more than just take a user from one page to another.

Below are some helpful definitions to understand the terminology used when discussing React.

  • State - The current data that is within the component, any time this is updated and the state changes, a re-render will take place
  • Props - This is how information or data is passed from one component into another. For example if we reuse the button analogy where have colour, text and url managed in the state of the button, we could also have disabled as a state. If the button component is associated with a contact form, we could set the disabled state of the button to be true until all of the fields of the form are completed and then update the state of the button component using props

Developers are able to reuse tested code and know that it will stand up to stress.

The React advantage for our clients

We now know that React is a data driven tool, and allowing our clients to manage the content for a data driven API means we can treat Drupal as a headless CMS for the output of JSON in an API format. New content can be created in the same way new pages can be created. The same goes for content within each page, reducing what could be a time intensive process to update their site (or multiple sites from one data source).

Some examples of our use of React

From quickly adapting to what the user is looking for on the TV Guide on our Freeview web platform:

To helping students filter and book available accommodation in London via IQ Student Accommodation:

To helping global telecommunication company SES provide users with the ability to search for satellite footprint information using their “Our Coverage” tool within their existing Drupal solution:

Or providing the Internet Advertising Bureau (IAB) Members with a quick and easy way to view Adspend data in a graph that instantly updates as you change dates and add filters:

Catch is experienced in offering our clients effective solutions that take advantages of all the benefits of React.

If you're ready to start your journey and see how we can help you improve your connection with your audience through smart technology like React, don't hesitate to get in touch.

24 Jun 2020

Upgrading to Drupal 9 update

Now is the best time to start preparing for Drupal 9 whether you are on Drupal 7 or 8 - or even on another platform entirely.

Are you thinking TLDR? OK, the summary is;

Drupal 7 end-of-life on Nov 28, 2022

As this article explains: Previously, Drupal 7's end-of-life was scheduled for November 2021. Given the impact of COVID-19 on budgets and businesses, the Drupal community are extending the end of life until November 28, 2022. The Drupal Security Team will continue to follow the Security Team processes for Drupal 7 core and contributed projects.

Drupal 8 end-of-life on Nov 2, 2021

Drupal 8 will still be end-of-life on November 2, 2021, due to Symfony 3's end of life. However, since the upgrade path from Drupal 8 to Drupal 9 is much easier, the Drupal community doesn't anticipate the same impact on end-users.

Drupal 9 was officially released Jun 3, 2020

Drupal 9 was officially be released on the 3rd of June 2020, giving Drupal 7 and Drupal 8 users little over two years to upgrade to Drupal 9 when they reach end-of-life in November 2022.

What is Drupal 9?

As you can imagine, we’re really excited about Drupal 9 here at Catch, so we’ve had a think and put together our recommendations on what you should be thinking about how to prepare your websites for Drupal 9, (and, spoiler alert, why you should make the move to Drupal 8 now).

Essentially it’s intended to be the same as Drupal 8.9, but with deprecated code removed, so if your website has been maintained correctly upgrading will be super straightforward. 

This means that Drupal 9 ships with all of the awesome new functionality that was added in Drupal 8, such as Media, Configuration Management, Migration, Multilingual, Workflows and an API-first architecture.

It also means that, unlike previous upgrades, you won’t have to wait long for the community modules to be updated - early adoption won’t be punished. As far back as April 2019, 44% of the 7,000 modules available for Drupal 8 have been confirmed as ready for Drupal 9.

But what does all this mean? 

First and foremost, it means the community are ready and raring to go and your upgrade from Drupal 8 to Drupal 9 will be a breeze compared to any previous platform upgrades you may have undergone  Secondarily, with this new, clearer upgrade pathway established, when Drupal 10 comes out, the upgrade from Drupal 9 to Drupal 10 will be just as simple.

“Great, but I’m still on Drupal 7”

You may have kept Drupal 7 as your trusted CMS for many years - possibly even since it was initially released back in 2011. Migrating websites is a large task so we totally understand why you have held onto it for so long.

With Drupal 7 reaching end-of-life November 2022 (and yes, two years counts as soon!) now is the best time to migrate to a new version of Drupal. You’ll have lots of things to consider, one of the biggest being should you move to Drupal 8 now, or wait until Drupal 9 is released?

We strongly recommend starting the migration process sooner rather than later with a move to Drupal 8, the main reason being that migrating to a new platform takes a lot of planning, and if you’re also looking for a new digital partner the procurement process can be a long and gruelling one.

Our Immersion process is designed to help you discover just what it is you - and more importantly, your users - need from your digital platform. We work collaboratively with you to establish both business and user goals, requirements and content needs, creating prototypes to help solve tricky user experience conundrums and build-out and complex technical integrations you may need. With the hard work out of the way, migrating to Drupal 9 will be a breeze!

Get in touch to chat to us about migrating to Drupal 8 - we’d love to be a part of your journey.

“I’ve already made the jump to Drupal 8, what do I do now?”

We’ve been using Drupal 8 at Catch since before its full release in December 2015 so our clients have been feeling the benefits of Drupal 8 for almost five years already.

As well as some amazing performance improvements to serve your website to your users quicker, new functionality was added to Drupal 8 which you and your users have been getting the most of, we’ve put together some of our favourites.

  • Multilingual out of the box - previously you needed to use many modules to reliably be able to translate your website, with Drupal 8 it’s available out of the box
  • Configuration Management - This has been added to Drupal to make keeping environments in sync much easier. Gone are the days of ‘but it worked on this environment’, only to find out someone had missed a step
  • Migration - good news if you’re looking to migrate to Drupal 8 before upgrading to Drupal 9. Migration is available out of the box and is simpler to configure and ever before
  • Workflows - can be customised to manage your content authoring process, or even for the flow that a product has to go through from purchase to shipping
  • API-first architecture - Create your content once and use it across your website and apps
  • Media - fed up with uploading the same image twice? Drupal 8 comes with Media library for you to re-use your images and other media across your website

As Drupal 8 will also become end-of-life in November 2021, there is over a year to get ready but we are starting the process of making sure our clients websites will be ready for Drupal 9 now by auditing the code to make sure the code we have used hasn’t been deprecated since we implemented it. We recommend you do the same.

Already on Drupal 8 but not sure if you’re ready for Drupal 9? We can help! Get in touch to talk to us about auditing your current site to make sure you’re Drupal 9 ready!

Start a conversation

0207 494 3554
or
newbiz@catchdigital.com