Skip to content

Commit

Permalink
Add new post Decoupled Drupal and Next.js.
Browse files Browse the repository at this point in the history
  • Loading branch information
Miloš Rajčić committed Nov 6, 2024
1 parent 904dcdf commit 1cb6339
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
2 changes: 1 addition & 1 deletion content/post/2024/07/ckeditor-5-premium-features/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Allow multiple users to edit simultaneously.
A customizable notification system keeps you informed whenever someone mentions you in a document, comments, replies to you, or accepts or rejects suggestions. You can also integrate it with your own plugin to receive notifications via email.

## AI Assistant
{{< figure link="images/002-ai_assistant.webp" caption="CKEditor 5 AI Assistant tools" alt="CKEditor 5 AI Assistant tools" >}}
{{< figure link="images/002-ai_assistant.webp" caption="CKEditor 5 AI Assistant tools" alt="CKEditor 5 AI Assistant tool" >}}

With this feature CKEditor became a powerful tool to generate, translate or summarize content. It supports some of the leading AI models like OpenAI GPT-3.5, OpenAI GPT-4, Azure OpenAI service or Amazon Bedrock service. You can select text, and use predefined commands, ask AI to change the tone and style, fix grammatical errors, make it longer or shorter and much more. The AI answers can be adjusted by using specific model or by params like “temperature” and “top_p”.

Expand Down
43 changes: 43 additions & 0 deletions content/post/2024/08/decoupled-drupal-and-next-js/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
title: Decoupled Drupal and Next.js
date: 2024-08-23
author: Stevan Antanasković
tags: ["decoupled", "drupal", "next.js", "drupal-planet"]
---
In today’s digital world, choosing the right technologies is essential for success. This is specifically important for enterprise level applications, where wrong decisions can increase cost in further maintenance and decrease gains provided by the solution.

As user engagement is a key focus for web applications, we need to ensure that chosen technologies will be beneficial for providing best user experience.

By combining Drupal with Next.js, we are taking the next step, where we split business logic from presentation layer, ensuring flexibility, scalability, and performance.

Working on applications where the presentation layer is separated from business logic will allow us to benefit by using best of both worlds and ensures the maximum level of security.

This approach allows us to surpass limitations of traditional frontend and shift to a more robust and secure presentation layer.

## **Benefits of using Next.js in combination with Drupal**
- **Server-Side Rendering (SSR) and Static Site Generation (SSG):**
Since Next.js can handle both SSR and SSG, this will provide us faster and more responsive content delivery. Option to serve content rendered on the server will allow us to satisfy requirements of SEO engines and ensure perfect scores and SEO ratings.
- **Incremental Static Regeneration (ISR):**
ISR is a feature of Next.js that allows pages to be refreshed incrementally, keeping content up-to date, without losing the benefits of static rendering.
- **Hybrid rendering capabilities:**
When creating dynamic web applications, it’s important to split server-side from client-side logic, this not only allow us to gain speed, performances and security, but also helps with creating more robust and scalable applications. With Next.js we have the option to choose between SSR, CSR or SSG approach at any part of application.
- **Scalable and reliable to meet demands for high traffic:**
Next.js architecture, combined with Drupal maturity and CMS capabilities ensures that even the most content heavy applications can handle significant traffic loads.
- **Comprehensive SEO control in Drupal:**
Drupal is well-known for its high-level modularity, metadata control and flexible URL structures, which in combination with Next.js can provide a robust mechanism for amplifying SEO results.
- **Lazy loading and image optimization:**
Ensuring media files are loaded only when needed improves both desktop and mobile responsiveness.
- **Secure decoupled setup:**
Separating business logic and sensitive data from presentation layer ensures better security.
- **Adaptability to evolving tech:**
Both solutions are supported by their large communities, this ensures frequent updates, high-level security and new features to follow trends and digital innovations.
- **Scalability for growing businesses:**
Providing decoupled solutions using Next.js in combination with Drupal, will allow us for future adaptability while keeping the option to scale and implement different services in both areas.

## Conclusion

The integration of Drupal and Next.js offers a powerful solution that will withstand test of time and provide business high performance, scalable and maintainable applications.

By choosing Drupal as a mature and rock-solid CMS, we will benefit from its robust content management capabilities, high level security and amazing SEO optimization. With Next.js on top and its dynamic frontend experience, we ensure that application is up to date with the latest standards.

With all benefits mentioned above, we can be confident that provided solution will allow us for seamless adaptations to future challenges.

0 comments on commit 1cb6339

Please sign in to comment.