4D Blog

Home Tag: rest-server
Product
Avatar
Marie-Sophie Landrieu-Yvert

Energize your Web applications with the OutgoingMessage Class

November 14, 2024

In today’s digital world, a smooth and intuitive user experience is key to any web application’s success. A critical part of this experience is providing users with easy access to various resources—whether documents, images, or other data types. To make this possible, your server must manage and deliver different content formats efficiently.

With 4D’s 20 R7 new REST server feature, managing diverse content delivery is now easier than ever. Previously, the REST server could only return scalar, entity, or entity selection data. Now, it can deliver full web content directly—content ready for a browser to handle.

Downloading files or receiving binary data from the REST server is now straightforward, thanks to the new OutgoingMessage class. With it, you can easily customize responses to suit your needs.

Read on to explore how the OutgoingMessage class can enhance your application!

Read more

4
Product
Avatar
Marie-Sophie Landrieu-Yvert
blank

Permissions: Inspect Session Privileges for Easy Debugging

July 19, 2024

Today, you can benefit from a powerful feature to filter access to data, which is essential for preventing malicious access to your application.

This feature uses privileges that allow certain actions on your data. These privileges are assigned to users through roles and stored in the Session during authentication.

In 4D 20 R6, we enhanced this functionality by allowing you to inspect the privileges in the Session, which is very helpful for debugging.

Keep reading to learn more.

Read more

2
Product
Avatar
Marie-Sophie Landrieu-Yvert
blank

Easily Using Qodly’s REST API

July 5, 2024

A few months ago, we announced that Qodly Studio is now available to all our Silver Partners (and higher).

Qodly Studio for 4D is fully integrated into 4D, allowing 4D Server to host your application with both desktop and web pages.

Qodly Studio is also accessible on Qodly, as part of 4D’s newly launched SaaS offering. This innovative hybrid low-code solution is specifically designed for web browser-based business applications.

Even if you’ve already built apps using the Qodly platform, we have more good news! You can now with 4D 20 R5 utilize the REST API of a Qodly application to seamlessly work with your data.

Keep reading to learn more.

Read more

2
Product
Avatar
Marie-Sophie Landrieu-Yvert
blank

Improved 4D Client Licenses Usage with Qodly Studio for 4D

May 2, 2024

Those of you who have started using Qodly Studio for 4D  already know how powerful this new tool is for developing business web applications. If you haven’t yet, find here more information on getting started.

Apps made with Qodly Studio for 4D rely on the REST APIs. 4D 20 R5 is shipped with a great new feature: “Force Login” mode.

With Force Login mode, a 4D Client license is only consumed when users successfully log in and begin working with your application’s data and logic.

Keep reading to find out more! And don’t forget to download our demo to see it in action!

Read more

2
Tips
Avatar
Marie-Sophie Landrieu-Yvert
blank

ORDA – REST request optimization step by step (+ A demo)

May 11, 2022

ORDA/REST performance is a strategic matter; that’s why we shipped many features related to this topic, such as the ORDA/REST request optimization in Client/Server and when working with a remote datastore. Lately, we also gave you complete control over the ORDA/REST request optimization.

This blog post gives you the plan to follow in order to ace your ORDA/REST performance game. It includes other blog posts to read, videos to watch, and a demo to play with to increase performance in your applications quickly and easily.

Read more

7
Product
Avatar
Marie-Sophie Landrieu-Yvert
blank

ORDA – Optimize performance with full control over REST requests

April 26, 2022

With a previous version, you discovered how ORDA REST requests had been automatically optimized to increase performance when working with a remote datastore and client/server configurations.

You learned that you can use contexts to take advantage of the automatic ORDA REST requests optimization.

That was a significant step, but now we offer to have complete control over the behavior of your REST requests. Since performance is a strategic concern, you must be eager to discover this new feature!

And that’s not all; new tools are now available to help you understand and debug your issues.

Keep reading for a complete presentation.

Read more

4
Tips
Mourad Aouinat
Mourad Aouinat
blank

4D REST API + ReactJS

September 13, 2021

by Mourad Aouinat, Software Engineer at 4D Morocco

In a previous blog post, we saw how easy setting up a REST API using 4D. In this blog post, we will leverage the powerful 4D REST API in combination with React to build a To-Do app that includes features to open todos, create new ones, modify existing ones, and features for bulk modification and bulk deletion.

Read more

14
Product
Avatar
Marie-Sophie Landrieu-Yvert
blank

ORDA – Improve your API with function scope

October 22, 2020

4D v18 R4 and ORDA made it possible for you to create high-level class functions above the data model. This allows you to write business-oriented code to hide complexity, reduce errors, and speed up the development process.

With 4D v18 R5, we’re bringing even more features to help you optimize and organize your code. For example, you might need to run a function locally on the client to improve performance when working in client/server mode. It’s now possible! Or if you expose your database as a REST server, you might want some functions to be available on the server-side but hidden for your REST clients. This is also possible!

Read more

5
Tips
Avatar
Marie-Sophie Landrieu-Yvert
blank

Tips: ORDA Data Model Classes

August 18, 2020

By now you’re aware of the availability of ORDA classes. In this blog post, you’ll learn a few handy tips to get the most out of them!

Read more

3
Product
Fabrice Mainguené
Fabrice Mainguené
blank

Support of Cross-Origin Resource Sharing (CORS)

August 6, 2020

Have you ever created an HTTP data request only to get hit by a red “access to HTML request has been blocked by cors policy” error?

When your site is on the same domain as the web service server, there’s no problem. However, this isn’t the case when performing a cross-origin request. Access is denied due to browser security preventing HTTP requests to another domain. The result? A CORS policy error.

To help you explicitly allow certain cross-origin requests on your server, 4D now supports the CORS protocol. Accessing data with cross-origin requests just became easier!

Read more

24
Page 1 of 2
  • 1
  • 2
  • →
  • Deutsch
  • Français
  • English
  • Português
  • Čeština
  • Español
  • Italiano
  • 日本語

Categories

Browse categories

  • 4D View Pro
  • 4D Write Pro
  • 4D for Mobile
  • Email
  • Development Mode
  • 4D Language
  • ORDA
  • User Interface / GUI
  • Qodly Studio
  • Server
  • Maintenance
  • Deployment
  • 4D Tutorials
  • Generic
  • 4D Summit sessions and other online videos

Tags

4D-Analyzer 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R8 20 R9 Administration Authentication Build application CI/CD Class Client/Server Code editor Collections Compatibility settings Formula Listbox Logs Mail Microsoft 365 Network Objects ORDA PDF Pictures Preemptive Programming Qodly Studio REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience v20 vscode Web Word processor

Tags

4D-Analyzer 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R8 20 R9 Administration Authentication Build application CI/CD Class Client/Server Code editor Collections Compatibility settings Formula Listbox Logs Mail Microsoft 365 Network Objects ORDA PDF Pictures Preemptive Programming Qodly Studio REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience v20 vscode Web Word processor
Subscribe to 4D Newsletter

© 2025 4D SAS - All rights reserved
Terms & Conditions | Legal Notices | Data Policy | Cookie Policy | Contact us | Write for us


Subscribe to 4D Newsletter

* Your privacy is very important to us. Please click here to view our Policy

Contact us

Got a question, suggestion or just want to get in touch with the 4D bloggers? Drop us a line!

* Your privacy is very important to us. Please click here to view our Policy