design-patterns
Implementation differences between MVP Passive View and Supervising Controller for collections
I\'ve started to wrap my head around the whole MVP pattern and despite I\'m doing fine with single objects it starts getting difficult when it comes to collections.[详细]
2023-04-09 20:45 分类:问答Class function that creates an instance of itself in Delphi
Can you have a class function that creates an instance of a class: TMyClass = class(TSomeParent) public[详细]
2023-04-09 19:04 分类:问答Is singleton stateful?
Hi I got this asked in a开发者_C百科n interview question paper. Singleton and Prototype (non-singleton) which is stateful and which is stateless[详细]
2023-04-09 16:01 分类:问答How should I use multiple UIViews to represent areas on screen?
I am building an ipad app that has two basic regions on the screen: A dock on the left hand side contains \"things\" that you can drag onto the right side[详细]
2023-04-09 14:36 分类:问答Programmatically implementing callbacks with JS/jQuery
So, I\'m writing a web app. Pretty much everything is done client-side, the server is but a RESTful interface. I\'m using jQuery as my framework of choice and implementing my code in a Revealing Modul[详细]
2023-04-09 10:24 分类:问答Using composition
I\'m trying to use a custom class to override a method in its super class using composition. Below is the code im trying, in the class \"Bar\" what object calls the method doSomethingElse() ? This is[详细]
2023-04-09 05:53 分类:问答Design pattern import files alters behaviour
I am developing an applica开发者_开发问答tion where the program can do a number of operations. It relies on a XML file being imported and DB connection established. However, some of the functions can[详细]
2023-04-09 03:23 分类:问答Pattern design for a WebService Client
I\'m making an android application that will contact with a WebServices that exists already. I\'m looking for a pattern to create the client part (Andro开发者_运维知识库id application). Since the web[详细]
2023-04-09 02:15 分类:问答Best way to design shopping cart domain model on C#?
Google can`t help me. I find only this link: http://flylib.com/books/en/2.522.1.56/1/ So, once there is the question - why开发者_StackOverflow中文版 do we need divide Product and Item?Product is too[详细]
2023-04-09 02:04 分类:问答In JavaScript, what is the advantage of !function(){}() over (function () {})()? [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: What does the exclamation mark do before the function?[详细]
2023-04-08 21:03 分类:问答