Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged design

0 votes
455 views
1 answer
    I am implementing some rudimentary reflection in C++ for an ultra modular architecture where virtually all features are ... (new TYPE_NAME); } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
478 views
1 answer
    I'm in the process of learning to use the decorator pattern, and I ran into a problem which I reckon ... I would greatly appreciate it. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
536 views
1 answer
    From what I have read, the abstract factory pattern typically concerns itself with creating several objects which ... creating a single object? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
468 views
1 answer
    From Design Pattern by GoF: An object reference representing a part-of or aggregation relationship is indicated ... referencing object B? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
550 views
1 answer
    For a PHP MVC application, what is the difference of the job of the index.php file and front-controller? Is ... .php and the front-controller. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
538 views
1 answer
    What is your threshold to use factory instead of a constructor to create an object? You always use factory. You ... in the domain model. Thanks See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
531 views
1 answer
    Martin Fowler's Refactoring discusses creating Null Objects to avoid lots of if (myObject == null) tests. What is the ... { return true; } } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
597 views
1 answer
    Are there any design patterns/methods/ways to remove nested if then else conditions/switch statements? I remember ... to find it now though See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
503 views
1 answer
    I wanted to understand the overall architecture for designing single page application (mainly through JavaScript) Let's ... such kind of page? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
395 views
1 answer
    Java 9 is near to come and more features will be added to Java interfaces, like private methods. default methods ... using this kind of methods? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
431 views
1 answer
    I'm in the process of learning to use the decorator pattern, and I ran into a problem which I reckon ... I would greatly appreciate it. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
566 views
1 answer
    I am reading "Effective Java" by Joshua Bloch, item 39 make defensive copy, and I have some questions. I always ... to use a shortcut or not? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
625 views
1 answer
    Is there a way to avoid circular dependencies, other than mixing modules, in a arrangement like this(it is a ... but because they are evil. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
477 views
1 answer
    Here's my problem: It's first important to know that I'm writing a simulation. This is a standalone ... stay away from custom scopes. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
521 views
1 answer
    We all know about log, ok, but why should we consider the ?Logger? class a singleton one? What happens if ... as a normal non-singleton class? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
874 views
1 answer
    I am taking over an existing PHP project. I noticed that the previous developer uses a one index.php ... before making the suggestion. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
589 views
1 answer
    Why would you ever use an interface if you are only going to have one implementation of it? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
448 views
1 answer
    I have a system that creates an order and that order can be billed to a house account, sent Cash on Delivery ... a record for the billing data? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
499 views
1 answer
    I can imagine many ways of implemeting search features in an ASP.NET MVC application but since I can't find much ... with ASP.NET MVC? Ideas? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
442 views
1 answer
    I'm wondering where logging code should go. For example, should my repository log it's own errors? Or should ... to a good article or somesuch. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
549 views
1 answer
    When would a singleton actually be easier or better than a static class? It seems to me creating a singleton is ... wouldn't be used, obviously. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
500 views
1 answer
    I'm interested in perceived "best practice", tempered with a little dose of reality here. In a web ... ? Thoughts please. Regards Marty See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
651 views
1 answer
    Suppose I have a view implemented as a DataTempate inside a resource Dictionary. And I have a corresponding ... -everywhere.aspx Thanks Ariel See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
661 views
1 answer
    I am looking for a concise way to check a value to see if it is nil or zero. Currently I am doing ... zero end But this seems very clumsy. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
686 views
1 answer
    I am reading the Effective Java by Joshua Bloch and I have question about Item1 Static Factory Method. Quote[ ... /util/Collection.java?av=f See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
786 views
1 answer
    I've just started a new project in which the presentation layer will be done by WPF and MVVM Light by GalaSoft ... with the MVVM Light toolkit? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
568 views
1 answer
    I have 2 solutions for the same problem - to make some kind of callbacks from one "controller" to the used object ... and what is better to use? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
484 views
1 answer
    I'm re-factoring some inherited code, but was stumped by the design decision and can't figure out the proper ... m just curious at this point. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...