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
458 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
482 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
538 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
472 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
554 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
542 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
534 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
600 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
506 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
398 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
436 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
572 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
628 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
480 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
524 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
878 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
592 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
453 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
501 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
445 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
550 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
503 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
654 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
664 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
690 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
789 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
572 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
488 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

...