Questions tagged [cross-cutting-concerns]

Cross-cutting concerns are functions of a program which affect other functions. Since they cannot be completely modularized in both the design and implementation, the resulting code will either be scattered throughout different modules that generate necessary data or tied to specific modules that perform dependent operations. Logging changes to the a database is an example of a cross-cutting concern since it involves checking and updating multiple tables.

65 questions
0
votes
1 answer

iOS Cross Cutting Concerns

I have a Swift application i'm working on that allows a user to save various settings about their profile. Throughout my code, there are times where knowing these settings/preferences are important for the application's business logic. One of them…
NullHypothesis
  • 4,286
  • 6
  • 37
  • 79
0
votes
2 answers

How can I hide ugly implementation details (i.e. try/catch blocks)?

I am adding exception handling to my PHP code. It seems that I end up with lots of sparse blocks that do exception handling and by their sheer bulkiness hide the actual production code that is being run. For example: function loadProduct($id) { …
Dennis
  • 7,907
  • 11
  • 65
  • 115
0
votes
1 answer

Can I use mvc filter attributes in webforms?

I want to handle AOP aka cross cutting concerns with attributes ala MVC. Do I have to use an AOP framework or something like Ninject which has an interception plugin?
ton.yeung
  • 4,793
  • 6
  • 41
  • 72
-1
votes
2 answers

Using MVVM architecture. what is the best way to address cross cutting concerns?

Using MVVM architecture in android, what is the best way to address cross cutting concerns. E.g. Showing a login screen if required even when screen wake up, having been in background for a long time. Handling error from server. Check if…
Dino
  • 1
  • 1
-2
votes
1 answer

.NET CORE - DDD + CrossCutting + External API

I am developing a .NET Core project using the DDD, IoC, CrossCutting. The CrossCutting.IoC project, the responsible for register the project dependencies and performing the inversion of control function and this project has the reference of the…
1 2 3 4
5