Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
i develop a BPM software and I would like to add end user scripting logic.
I try to express myself with an example.
in a Process there are 2 variables (Price, ApplyDiscount, DicountAmount, Total).
somehow the user wants to define this logic:
//Delphi code for explanation:
if ApplyDiscount then
Total := Price * DiscountAmount
else
Total := Price;
since my app is a SQL Server Client server app i thought also about the idea to run a query with parameters so the user uses SQL syntax to script the logic and it will work.
I need to define the details but somehow the idea is to use the :Parameter syntax to allow the script pass and recieve values from my application.
This is for sure ok, but i was wondering if there is another way to do it without writing my scripting engine.
Thanks.
Some scripting engines for Delphi:
DelphiWebScript which is my preferred: it has the best syntax, is probably the faster, and is Open Source;
PascalScript;
TMS Scripter Studio.
If you want "non pascalish" scripting, you can take a look at Lua which is pretty simple to work with.
Edit:
Some additional candidates:
SEPI;
ScriptEngineII;
BESEN which is a JavaScript engine written in Delphi, including JIT!
SpiderMonkey for Delphi also executing JavaScript.
Related
Closed. This question is not written in English. It is not currently accepting answers.
Stack Overflow is an English-only site. The author must be able to communicate in English to understand and engage with any comments and/or answers their question receives. Don't translate this post for the author; machine translations can be inaccurate, and even human translations can alter the intended meaning of the post.
Closed 7 days ago.
Improve this question
I have a single layer mvc project in abp framework, I want to use ms sql server and postgre sql in this project, so I need to use two databases, how can I do? Can you help me?
I added and configured 2 context classes, but couldn't use sql and postresql together. I want to use single tier mvc and 2 databases.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I create a JavaFX desktop application and need to store data in encrypted storage.
At first I wanted to store the encrypted raw data in tables as it's done on server, but with this approach I loose an ability to search it and if I want so - I need to keep everything decrypted in memory, every time.
So, I found that H2 database supports encryption, but It supports only AES-128, and I've not found anything about AES-256 which I use now.
Moreover, I've not found any discussion on the internet about it or plans to implements, or requests of this functionality.
So, why there is not information about it, Is it really that nobody needs it?
Maybe it is an option for you to use the very popular SQLite database instead. The SQLite Encryption Extension supports AES-256. See: https://www.sqlite.org/see/doc/release/www/readme.wiki
Edit:
This is the version of SQLite with built-in encryption support: https://github.com/Willena/sqlite-jdbc-crypt
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
This question is a little more generic, a brainstorm one. I'm about to develop a small website, and I still don't know if it’s better for me to store my “Text” (to fill Labels, Messages, etc) data on the Database or just on the frontend.
I know that for a fact, consulting the BackEnd Database is slower than just searching a specific file, but it’s also better to update the list later-on (when the website is developed) by just running a script.
I want to know some opinions, experiences, advantages and disadvantages about both.
Edit: For the technologies, i was thinking in using ExtJS with a Java Backend, I'm not quite sure about the BD yet.
Consider what data you are storing and the purpose of your website.
Advantages of front end storage: quicker
Advantages of database storage: more secure/structured
If your strings are sensitive then I would secure them in your database. Any client information, including "Text" data should be stored on the back end. If the strings are only relevant to you as the site owner then I don't see a problem with storing them on the front end.
Also perhaps specify which technologies you are using to build this site to get more specific responses.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
So question is do we need backend framework e.g. Laverel etc. if we user Angular\React? Don't undestend why we need cuz i use baclend only for REST API, I can not understand why they can be useful if we do all job on froendend
The need for server side code is largely independent from the use of client side code.
Many projects require server side and client side code in order to function at all (e.g. if data needs to be shared between users of a site). Even those that don't usually should involve server side code as a best practise.
Given a project where server side code is needed, there is never a need for a framework. A framework is a tool that can (in some circumstances) make the development of code easier, but can always be replaced with from scratch code. A developer should select the most appropriate tool for the job.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
How can my COBOL program running, on a mainframe platform, connect and access an Oracle database running on different Unix platform?
Oracle have a product for embedding SQL calls in COBOL; it's the Pro*COBOL pre-compiler. Find out more.
The snag is, the Pro*COBOL program must reside on the Oracle server. So, given your architecture, you need to make remote calls. It's been a long time since I used COBOL (literally more than two decades) but the thing I remember the most was that functionality varied strongly across different flavours.
If you are using a flavour based on the COBOL-85 compiler (or later) which has the EXTERNAL extension then you're in luck, because you can write your own remote calls. Here's a CICS example. Otherwise you might need to buy something. ETS sell a product called Cobol-RPC: find out more (no warranty is implied or intended).