[Mifos-developer] Collection Sheet Report Patch for MIFOS

2 views
Skip to first unread message

Amiruddin Nagri

unread,
Jan 8, 2008, 11:24:34 AM1/8/08
to mifos-d...@lists.sourceforge.net, Pramod Biligiri, Nandini Yadalam, Apoorv G Gawde

Hi,

We are working on adding Collection Sheet to the report module for MIFOS. Find the patch attached for the same.



Regards,

Amiruddin Nagri,
ThoughtWorks Technologies India Pvt. Ltd.,
2nd Floor, Tower C, Diamond District, Airport road,
Bangalore, 560008, KA
India

Y! IM : amir_...@yahoo.com
GTalk : amir....@gmail.com
mifos-report-collectionsheet.patch

Amiruddin Nagri

unread,
Jan 8, 2008, 12:05:26 PM1/8/08
to Developer, mifos-devel...@lists.sourceforge.net, Nandini Yadalam, Pramod Biligiri, mifos-d...@lists.sourceforge.net, Apoorv G Gawde

Hi,

Apologies, I forgot to mention some guidelines for applying the previous patch.

I have tested the given patch using Eclipse by applying on the latest copy of MIFOS from svn. So, it should be good if you use Eclipse to apply the patch.

Also, for caching of some of the parameters in application, I have used spring-modules-cache.jar. I am attaching the same along with this mail. Please copy it to your mifos/lib folder for testing the patch.

If you face any other issue regarding the patch, kindly send a mail. I will try to get back to you as soon as possible.

Regards,
Amiruddin Nagri,
ThoughtWorks Technologies India Pvt. Ltd.,
2nd Floor, Tower C, Diamond District, Airport road,
Bangalore, 560008, KA
India

Y! IM : amir_...@yahoo.com
GTalk : amir....@gmail.com





Amiruddin Nagri <ana...@thoughtworks.com>
Sent by: mifos-devel...@lists.sourceforge.net

01/08/2008 09:54 PM

Please respond to
Developer <mifos-d...@lists.sourceforge.net>

To
mifos-d...@lists.sourceforge.net
cc
Pramod Biligiri <pbi...@thoughtworks.com>, Nandini Yadalam <nyad...@thoughtworks.com>, Apoorv G Gawde <aga...@thoughtworks.com>
Subject
[Mifos-developer] Collection Sheet Report Patch for MIFOS


GTalk : amir....@gmail.com-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

mifos-report-collectionsheet.patch
spring-modules-cache.jar

Keith Pierce

unread,
Jan 8, 2008, 12:34:41 PM1/8/08
to Developer
Amiruddin, thanks for the additional information. For our benefit can you elaborate on your choice of the Spring caching module to implement caching? For example, Hibernate itself provides query caching capabilities, and since your reports access data through Hibernate, that would be a logical candidate. Did your team have a reason to prefer Spring's caching module over Hibernate's, or any of the many other implementations?

Keith

Amiruddin Nagri

unread,
Jan 9, 2008, 6:46:01 AM1/9/08
to Developer, Developer, mifos-devel...@lists.sourceforge.net

Hi Kieth,

In MIFOS, currently HashtableCache Provider is configured to provide caching for Hibernate.

I was reusing some the domain objects in MIFOS for report parameters and was not sure how changing the caching strategy in hibernate for those objects
would affect the rest of the application. Also Hibernate manages the lifecycle of the cache, that is invalidating and repopulating it.
As there was a requirement related to invalidating the cache at mid night and repopulating it, this required to have more control over caching life cycle.
Therefore I had to go with an external caching mechanism, or at least with the one that provided me that control.

I evaluated some of the caching libraries that are available in Java. Out of those, Ehcache had a good documentation and an active community around it.
Spring also addressed the issue of having multiple caching options in java and have come up with an abstraction that allows to cache without being tightly coupled
to a particular caching framework(Atleast that is the idea behind the project, I am still figuring how that will be possible). So ideally, we can change the caching library without
much affect on the rest of the codebase.

This was my understanding when I started on implementing caching in MIFOS. I am still working on caching, and as I get more clarity on the subject, I will glad to share it
with MIFOS community.

Regards,
Amiruddin Nagri,
ThoughtWorks Technologies India Pvt. Ltd.,
2nd Floor, Tower C, Diamond District, Airport road,
Bangalore, 560008, KA
India

Y! IM : amir_...@yahoo.com
GTalk : amir....@gmail.com



"Keith Pierce" <krp...@gmail.com>
Sent by: mifos-devel...@lists.sourceforge.net

01/08/2008 11:04 PM

Please respond to
Developer <mifos-d...@lists.sourceforge.net>

To
Developer <mifos-d...@lists.sourceforge.net>
cc
Subject
Re: [Mifos-developer] Collection Sheet Report Patch for MIFOS


Keith Pierce

unread,
Jan 9, 2008, 9:20:49 AM1/9/08
to Developer
Amiruddin,

Thanks for your thoughtful reply. This background will help a lot as we determine how additional caching mechanisms ought to integrate into MifOS's persistence framework, and continue to develop and refine caching patterns to improve performance.

Keith
Reply all
Reply to author
Forward
0 new messages