Category: Open Source
Talking Drupal: Talking Drupal #458 – Drupal & Next.js
Today we are talking about Next.js, what it is, and how to integrate it with Drupal with guest John Albin Wilkins. We’ll also cover Next.js Webform as our module of the week.
For show notes visit: www.talkingDrupal.com/458
Topics
- What is Next.js
- What kind of server do you need
- How is it used on the web
- Does it only work on react based systems
- Why would someone want to integrate with Drupal
- When changes are made in the content how do you update the app
- On the module page there are a lot of references to Preview, is this something Next does well
- What is server side rendering
- How does Next work with menus and views
- Any preference on the api for json api vs graphql
- Performance
- Editorial experience
- Responsive images
- Will Drupal ever ship with a headless front end
- Winner of the TPOTM
Resources
- Next.js
- Next.js Wikipedia
- Next.js Webform Tutorial
- Example Next.js template to render an arbitrary webform
- Decoupled Menus Initiative
- FormDazzle
- Trival Patch of the Month
- https://www.drupal.org/project/drupal/issues/258089
- Flexinode
Guests
John Albin Wilkins – john.albin.net JohnAlbin
Hosts
Nic Laflin – nLighteneddevelopment.com nicxvan John Picozzi – epam.com johnpicozzi Baddý Sonja Breidert – 1xINTERNET baddysonja
MOTW Correspondent
Martin Anderson-Clutz – mandclu.com mandclu
- Brief description:
- Have you ever wanted to build a webform in Drupal and have the corresponding Next.js template automatically created for you? There’s a Next.js library for that.
- Module name/project name:
- Brief history
- How old: created in Aug 2022 by Lauri Timmanee (lauriii), who listeners may know as the Drupal Core Product Manager, and one of the people leading the Starshot initiative
- Versions available: 1.1.1
- Maintainership
- Test coverage
- Documentation – Lengthy README and a tutorial on the Acquia Dev Portal
- Number of open issues: 17 open issues, 3 of which are bugs
- Usage stats:
- 2,246 weekly downloads according to npmjs.com
- Module features and usage
- Using this library does require some setup on the Drupal side, including installing the Webform and Webform REST modules. There’s also an extra patch to install if you want to use any autocomplete fields, and some configuration needed for both the REST resources that will be used to exchange data, and the permissions for the account that will be used to retrieve and submit data
- Out of the box, the library supports over 40 webform components, but you can also provide custom elements if you need something additional. The library also supports conditional logic, so fields can show or hide in the Next.js front end based on conditions defined in your Drupal backend
- The library also provides front-end validation for email confirmation, date list, and datetime fields, but back end validation is also processed for every submission
- There is a crowded field of headless CMS competitors, but I thought this library is a good example of the extra power and flexibility you get by using a robust, open source CMS like Drupal as the back end in your headless architecture
Ruby 3.3.4 Released
Ruby 3.3.4 has been released.
This release fixes a regression in Ruby 3.3.3 that dependencies are missing in the gemspec
of some bundled gems: net-pop
, net-ftp
, net-imap
, and prime
[Bug #20581].
The fix allows Bundler to successfully install those gems on platforms like Heroku.
If your bundle install
runs correctly now, you may not have this issue.
Other changes are mostly minor bug fixes.
Please see the GitHub releases for further details.
Release Schedule
Going forward, we intend to release the latest stable Ruby version (currently Ruby 3.3) every 2 months after a .1
release.
For Ruby 3.3, 3.3.5 is supposed to be released on Sep 3rd, 3.3.6 on Nov 5th, and 3.3.7 on Jan 7th.
If there’s any change that affects a considerable amount of people, e.g. Ruby 3.3.3 users on Heroku for this release,
we may release a new version earlier than expected.
Download
-
https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.4.tar.gz
SIZE: 22110179 SHA1: 408362dfb0413122e09d35bafdcced8922b54e71 SHA256: fe6a30f97d54e029768f2ddf4923699c416cdbc3a6e96db3e2d5716c7db96a34 SHA512: 56a0b88954a4efd0236626e49cc90cdb15d9bfd42b27d7fc34efae61f500058e58cb32c73fdef5f1505a36602f4632d6148bf3bd1df539cb5581ae157c78c22b
-
https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.4.tar.xz
SIZE: 16366580 SHA1: 4fac2e1609535f71cbdbf9ab9dcea6f6e80a304a SHA256: 1caaee9a5a6befef54bab67da68ace8d985e4fb59cd17ce23c28d9ab04f4ddad SHA512: b26461a13ff82a08a282f10108028bb2a2e4a28da6182a291062fc54089c6655d79c22cc69d59156f9b11cb10a17fe8c69d489343fbae123a45f03361b95c9eb
-
https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.4.zip
SIZE: 26995054 SHA1: dcd35f8d428e61807b5c95b6e2e79444fb32f214 SHA256: 3cf0ee03dd4c98e78e8ab5e191af926870415770ef4995088ed069caef639b2a SHA512: c24ca2e6b1114f9c489c049c07acccb0db0916c42c68ea90eaa9acc430973de68342df19710c58130fe264a291958c89e60815c5b00f91decf5a4d1d674a0b32
Release Comment
Many committers, developers, and users who provided bug reports helped us make this release.
Thanks for their contributions.
Posted by k0kubun on 9 Jul 2024
Design and build the next version of OSNews
Pagpapahinto sa operasyon ng mga POGO, irerekomenda ni DOF Sec. Recto kay PBBM | 24 Oras
Video by via Dailymotion Source 24 Oras is GMA Network’s flagship newscast, anchored by Mel Tiangco, Vicky Morales and Emil Sumangil. It airs on GMA-7 Mondays to Fridays at 6:30 PM (PHL Time) and on weekends at 5:30 PM. For more videos from 24 Oras, visit http://www.gmanews.tv/24oras. #GMAIntegratedNews #KapusoStream Breaking news and stories from the…
Cops nab woman over alleged cyberbullying of content creator ‘Esha’
Video by via Dailymotion Source Police say the 35-year-old suspect was arrested at the Bukit Beruntung Golf Resort at about 1.45am today. Read More: https://www.freemalaysiatoday.com/category/nation/2024/07/08/cops-nab-woman-over-alleged-cyberbullying-of-content-creator-esha/ Free Malaysia Today is an independent, bi-lingual news portal with a focus on Malaysian current affairs. Subscribe to our channel – http://bit.ly/2Qo08ry ——————————————————————————————————————————————————Check us out at https://www.freemalaysiatoday.comFollow FMT on Facebook:…
Guo, ‘di makakadalo sa Senate hearing dahil sa trauma umano sa ilang dating pagdinig | 24 Oras
Video by via Dailymotion Source Ipina-subpoena na ng Senado si Bamban Mayor Alice Guo para harapin ang mga alegasyong isinasangkot sa kaniya. Pero sabi ng kampo ng alkalde, posibleng ‘di makadalo si Guo dahil sa “traumang” inabot umano nito sa mga nagdaang pagdinig. 24 Oras is GMA Network’s flagship newscast, anchored by Mel Tiangco, Vicky…