in Education by
The age old question. Where should you put your business logic, in the database as stored procedures ( or packages ), or in the application/middle tier? And more importantly, Why? Assume database independence is not a goal. JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Maintainability of your code is always a big concern when determining where business logic should go. Integrated debugging tools and more powerful IDEs generally make maintaining middle tier code easier than the same code in a stored procedure. Unless there is a real reason otherwise, you should start with business logic in your middle tier/application and not in stored procedures. However when you come to reporting and data mining/searching, stored procedures can often a better choice. This is thanks to the power of the databases aggregation/filtering capabilities and the fact you are keeping processing very close the the source of the data. But this may not be what most consider classic business logic anyway.

Related questions

0 votes
    The ______________ layer, which provides the interface between the business-logic layer and the underlying ... in portion Database Programming Techniques of Database Management...
asked Oct 10, 2021 in Education by JackTerrance
0 votes
    ___________ is the core business logic on which CorDapps run. A. Transaction B. Contract C. Legal prose D. Flow framework...
asked Feb 23, 2023 in Technology by JackTerrance
0 votes
    I have a menu which opens up a submenu on click. If a link has a dropdown menu (has class header ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 7, 2022 in Education by JackTerrance
0 votes
    I have a menu which opens up a submenu on click. If a link has a dropdown menu (has class header ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 2, 2022 in Education by JackTerrance
0 votes
    In layered design functionality and logic is separated into different parts to enable reuse true or false Select the correct answer from above options...
asked Dec 22, 2021 in Education by JackTerrance
0 votes
    The logic gate is an electronic circuit, which has one or many inputs but only___output.” three two one None of these Select the correct answer from above options...
asked Dec 1, 2021 in Education by JackTerrance
0 votes
    The logic gate is an electronic circuit, which has one or many inputs but only output.” three two one O None of these Select the correct answer from above options...
asked Dec 1, 2021 in Education by JackTerrance
0 votes
    Which of the following is not an application layer service? A. Network virtual terminal B. File transfer, access, and management C. Mail service D. Error control...
asked Jan 6, 2023 in Education by JackTerrance
0 votes
    Which application out of these of robots can be made of single layer feedforward network? (a) wall climbing (b) ... control (d) wall following Please answer the above question....
asked Aug 26, 2022 in Education by JackTerrance
0 votes
    _____________ gateway firewalls are deployed in application-layer of OSI model. (a) Packet Filtering Firewalls (b) Circuit ... questions and answers pdf, mcq on Cyber Security pdf,...
asked Nov 4, 2021 in Education by JackTerrance
0 votes
    Application layer firewalls are also called ____________ (a) first generation firewalls (b) second generation firewalls (c) ... and answers pdf, mcq on Cyber Security pdf,...
asked Nov 4, 2021 in Education by JackTerrance
0 votes
    Which of the following is not a vulnerability of the application layer? (a) Application design bugs may bypass security ... questions and answers pdf, mcq on Cyber Security pdf,...
asked Nov 3, 2021 in Education by JackTerrance
0 votes
    Which of the following is an example of application layer vulnerability? (a) Cryptographic flaws lead to the privacy ... questions and answers pdf, mcq on Cyber Security pdf,...
asked Nov 3, 2021 in Education by JackTerrance
0 votes
    Application layer sends & receives data for particular applications using Hyper Text Transfer Protocol (HTTP), and Simple ... questions and answers pdf, mcq on Cyber Security pdf,...
asked Nov 3, 2021 in Education by JackTerrance
...