Skip to main content
Filter by
Sorted by
Tagged with
11 votes
7 answers
1k views

I'm currently preparing an evaluation JavaScript modularization approaches for my corp. We are in process of defining "JavaScript Best Practices" for our projects, modularization is one of the central ...
lexicore's user avatar
  • 43.9k
3 votes
2 answers
12k views

I'm trying to write a bookstore program, and I'm getting an error saying "multiple definition" in my source code file at my function implementation. Here is my Book.c file: #include "Book.h" void ...
CassiePray's user avatar
10 votes
3 answers
7k views

I'm giving my first steps with angular, and I need to define a utility helper library, with a couple of function methods, something like dataHelper.parse, dataHelper.sanitize, etc What would be the ...
opensas's user avatar
  • 64.4k
0 votes
1 answer
328 views

is there a way to create interfaces between 2 modules so that they can interact with one another? im working on zend framework2. Many thanks.
Leen Rihawi's user avatar
2 votes
0 answers
102 views

JavaScript Concatenator I'm considering writing a JavaScript library to achieve Data Hiding under Modularization. I hope to get some inputs on whether this will be useful and what are the potential ...
Boyang's user avatar
  • 2,586
0 votes
1 answer
57 views

I previously run into the problems of data hiding under modularization in JavaScript. Please see the links below: Module pattern- How to split the code for one module into different js files? ...
Boyang's user avatar
  • 2,586
1 vote
2 answers
1k views

I'm in the process of creating a big business application using kendo ui. Since application is big. we have started to follow modular patter in javascript code. When using modular pattern wtih kendo ...
HarisJayadev's user avatar
1 vote
1 answer
125 views

I have an osgi bundle, which includes only a .jsp file. Shall I create an activator class for it? If yes, what should it do?
Tamas G.'s user avatar
  • 747
16 votes
2 answers
3k views

I have a couple of (software-)architecture questions regarding a migration from Grails (REST-API, parts of AngularJS, MongoDB, Tomcat, Spock, several plugins) to Node.js + Angular.js. I probably have ...
Christopher Will's user avatar
2 votes
1 answer
141 views

My task basically was to build a specific module for an existing system. The module works properly, but now I should place log entries inside the code. Since this is only a module of the final system ...
user3017074's user avatar
1 vote
0 answers
128 views

I'd like to separate my page into two independent "decoupled" areas. Now let's assume that both need the same dependency with the same version. Is requireJS or any other library capable of managing ...
AlessandroEmm's user avatar
0 votes
1 answer
883 views

