Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3244286
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T18:31:59+00:00 2026-05-17T18:31:59+00:00

I’m trying to implement modularity in my POS system to allow 3rd parties to

  • 0

I’m trying to implement modularity in my POS system to allow 3rd parties to do some kind of modules/plugins/add ons. I have started implementing a SPI and an API, my question is: the access to the data on database has to be by this way or I need to provide a Service?

At this point you may have noticed that I have few experience in this, so any advice in this topic is well

Edit: A little more information. My system has an user’s system theorically checking credentials to access any part of the system, mysql database, is written in Java. My modules securely need access to some tables in the DB, access to main menu, I don’t know what else I can say, but my question is more about abstractedly how an api need be.

thanks in advance

PS Sorry if my english is bad

Octavio Ruiz

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T18:32:00+00:00Added an answer on May 17, 2026 at 6:32 pm

    In general terms, software systems are (usually) broken up into “layers” (such as the User Interface (UI), Business Logic (BL), Data Access Layer (DAL) and so on). These layers also provide natural places to integrate with. So…

    the access to the data on database has
    to be by this way or I need to provide
    a Service?

    From what you’ve said I would think other systems should integrate via a service, or API. Giving direct access to the database means that they’ll side-step the Business Logic that should apply to the interactions they want to perform. In your specific case it will probably also mean they’ll side-step your security measures.

    Modularity

    There is two parts to this:

    • Architectural styles and design patterns which assist modular systems (specifcially regarding maintenance and extensibility); these are all technology agnostic (it doesn’t matter what technology you’re using).
    • Implementation and technology specific frameworks and techniques.

    Design Patterns

    Wikipedia is a great place to get an introduction into patterns, and StackOverflow has lots of great content around them too.

    I’s start off getitng to grips with what’s known as SOLID, although it’s all useful I think you’ll find the S, O, I and D areas of most value.

    Dependency Inversion (the “D”) is going to be particularly relevant to you as far as modularity goes. By creating a “contract” via an interface, you create something that other parties can build on – for example: they can swap out your “default” implementation with one they have made.

    Technology Specific

    I can’t speak specifically for Java (although it should be easy for you to find out) but .Net has a few frameworks that are specifically built for this kind of thing, e.g: the Managed Extensibility Framework (MEF).

    The point is that most technology stacks will offer various frameworks, tools and approaches for building modular systems.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.