Die Suche ergab 64 Treffer

von ayushmaan_jain
18. Jul 2015 12:17
Forum: Archiv
Thema: Hiding the details
Antworten: 13
Zugriffe: 1433

Re: Hiding the details

I am really very Sorry i mean Bridge Pattern :) Well by using the Bridge Pattern you can hide the implementation inside the abstraction .So in this way you can hide the implementation details from the client . I am sorry but it's not making the sense to me why bridge pattern is suited for this desi...
von ayushmaan_jain
18. Jul 2015 12:13
Forum: Archiv
Thema: Hiding the details
Antworten: 13
Zugriffe: 1433

Re: Hiding the details

Why builder? In my opinion, it can be done using Command design pattern where invoker and receiver (3rd party application) are totally decoupled. Command is - DrawImage. Correct me if I am wrong. Maybe you are right, if you could provide more detail then it will be easy for me understand why comman...
von ayushmaan_jain
18. Jul 2015 11:37
Forum: Archiv
Thema: Hiding the details
Antworten: 13
Zugriffe: 1433

Re: Hiding the details

It will be highly appreciable if you could give a explanation of using "builder" pattern for this kind of design problems.
von ayushmaan_jain
18. Jul 2015 10:29
Forum: Archiv
Thema: Hiding the details
Antworten: 13
Zugriffe: 1433

Hiding the details

Hi,

How can I achieve the following scenario :

Let's say I am using any 3rd party library for drawing image.
But I want to hide any class/interface of this 3rd party library from my application's public interface. How can I do this ?

Regards,
SJ
von ayushmaan_jain
18. Jul 2015 10:26
Forum: Archiv
Thema: Strategy,Decorator & Bridge Pattern
Antworten: 2
Zugriffe: 482

Re: Strategy,Decorator & Bridge Pattern

Thanks for clarification.
von ayushmaan_jain
18. Jul 2015 00:15
Forum: Archiv
Thema: Signal in REScala
Antworten: 2
Zugriffe: 391

Re: Signal in REScala

Thanks, I was using wrong one.

Thanks again :)
von ayushmaan_jain
17. Jul 2015 16:43
Forum: Archiv
Thema: Signal in REScala
Antworten: 2
Zugriffe: 391

Signal in REScala

Hi,

I am trying to create a Signal in REScala, but it's giving me error.
See the image below :
von ayushmaan_jain
17. Jul 2015 08:31
Forum: Archiv
Thema: SRP & ISP
Antworten: 3
Zugriffe: 957

SRP & ISP

Hi,

Is there any situation where SRP & ISP go hand in hand ?


Regards,
SJ
von ayushmaan_jain
17. Jul 2015 08:29
Forum: Archiv
Thema: Template Method & DIP
Antworten: 2
Zugriffe: 532

Re: Template Method & DIP

I am looking it from different angle.
Thanks for clearing the doubt :)
von ayushmaan_jain
16. Jul 2015 21:24
Forum: Archiv
Thema: Template Method & DIP
Antworten: 2
Zugriffe: 532

Template Method & DIP

Hi All,

I am confused if Template violates or honours DIP ?
Could anyone please help me on this ?



Regards,
SJ
von ayushmaan_jain
11. Jul 2015 09:27
Forum: Archiv
Thema: Strategy,Decorator & Bridge Pattern
Antworten: 2
Zugriffe: 482

Strategy,Decorator & Bridge Pattern

It is said that Strategy pattern is used to change run time behaviour of an object. Example : Changing a weapon in some battle game. And Bridge pattern is used where abstraction is separated from its implementation so that both can vary independently. Example : JDBC API, here I choose DB vendor at o...
von ayushmaan_jain
11. Jul 2015 09:04
Forum: Archiv
Thema: Proxy Pattern & LSP
Antworten: 2
Zugriffe: 488

Re: Proxy Pattern & LSP

Thanks for clarification
von ayushmaan_jain
10. Jul 2015 12:21
Forum: Archiv
Thema: More than one Template Method in Template Method Pattern
Antworten: 2
Zugriffe: 512

Re: More than one Template Method in Template Method Pattern

I don't see any problem with that Example : You want to build a house with lighting. So this could be one of possible solution For house : First get land, then build walls, then roof then lighting system Let's say steps for lighting system are : Wire fitting, Connections with bulb So abstract class ...
von ayushmaan_jain
9. Jul 2015 19:50
Forum: Archiv
Thema: Reflections on the Visitor Structure
Antworten: 5
Zugriffe: 587

Re: Reflections on the Visitor Structure

Thanks for refining the code :)
von ayushmaan_jain
9. Jul 2015 19:03
Forum: Archiv
Thema: Reflections on the Visitor Structure
Antworten: 5
Zugriffe: 587

Re: Reflections on the Visitor Structure

In short, Some mainstream languages(e.g.) don't support double dispatch, thats why function is not up there in hierarchy.

Zur erweiterten Suche