Questions tagged [modular]

347 questions
3
votes
2 answers

Best Practices to Minimise PCI DSS Exposure

Michael Rembetsy from etsy.com offers some insight in terms of segmenting software components into PCI and non-PCI environments. I'm trying to determine to most optimal solution in terms of software architecture. Is it best practice to segment your…
Paul Mooney
  • 1,576
  • 12
  • 28
3
votes
4 answers

C++ program design

How to effectively design a C++ modular program? How to learn?
Supriyo
  • 97
  • 3
  • 6
3
votes
1 answer

Scalable/Modular CSS: how to handle vertical margins between modules?

I've searched extensively, and can't seem to find a consistent way that people handle the top/bottom margins between modules in a... modular way. I like the idea of just using a generic wrapper div with the css as .page-area { margin-bottom: 1em },…
Ivan Durst
  • 1,163
  • 2
  • 12
  • 24
3
votes
3 answers

Modular C++ Design

I am designing a toolkit that has several modules. I'm trying to make the modules as independent as possible, so they can even be compiled independently (e.g. as a library). One of the modules is logging and another one is geometry. Right now a…
user31208
  • 1,448
  • 1
  • 18
  • 22
3
votes
3 answers

Zend_ACL with modular structure?

I created a MVC with Zend by reading http://framework.zend.com/manual/en/zend.controller.modular.html. The problem is that I can't find a way to use Zend_ACL with modular structure. Zend_Acl simply does not have a method to add modules. It only…
Moon
  • 22,195
  • 68
  • 188
  • 269
3
votes
1 answer

When is the "Fast Integer Multiplication Using Modular Arithmetic" (2008) algorithm faster than Schönhage-Strassen algorithm?

From Wikipedia: "Anindya De, Chandan Saha, Piyush Kurur and Ramprasad Saptharishi[11] gave a similar algorithm using modular arithmetic in 2008 achieving the same running time. However, these latter algorithms are only faster than Schönhage–Strassen…
2
votes
1 answer

how to use modular system of netbeans platform?

i m new with netbeans platform , i want to use java class's method of module A into module B, so please suggerst to me how can i do deppendacy , Lookup system , and Service provider?
Jay
  • 1,235
  • 10
  • 28
  • 49
2
votes
2 answers

2^n mod (m) algorithm

In class, we were presented with an algorithm for 2^n mod(m). to find 2^n mod(m){ if n=0 {return 1;} r=2^(n-1)mod(m); if 2r < m {return 2r;} if 2r > =m {return 2r-m;} } We were told that the runtime is…
Chet
  • 1,209
  • 1
  • 11
  • 29
2
votes
0 answers

Flutter - How do I set a global versions file?

I've started modularising an app and can have the same dependency in a few modules. How can I extract package versions?
user2892437
  • 1,111
  • 1
  • 14
  • 22
2
votes
0 answers

How can my flutter app remember the page states, when I change the tabs using bottom navigation bar?

I am using Flutter Modular to navigate between my tabs. I want to my pages remember the state (stay at the right scroll lposition) if I switch tabs with bottom navigation bar. But now it resets the state and create a new instance of the object. I…
Arinton Akos
  • 145
  • 2
  • 10
2
votes
1 answer

Modular Extensions CI anchors to assets

So, I'm making a CMS at the mo, and using the modular extensions HMVC CI 2.0. It's lovely. I'm wondering the correct method for keeping my assets (js, css, img) related to a module within the module directory. The problem being, how do I link to…
Michael Watson
  • 454
  • 2
  • 6
  • 14
2
votes
0 answers

How to retrieve Java 9 module dependencies in a Spring boot application

in this short article there is a Spring boot application (for visualizing Java 9 platform modules and their dependencies) implemented. How do I retrieve only non-platform modules from my custom Spring boot application to visualize their…
Michael K
  • 111
  • 2
  • 8
2
votes
3 answers

Is a Node.js module a singleton?

I used to implement singleton this way: class MySomething { constructor(props) {} } let myInstance = null; module.exports = (props) => { //first time call if(props) { myInstance = new MySomething (props); return…
maroodb
  • 1,026
  • 2
  • 16
  • 28
2
votes
1 answer

Share information between dynamic feature modules

I'm starting to use dynamic feature module and I have some doubts about how I shared information between modules For example: Login Module - Make a call to the server and get a token to make the other requests - Get a user session Movies Module -…
Woz
  • 350
  • 7
  • 13
2
votes
2 answers

ASP.NET Completely modular design - how?

Technology: ASP.NET 4.0, C#, forms/mvc I am a .NET web designer and I wish to create a modular based website for people, similar to what DNN does (but I want to create my own cut down version). The idea is that I create a base website that can…
Dan B
  • 936
  • 2
  • 13
  • 26