Original Message:
Sent: 09-15-2024 20:40
From: Stuart Boydell
Subject: What are the best approach and procedures to facilitate the modernization of web front-end development for new developers.
Eric,
Without knowing what your application or your business case are, "Best" is not a useful measure. However, D3 db to Mongo db to Web and back again seems like an inefficient way to proceed.
A common and "well-known" pattern is to use a REST service layer. This will allow you to create a service to integrate with your D3 application (perform CRUD operations, call basic programs, etc.) and integrate to a front-end server utilising a well-known pattern your new front-end developers should understand.
Design patterns for modern web APIs | by David Luecke
Rocket has MV Integration Server but the D3 integration may not be available yet; check with Rocket. There are also several commercial REST offerings for D3 I'm aware of.
------------------------------
Stuart Boydell
Technical Specialist
Meier Business Systems PTY LTD
Carnegie Vic AU
Original Message:
Sent: 09-11-2024 11:20
From: Eric Estrella
Subject: What are the best approach and procedures to facilitate the modernization of web front-end development for new developers.
Based on the tutorial https://www.youtube.com/watch?v=mSI5mXbCkkA
Can we use the new functions in Pick D3 Multivalue instead of JBase to enable our Pick applications to write data into MongoDB and use Vue or React as the frontend? Is this the first stage in modernizing our existing Pick database? I'm looking for a platform to present application data in a regular browser. Our plan is to completely redesign the interface, retiring the text-based 'menu' screens from Accuterm or Wyse50 TTY sessions. We will hire developers to work on the GUI. Thank you
------------------------------
Eric Estrella
IT Specialist
Self Registered
Glendale CA US
Original Message:
Sent: 09-11-2024 08:12
From: Bryan Buchanan
Subject: What are the best approach and procedures to facilitate the modernization of web front-end development for new developers.
Well, if you're going to use Node.js as a backend, you still need to get data to/from D3.
https://d3demo.webbtide.com uses Angular for the client, nginx, Apache Tomcat, MVSP Java and D3/Linux.
You can replace Angular with whatever your preferred front end framework is. IMO, using Tomcat allows you to write your D3 interface code in Java and use the MVSP code to communicate with D3. MVSP seems to work well, and you can create a pool of connections at Tomcat startup so each web request doesn't canny the overhead of a login to D3.
For what it's worth, if your app is an internal LOB app, you might want to consider a Java Swing (or Java FX) desktop app. Would still use MVSP to talk to D3. If your clients are all Windows machines you could alternatively use whatever is Microsoft's current take on desktop UI development and use the C# version of MVSP.
------------------------------
Bryan Buchanan
Original Message:
Sent: 09-09-2024 17:03
From: Eric Estrella
Subject: What are the best approach and procedures to facilitate the modernization of web front-end development for new developers.
I asked AI if I need a web server for our D3/LX64 backend and it came back with the following;
Using a web server like NGINX can be beneficial in your setup with Rocket D3 MultiValue Database, a Node.js server, and a React frontend, but it's not strictly necessary. Here's a breakdown of how each component fits into your architecture:
Rocket D3 MultiValue Database: This will handle your data storage and retrieval.
Node.js Server: This acts as the middle layer, handling API requests, business logic, and communication between your React frontend and Rocket D3 backend. Node.js is well-suited for this role due to its non-blocking, event-driven architecture.
React Frontend: This will be your user interface, providing a dynamic and responsive experience for users.
NGINX: While not mandatory, NGINX can serve multiple purposes:
Reverse Proxy: It can route incoming requests to your Node.js server, improving load balancing and security.
Static File Serving: It can efficiently serve static assets like HTML, CSS, and JavaScript files.
SSL Termination: It can handle SSL/TLS encryption, offloading this task from your Node.js server.
Using NGINX can enhance performance, security, and scalability of your application. However, if you're just starting out or working on a smaller project, you might manage without it initially and add it later as your needs grow.
We want to get away with Telnet and go with the html route, how do you experts/guys do this?
Thank you,
J
------------------------------
Jose Estrella
IT Specialist
Self Registered
Glendale CA US
------------------------------