I have been using the CodeIgniter i18n library by Jérôme Jaglale (http://maestric.com/en/doc/php/codeigniter_i18n), which works great for my project. But since I need to write separate modules, I ...
themban's user avatar
  • 17
2 votes
1 answer
1k views

We have a rich web application based in Java & Spring framework which have many functionalities and classes. recently something sparked in my mind that why not we provide modularity to make it ...
Mehdi's user avatar
  • 3,768
1 vote
1 answer
415 views

Our application is an enterprise application deployed in a distributed environment. It's an ASP.NET MVC 2.0 project connected to a WCF project on another server. What we need is to make our business ...
HEH's user avatar
  • 305
2 votes
1 answer
103 views

i just read a small article on code project for Module Pattern in Java Script. after reading javascript code few area was not very clear the way code has been written. i wrote javascript but i am not ...
Thomas's user avatar
  • 34.3k
0 votes
2 answers
666 views

So I am trying to modularize my angular JS application, as it is getting quite large, and it's already easy to get lost, with multiple controllers in a single file. Here is my folder structure at the ...
Sneaksta's user avatar
  • 1,059
2 votes
1 answer
95 views

I understand that OSGi can be used to manage service dependencies, that is sharing POJO instances between bundles. But say I have a library B.jar with compile-time dependencies on classes in my other ...
Emil Lundberg's user avatar
0 votes
1 answer
99 views

I have developed a web application based on Restlet API. As I am adding more features over time, I need sometimes to reuse similar group of REST API under different endpoints, which provides slightly ...
fellahst's user avatar
  • 681
0 votes
4 answers
117 views

I want to write this program where I have this in one file named intarray.c: #include <stdio.h> #include <stdlib.h> #include "intarray.h" struct IntArray { int length; int *array;...
user2420548's user avatar
0 votes
2 answers
178 views

Im doing a client server application. The server part is implemented with a WCF service. The WCF service exposes data types via service contract. The client is modularized and uses MEF for DI. In the ...
klashagelqvist's user avatar
2 votes
3 answers
152 views

Here's how I usually develop an application: I start with having all the code in a single source file. When it grows enough to be modularised, I break the code into several modules. When the modules ...
vines's user avatar
  • 5,245
0 votes
2 answers
222 views

I want to write a general-purpose handling class for files. This class is to load a specific handler instance depending on the type of file that's passed to it. One of the methods inside would work ...
James P.'s user avatar
  • 19.7k
3 votes
4 answers
388 views

I am trying to modularise a lengthy if..else function. $condition = "$a < $b"; if($condition) { $c++; } Is there any way of translating the literal string into a logical expression?
pulsar's user avatar
  • 995
0 votes
2 answers
546 views

I need clarity into being able to modularize my JavaScript code that leverages Ext JS. My objective is to create custom classes that extend Ext JS widgets, distribute code among several JavaScript ...
Kabeer's user avatar
  • 4,242
11 votes
3 answers
3k views

this is a continuation of the discussion I started here. I would like to find the best way to modularize Delphi source code as I'm not experienced on this field. I will be gratefull for all your ...
Mariusz Schimke's user avatar
11 votes
5 answers
2k views

Breaking a large rails app into smaller apps? Modularizing Rails applications Best practice for structuring a 'large' Rails app I have a quick question on modularization in a large Ruby on ...
user856988's user avatar
1 vote
3 answers
1k views

I am just familiar with OSGi technology - never used but heard of it so many times. I've read several articles "for dummies" but I think I still fail to understand its use case completely. Maybe some ...
ezamur's user avatar
  • 2,182
0 votes
1 answer
375 views

my GAE app is currently setup with the following filenames main.py (2 main models and logic for creating and updating the models) i18n.py (user interface logic how to view objects with i18n) reports....
Niklas Rosencrantz's user avatar
2 votes
1 answer
472 views

Currently, I'm using Velocity instead of JSP, for its flexibility. For some reasons, I need to distribute my web modules in jar archive, rather than war archive`. I have read the servlet ...
Lenik's user avatar
  • 14.6k
1 vote
4 answers
843 views

If I have a program that does the following: if(input=='abc'){do x} if(input=='def'){do y} In the future, I may want to add another piece of code like so: if(input=='ghy'){do x} As you can see, I am ...
guesswork's user avatar
0 votes
2 answers
534 views

I've been trying to clean up my site by defining my site structure as php string variables and then echoing those variables out. This condenses all of my site structure down to five lines with an ...
jen03017's user avatar
1 vote
4 answers
505 views

I've got an object defined as a function, and it's got a lot of methods and properties in it, what are some ways to modularise this to make it more manageable? It is possible to put functions inside ...
Tom Gullen's user avatar
  • 61.9k
6 votes
4 answers
617 views

I'm a computer science student, and I'm just starting to write relatively larger programs for my coursework (between 750 - 1500 lines). Up until now, it's been possible to get by with any reasonable ...
Peter's user avatar
  • 93
8 votes
7 answers
6k views

I found one SOF http://www.codeproject.com/KB/library/SOF_.aspx , Are there anyother stable frameworks for modularization in C++ ?
Ashika Umanga Umagiliya's user avatar
26 votes
5 answers
9k views

I'm working with very large JSF/Facelets applications which use Spring for DI/bean management. My applications have modular structure and I'm currently looking for approaches to standardize the ...
lexicore's user avatar
  • 43.9k
6 votes
8 answers
2k views

just saw this comment in a "what JS lib do you use" poll "@Xanti - yes, yes, modularization and abstraction in programming is a terrible practice. Functions that call other functions? Wasteful." ...
yretuta's user avatar
  • 8,141
0 votes
1 answer
136 views

G'day guys, I've tried reading the XML Modularization recommendation which promises to allow custom XHTML extensions but can't make heads nor tails from it. I need an XML document containing a mix of ...
Matty F's user avatar
  • 3,793
3 votes
2 answers
278 views

How does information hiding help to decouple the modules that comprise a system?
jai's user avatar
  • 22k
1 vote
1 answer
3k views

I'm developing a framework application, and I want individual implementations to have the possibility to add new functionality simply. For controllers this is easy, just compile it and drop it in the ...
erikkallen's user avatar
  • 34.6k
9 votes
5 answers
6k views

Modularization is obviously important in software projects, but I want to know people's opinions on how important and for what reasons it is important. I've obviously got my own ideas since I'm asking ...
7 votes
3 answers
1k views

I've been thinking some about "good practice" regarding package structure within osgi bundles. Currently, on average, we have like 8-12 classes per bundle. One of my initiative/proposal has been to ...
user avatar
2 votes
4 answers
813 views

We're currently developing a new piece of hand-held software. I cant discuss the nature of the application, so I'll use an example instead. We're designing hand-held software for managing a school. ...
djdd87's user avatar
  • 68.6k
3 votes
1 answer
3k views

We are using JBoss Rules (a.k.a. Drools) and have several .drl files that each contain several rules. Is there a way to avoid duplication between files, so that we can define common rules that are ...
Peter Hilton's user avatar
  • 17.4k

1 2
3