Which design patterns

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Which design patterns

Jambodev
Hi All
I was wondering if someone could give me some information about which  
design patterns have been used in quantlib and how frequently so, and  
perhaps in which modules or part of it.

I appreciate any hint or direction in this regard.
Kind regards



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: Which design patterns

Kim Kuen Tang

Hi Jambodev,

here is a blog about the complexity of quantlib.

http://www.wilmott.com/messageview.cfm?catid=10&threadid=73513

HTH
Best regards,
Kim



Jambodev schrieb:

> Hi All
> I was wondering if someone could give me some information about which  
> design patterns have been used in quantlib and how frequently so, and  
> perhaps in which modules or part of it.
>
> I appreciate any hint or direction in this regard.
> Kind regards
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> QuantLib-dev mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>
>  


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: Which design patterns

Jambodev
Hi kim,
I followed that thread but it didn't say anything about the paticular  
question that I asked. Or did I miss something?
Perhaps someone can give a more specific answer to this question?




On 17 Oct 2009, at 15:18, Kim Kuen Tang <[hidden email]> wrote:

>
> Hi Jambodev,
>
> here is a blog about the complexity of quantlib.
>
> http://www.wilmott.com/messageview.cfm?catid=10&threadid=73513
>
> HTH
> Best regards,
> Kim
>
>
>
> Jambodev schrieb:
>> Hi All
>> I was wondering if someone could give me some information about  
>> which  design patterns have been used in quantlib and how  
>> frequently so, and  perhaps in which modules or part of it.
>>
>> I appreciate any hint or direction in this regard.
>> Kind regards
>>
>>
>>
>> ---
>> ---
>> ---
>> ---------------------------------------------------------------------
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart  
>> your
>> developing skills, take BlackBerry mobile applications to market  
>> and stay ahead of the curve. Join us from November 9 - 12, 2009.  
>> Register now!
>> http://p.sf.net/sfu/devconference
>> _______________________________________________
>> QuantLib-dev mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>>
>>
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: Which design patterns

Kim Kuen Tang
Jambodev schrieb:
> Hi kim,
> I followed that thread but it didn't say anything about the paticular
> question that I asked. Or did I miss something?
Sorry,

send you the link about the discussion of the complexity of quantlib.
Here is the link of the blog.

http://cppdepend.wordpress.com/2009/10/08/is-quantlib-over-engineered/

Just go down until the section about Design Patterns used.

HTH

Best regards,
Kim

> Perhaps someone can give a more specific answer to this question?
>
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: Which design patterns

Dimathematician
I think the most frequently used are:

- Singleton
- Observer/Observable
- Visitor
- Factory
- Lazy Object
- Pimpl

They are used throughout the project, just do a search in the
source code


2009/10/17 Kim Kuen Tang <[hidden email]>
Jambodev schrieb:
> Hi kim,
> I followed that thread but it didn't say anything about the paticular
> question that I asked. Or did I miss something?
Sorry,

send you the link about the discussion of the complexity of quantlib.
Here is the link of the blog.

http://cppdepend.wordpress.com/2009/10/08/is-quantlib-over-engineered/

Just go down until the section about Design Patterns used.

HTH

Best regards,
Kim

> Perhaps someone can give a more specific answer to this question?
>
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: Which design patterns

Constantine-8
In reply to this post by Kim Kuen Tang
Jambodev,

The draft book about implementing QuantLib by Luigi Ballabio will also
provide you with answers to this question.

You can find the chapters here: http://luigi.ballabio.googlepages.com/qlbook.

Constantine


On Sat, Oct 17, 2009 at 3:17 PM, Kim Kuen Tang <[hidden email]> wrote:

> Jambodev schrieb:
>> Hi kim,
>> I followed that thread but it didn't say anything about the paticular
>> question that I asked. Or did I miss something?
> Sorry,
>
> send you the link about the discussion of the complexity of quantlib.
> Here is the link of the blog.
>
> http://cppdepend.wordpress.com/2009/10/08/is-quantlib-over-engineered/
>
> Just go down until the section about Design Patterns used.
>
> HTH
>
> Best regards,
> Kim
>
>> Perhaps someone can give a more specific answer to this question?
>>
>>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> QuantLib-dev mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: Which design patterns

Jambodev
In reply to this post by Dimathematician
Dima,
Thank you.



On 18 Oct 2009, at 14:32, Dima <[hidden email]> wrote:

I think the most frequently used are:

- Singleton
- Observer/Observable
- Visitor
- Factory
- Lazy Object
- Pimpl

They are used throughout the project, just do a search in the
source code


2009/10/17 Kim Kuen Tang <[hidden email]>
Jambodev schrieb:
> Hi kim,
> I followed that thread but it didn't say anything about the paticular
> question that I asked. Or did I miss something?
Sorry,

send you the link about the discussion of the complexity of quantlib.
Here is the link of the blog.

http://cppdepend.wordpress.com/2009/10/08/is-quantlib-over-engineered/

Just go down until the section about Design Patterns used.

HTH

Best regards,
Kim

> Perhaps someone can give a more specific answer to this question?
>
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: Which design patterns

Jambodev
In reply to this post by Constantine-8
Constantine
Will look at these and source code.
Thanks



On 18 Oct 2009, at 14:48, Constantine <[hidden email]>  
wrote:

> Jambodev,
>
> The draft book about implementing QuantLib by Luigi Ballabio will also
> provide you with answers to this question.
>
> You can find the chapters here: http://luigi.ballabio.googlepages.com/qlbook 
> .
>
> Constantine
>
>
> On Sat, Oct 17, 2009 at 3:17 PM, Kim Kuen Tang  
> <[hidden email]> wrote:
>> Jambodev schrieb:
>>> Hi kim,
>>> I followed that thread but it didn't say anything about the  
>>> paticular
>>> question that I asked. Or did I miss something?
>> Sorry,
>>
>> send you the link about the discussion of the complexity of quantlib.
>> Here is the link of the blog.
>>
>> http://cppdepend.wordpress.com/2009/10/08/is-quantlib-over- 
>> engineered/
>>
>> Just go down until the section about Design Patterns used.
>>
>> HTH
>>
>> Best regards,
>> Kim
>>
>>> Perhaps someone can give a more specific answer to this question?
>>>
>>>
>>
>> ---
>> ---
>> ---
>> ---------------------------------------------------------------------
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart  
>> your
>> developing skills, take BlackBerry mobile applications to market  
>> and stay
>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> http://p.sf.net/sfu/devconference
>> _______________________________________________
>> QuantLib-dev mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev