use-case

Is TIME an actor in a use case?

那年仲夏 提交于 2019-11-29 01:36:17
问题 Alright, on a true false question: a)The actors of a system are only represented by humans or another software components. I said TRUE, and the teacher marked it as wrong, not because he considered that I missed hardware components (which I guess I would partially concede), but because, on his words: "TIME is also an actor." How would an use case diagram consider TIME as an actor?? Please refer to any bibliography which considers time an actor. I haven't found any, and truthfully I don't

When to use Android PopupWindow vs Dialog

这一生的挚爱 提交于 2019-11-29 01:04:54
I'm unclear about when to use PopupWindow vs Dialog. Any insight would be much appreciated. Thanks. They both use the addView() method along with various windowManager methods. The two are similar in that regard. Dialogs seem to come with more built-in features for interaction, such as handlers and buttons already included in the base class, while PopupWindows come with more built-in methods for positioning them about the screen. I think that each of them can do exactly the same as the other, but choosing between the two will be a matter of convenience to the programmer with regards to how you

What are the possible AOP use cases?

假装没事ソ 提交于 2019-11-28 16:58:21
问题 I'd like to make a picture of what are the possible cases for effective involvement of AOP in application design. All I have met so far is: logging-related security checks transaction management tweaking of a legacy application Anything else? (It doesn't have to be necessarily Spring's proxy based AOP - rather JBoss AOP.) (Related question) 回答1: I can give you two examples where we use it: Automatically registering objects in JMX for remote management. If a class is annotated with our

Single Responsibility Principle in Clean Architecture, Aggregating UseCases in one UseCaseManager which can provide UseCase based on In & Out Object.

╄→尐↘猪︶ㄣ 提交于 2019-11-28 08:49:22
问题 I want to implement Single Responsibility principle in my projects Domain layer (Clean MVVM). I've approx. 200 different use-cases which are being very hectic to manage. Now I'm thinking to create one UseCaseManager which can provide me required UseCase based on Input & Output Object. I've tried an approach but that's not looking very good.I'm mentioning some sample code, Please help me how can I aggregate all the UseCases to one UseCaseManager. UseCase1: public class ActualUseCase1 extends

Use-case of `oneway void` in Objective-C?

馋奶兔 提交于 2019-11-28 02:54:34
I found a strange keyword in NSObject.h - (oneway void)release; I searched the web, and learned it relates to asynchronous message passing, which looks similar with Erlang's message passing. It seems this can make many interesting things. What are some good use-cases of this keyword? ughoavgfhw oneway is used with the distributed objects API, which allows use of objective-c objects between different threads or applications. It tells the system that it should not block the calling thread until the method returns. Without it, the caller will block, even though the method's return type is void.

Is it necessary to include the login for every usecase?

谁说我不能喝 提交于 2019-11-27 05:39:32
iam going to design a system that has a login facility. After login the logged user can do several things so is it needs to include login usecase by that several usecases. In most cases, it will only clutter up your diagrams. Login is neither complex nor does it give you much added value as a use case. In your textual document that includes the use cases with description, include as a prerequisite a list of features that require a successful login. Easier to track and to test. 来源: https://stackoverflow.com/questions/19443682/is-it-necessary-to-include-the-login-for-every-usecase

NoSQL Use Case Scenarios or WHEN to use NoSQL [closed]

流过昼夜 提交于 2019-11-26 23:26:24
With all the hype it seems really hard to find reliable information on when to use this. So I pose the following questions, and I'm sorry if these are really dumb questions in advance: Should I use NoSQL for user data? E.g. profiles, usernames + passwords, etc. Should I use NoSQL for important content? E.g. articles, blog posts, product inventory, etc. I'm assuming no? And I feel like NoSQL is just for quickly accessible things from which it's OK to lose data. But I also read that NoSQL apps have built-in redundancy so that I don't lose data? Also if the above 2 examples are bad, could you

Common use-cases for pickle in Python

只愿长相守 提交于 2019-11-26 17:55:52
问题 I've looked at the pickle documentation, but I don't understand where pickle is useful. What are some common use-cases for pickle? 回答1: Some uses that I have come across: 1) saving a program's state data to disk so that it can carry on where it left off when restarted (persistence) 2) sending python data over a TCP connection in a multi-core or distributed system (marshalling) 3) storing python objects in a database 4) converting an arbitrary python object to a string so that it can be used

Good use case for Akka [closed]

给你一囗甜甜゛ 提交于 2019-11-26 15:34:09
I have heard lots of raving about Akka framework (Java/Scala service platform), but so far have not seen many actual examples of use cases it would be good for. So I would be interested in hearing about things developers have used it succesfully. Only one limitation: please do not include case of writing a chat server. (why? since this has been overused as an example for lots of similar things) I have used it so far in two real projects very successfully. both are in the near real-time traffic information field (traffic as in cars on highways), distributed over several nodes, integrating

Is it necessary to include the login for every usecase?

て烟熏妆下的殇ゞ 提交于 2019-11-26 11:39:58
问题 iam going to design a system that has a login facility. After login the logged user can do several things so is it needs to include login usecase by that several usecases. 回答1: In most cases, it will only clutter up your diagrams. Login is neither complex nor does it give you much added value as a use case. In your textual document that includes the use cases with description, include as a prerequisite a list of features that require a successful login. Easier to track and to test. 来源: https: