design-patterns
A seasoned programmer, confused on how to start coding a rails app from scratch
I have been involved with several ruby on rails projects in the past, but I joined in those projects with a completely built rails app, complete with spec tests, factories, models, views, controllers[详细]
2023-04-12 10:15 分类:问答Design Pattern for multithreaded task overall progress report
I have a library with an IJobMaker entity that creates a certain amount of IJob objects to be run on threads of their own managed by the user.[详细]
2023-04-12 09:33 分类:问答Design Pattern, Multi agent system, Robotics
A short description: There is 5 robots, and each robot runs a program named \"Planner\". Each robot has a post, and they must do a task(select it from many tasks) according to that post. the main loo[详细]
2023-04-12 09:15 分类:问答mvc with multiple windows design
I am working on an application and i am using the MVC pattern. Currently my plan is to have an MVC pattern for each window that comes up. For instance, my login window has its own mvc system. Another[详细]
2023-04-12 08:33 分类:问答How Singleton Pattern works in a web scope?
I know how the Singleton pattern works, but I have doubt how it works in a web scope. Is not naturally by request?[详细]
2023-04-12 08:07 分类:问答How to move records in one transaction? Or Producer-Consumer pattern in SQL
Surprisingly can\'t find a match for my question. I have one table that I need to use a source of data to insert to another and then delete whatever has been inserted. This has to be accomplished in b[详细]
2023-04-12 07:24 分类:问答Use of NSSet to hold a list of delegates in Objective C
I am writing a component (e.g. VeryLongJobExecuter) in Objective C. I want this VeryLongJobExecuter to be able to notify other objects (one to many) when its job is finished, and execute a common met[详细]
2023-04-12 05:42 分类:问答Ajax pattern to update javascript chart data?
I\'m using Highchart API to display charts. There are many chart type to display and the idea is let the user choose a chart from a dropdown, make an ajax request and partially update the chart. The g[详细]
2023-04-12 05:01 分类:问答Exception or Return Status for Component that can Process with Errors
I\'m currently designing a system which handles the processing of different types of files. I have defined the following interface[详细]
2023-04-12 03:12 分类:问答Overuse of redefining primitive data types?
My current project code base has every unit and its friend refined. Extract :- ... typedef int m; // meter[详细]
2023-04-12 01:59 分类:问答