abstraction
Design issue: RMI needs explicit exporting of objects
I have two applications communicating via RMI, a slave server (of which there will be multiple) and a master server.[详细]
2023-01-16 19:04 分类:问答How to design an OpenGL DirectX "Abstraction Layer"
I was reading about creating graphics \"abstraction layers\" to make it convenient to switch between graphics platforms. Unfortunately, I have not been able to find much detail about the subject. Is t[详细]
2023-01-16 08:39 分类:问答What does "data abstraction" exactly mean?
What does data abstraction refer to? Please provide real life examples alongwith开发者_运维知识库.Abstraction has two parts:[详细]
2023-01-14 22:00 分类:问答How to get the name of the calling class (in PHP)
define(\'anActionType\', 1); $actionTypes = array(anActionType => \'anActionType\'); class core { public $callbacks = array();[详细]
2023-01-14 16:38 分类:问答Best Practice to abstract ActiveRecord model queries in Rails?
I\'d like to extract out logic from the controllers to somewhere that it can be more DRY.What\'s the best way of handling something like the following in Rails?[详细]
2023-01-13 12:56 分类:问答How should I restructure a large Perl script?
I have a more or less large Perl script of ~ 1000 lines. The script accepts a few arguments and it runs straight forw开发者_开发百科ard. No modules, no functions. The script could be divided into thre[详细]
2023-01-13 10:13 分类:问答Would having x number of UPDATE queries in a MySQL transaction be worse or about the same as putting them into one UPDATE query?
This may be a silly question with an obvious answer, but I\'ve pondered it for quite some time and can\'t really come up with a good answer on my own.[详细]
2023-01-11 06:13 分类:问答Where should I place text that I'm trying to abstract in my CakePHP application?
I am writing a CakePHP application and am trying to have tex开发者_JAVA技巧t that is frequently displayed (or particularly long) saved in a config file somewhere that we can easily edit it.[详细]
2023-01-11 04:22 分类:问答Hiding constructors of data type
When importing some data type, it is necessary to put (..) for constructors to be imported. Is it possible to prevent exporting constructors of some data type, even when that data type is expor开发者[详细]
2023-01-10 15:50 分类:问答Utilizing UI abstraction
When utilizing a UI abstraction, then the data you\'re displaying is protected from implementation changes in the UI layer. Does/should/can this extend to higher-level things, like for example, displa[详细]
2023-01-10 03:27 分类:问答