modularity

Best/standard method for slowing down Silverlight Prism module loading (for testing)

During localhost testing of modular Prism-based Silverlight applications, the XAP modules download too fast to get a feel for the final result. This makes it difficult to see where progress, splash-screens, or other visual states, needs to be shown. What is the best (or most standard) method for intentionally slowing down the loading of...

Creating Android Modular Applications on Eclipse

I am currently porting a framework for building applications on J2ME to Android. This framework consists of several projects that compile to libraries (jars). Each individual JAR can contain graphical data (resources, J4ME screens, etc.). Every project generally has a well defined entry point (module). When someone wants to build an appl...

OSGI runtime inside traditional J2EE server

I understand it should probably be other way round (OSGI runtime hosting J2EE servers), as it is apparently already possible with glassfish. However, our clients have extensive experience in administering traditional J2EE servers and significant investment (licenses, training etc.) Our architecture would benefit from OSGI modular archit...

Handling standard user facing scenarios

*I was wondering if i could do all these in javascript, as opposed to having rails helpers In my application, there are several types of "if-else" UI cases. This is a fairly common scenario, and i wonder if anyone has a tidy way to do these? EG 1) There might be several types of links with the same behavior: "upvote", etc. If i...

What are the major industry standard Automated Testing Frameworks?

I'm working on establishing automated testing practices and test suites in an organization. A peer is telling me that we "should use a framework". To me, a framework is any set of code and/or other tool that helps you create something. My peer seems to be suggesting that there are industry standard automated testing frameworks. I'v...

Keeping modules independent, while still using each other

A big part of my C++ application uses classes to describe the data model, e.g. something like ClassType (which actually emulates reflection in plain C++). I want to add a new module to my application and it needs to make use of these ClassType's, but I prefer not to introduce dependencies from my new module on ClassType. So far I have ...

Reusing interfaces throughout your application

I am currently busy refactoring big parts in my application. The main purpose is to remove as much as possible dependencies between the different modules. I now stumble on the following problem: In my application I have a GUI module that has defined an interface IDataProvider. The interface needs to be implemented by the application ...

Needing suggestions for modular Coldfusion app development

I'm starting a a new application, and want to concentrate on making it modular. What I mean by that is that is that in my head I envisage some basic facilities log on, user roles, layouts etc but then I am looking to be able to be able to add self contained "chunks" of functionality e.g. document repository and upload, diary and reminder...

Modularity: Using Interfaces or not?

Since a few years, common sense seems to dictate that it's better to program against interfaces rather than against implementations. For high-level code this indeed seems logical, e.g. if I have a complex solver in my application, it seems better to have something like this: ISolver *solver = solverFactory.getSolver(); solver->solve(in...

run all modules of a catalog (prism)

hello, i'm using the desktop library of prism. what i want is to get modules in a directory and then, run them. I do like that: DirectoryModuleCatalog catalog = new DirectoryModuleCatalog(); catalog.ModulePath = @"C:\Users\Raph\Documents\Visual Studio 2010\Projects\LibraryLoad\LibraryLoad\Modules"; I checked, the modules are loaded ...

jQuery Cycle pagerAnchorBuilder Wordpress Modularity Theme

The Modularity Wordpress theme includes a "post slider" built around jQuery Cycle. It uses pager to display a small number above the sliders. I would love to be able to change that number into the post title. The code in the theme is as follows: $doc_ready_script .= ' jQuery(function() { jQuery("#slider-posts").cycle({ fx...

Wordpress-like Plug-in model in ASP.NET MVC

This is kind of based off of this question. I'm currently looking at rebuilding our company intranet from the ground up (I'll be honest, our existing one is an absolute mess), but one of the core "features" of our new intranet that I'd like is the ability to build whole applications (which will also probably be in MVC 9 times out of 10,...

Separate Git submodule for each Zend Framework module?

Hi, I develop a lot of Zend Framework based applications with reusable modules (e.g. mailing module, cms module etc.) Each project has it's own centralized repository and uses some of the common modules. Each time I update the module in one of the projects, it is very likely that I need to update the module in the other projects too. ...

Can Prism and ASP.NET Web Parts work together?

We are trying to pick a modular programming solution at my work. The choice right now is Prism or ASP.NET Web Parts. One Boss person asked if you could wrap a Prism Module in an ASP.NET Web Part so they can be used anywhere (kind of a "can I have my cake and eat it too" kind of question.) While I don't think this is a feasible solutio...

developing for modularity & reusability: how to handle While True loops?

I've been playing around with the pybluez module recently to scan for nearby Bluetooth devices. What I want to do now is extend the program to also find nearby WiFi client devices. The WiFi client scanner will have need to have a While True loop to continually monitor the airwaves. If I were to write this as a straight up, one file prog...

use of D.Knuth pseudo-random generator

Hi all, I need to write a physical simulation software, and I need to use the pseudo-random generator written by D.Knuth, cause it best fits my needs. Though I know how to use it within a hard block of code (a mere #include "rng-double.c"), I can't quite understand how to include it in a modular program where it is needed both within t...

General Modular design for a web application

From everyone who've designed a modular enterprise application, I am interested in knowing how do you perceive modularization and what exactly are you parameters? Is layer-based modularization (like controller/web module, service module, domain module) a better approach? Or feature-based modularization better? And Why? In case of fe...

How small should I make make modules in Haskell?

I'm writing a snake game in Haskell. These are some of the things I have: A Coord data type A Line data type A Rect data type A Polygon type class, which allows me to get a Rect as a series of lines ([Line]). An Impassable type class that allows me to get a Line as a series of Coords ([Coord]) so that I can detect collisions between ot...

Can Prism be modular when calling webservices?

I am playing around creating a demo prism application. The application I have has a shell project and another module that has a prism service and a view (and a view-model). (mostly based off of Mike Taulty's videos, but in WPF rather than silverlight). I setup the prism-service to call my web service. It seemed all setup right, but w...

How do you understand modularization?

I'd like to know how you understand modularization in software, especially in web development? ...