Unanswered Questions
11
votes
3answers
354 views
How can you tell whether to use Composite Pattern or a Tree Structure, or a third implementation?
I have two client types, an "Observer"-type and a "Subject"-type. They're both associated with a hierarchy of groups.
The Observer will receive (calendar) data from the groups it is associated with ...
9
votes
1answer
685 views
Multiple Zend application code organisation
For the past year I have been working on a series of applications all based on the Zend framework and centered on a complex business logic that all applications must have access to even if they don't ...
8
votes
4answers
397 views
How do I Integrate Production Database Hot Fixes into Shared Database Development model?
We are using SQL Source Control 3, SQL Compare, SQL Data Compare from RedGate, Mercurial repositories, TeamCity and a set of 4 environments including production.
I am working on getting us to a ...
8
votes
1answer
311 views
How should an API use http basic authentication
When an API requires that a client authenticates to it, i've seen two different scenarios used and I am wondering which case I should use for my situation.
Example 1. An API is offered by a company ...
7
votes
1answer
126 views
Check parameters annotated with @Nonnull for null?
We've begun using FindBugs and annotating our parameters with @Nonnull appropriately, and it works great to point out bugs early in the cycle. So far we have continued checking these arguments for ...
6
votes
2answers
212 views
Optimistic work sharing on sparsely distributed systems
What would a system like BOINC look like if it were written today?
At the time BOINC was written, databases were the primary choice for maintaining a shared state and concurrency among nodes.
Since ...
5
votes
1answer
54 views
What are options for 3rd Party Centralized Software Settings Management?
I am an architect in an enterprise looking to build a SaaS solution. Our products are distributed over many different deployable containers, Web Services, Web UI's, etc.
I am looking for some ...
5
votes
0answers
153 views
What's the progress on Haskell records?
Recently I stumbled once again on the issues of Haskells records, in particular the uniqueness of field names (it's a pain ...)
I already read A proposal for records in Haskell from SPJ and Greg ...
5
votes
0answers
173 views
What is the reason for section 1 of LGPL and what is the implication for section 9.
Why was section 1 added to LGPLv3? My understanding of section 3&4 is, one can convey the combined work under any license and with no requirements from GPLv3 (besides those explicitly stated as ...
4
votes
1answer
147 views
Conditional attribute in XML - most concise solution?
I am tasked with setting up conditional profiling - a method of tagging chunks of XML with an attribute, which will then be used as a conditional value to extract subset of that XML.
Have a look at ...
4
votes
1answer
310 views
Resources relating to Java EE and Scala
Are there any good sites / blogs / books / articles on using Java EE together with Scala? Or indeed articles saying that it should not be done.
Many Scala resources talk about using Akka and Lift. ...
4
votes
1answer
168 views
Why use binary files to stack up different versions on DMSs?
I've used both Liferay and Alfresco trying to use them as the Document Management System for an intranet.
I noticed the following:
They use the file system and the database to store files
They use ...
4
votes
2answers
500 views
How can I best implement 'cache until further notice' with memcache in multiple tiers?
the term "client" used here is not referring to client's browser, but client server
Before cache workflow
1. client make a HTTP request -->
2. server process -->
3. store parsed results into ...
4
votes
1answer
255 views
How to Properly Make use of Codeigniter's HMVC
I have been having problems wrapping my brain around how to properly utilize the modular extension for Codeigniter. From what I understand, modules should be entirely independent of one another so I ...
4
votes
3answers
268 views
How should I implement Transaction database EJB 3.0
In the CustomerTransactions entity, I have the following field to record what the customer bought:
@ManyToMany
private List<Item> listOfItemsBought;
When I think more about this field, ...