Reputation
511
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
4 9
Newest
 Yearling
Impact
~10k people reached

  • 0 posts edited
  • 0 helpful flags
  • 12 votes cast
Feb
8
comment Sharing identical events, with differing scopes, between client and server libraries, in a micro-service architecture
By scope, I don't mean who's listening, or even who's capable of listenening - which may not be possible if the event fires on a different server. What I mean by scope is when (under what condition) does the event fire? If, by definition, an event fires when any user is created, is that the same event as one that fires only when some users are created? Of course, yes, events are broadcast, so by definition we don't (shouldn't) know if anybody is listening - but we're actually talking about what gets broadcast, not to whom, right?
Feb
8
comment Sharing identical events, with differing scopes, between client and server libraries, in a micro-service architecture
I still have no answer to this. I guess the question really boils down to: what defines an event? Is it defined only by the shape and payload of the event itself, or is it also defined by it's scope, even if a change in scope produces no tangible difference in terms of shape or payload?
Feb
8
revised Sharing identical events, with differing scopes, between client and server libraries, in a micro-service architecture
added 175 characters in body
Feb
5
comment How can I design a model layer without ORM, and when should I use it?
"ORMs are undoubtedly a clever bit of kit, but so is SQL" - this sounds like precisely the reason for Pomm, which tries to strike a balance, by abstracting only the "hard parts", while allowing you all the expressiveness of SQL. If only there were something like this for MySQL.
Dec
15
comment Terminology: abstraction vs models
@gnat I read the accepted response to that question, and it resounds with my understanding of abstraction. But it doesn't resolve my question. In a nutshell, what is the difference between a model and an abstraction? Is one a superset of the other?
Dec
15
comment Terminology: abstraction vs models
Does a model have to model a real-world entity? In this case, my domain is SQL, so the entities I'm modeling are Query, Condition, Join, etc. - even if those are already abstract entities (translating to an execution plan against physical data on a disk at a lower level) in terms of the domain I'm modeling, those are my entities, is that correct?
Dec
15
asked Sharing identical events, with differing scopes, between client and server libraries, in a micro-service architecture
Dec
13
asked Terminology: abstraction vs models
Nov
14
asked Do the terms “unit test” and “integration test” sometimes overlap or conflict?
Nov
5
awarded  Yearling
Nov
3
awarded  Notable Question
Nov
3
awarded  Critic
Nov
3
answered Inheritance when following the Repository Pattern in PHP
Nov
3
comment Are (database) integration tests bad?
@PaulK still pondering which answer to mark as accepted, but I'm leaning towards the same conclusion.
Nov
3
revised Are (database) integration tests bad?
added 68 characters in body
Nov
3
awarded  Good Question
Nov
3
awarded  Popular Question
Nov
2
comment Are (database) integration tests bad?
I get your point, but I think this used to be more true than it is today? With automation and tools (like Docker) you actually can replicate and repeat the setup of all your binary/server dependencies accurately and reliably for integration test-suites. Of course, yes, physical hardware (and third-party services etc.) can fail.
Nov
2
comment Are (database) integration tests bad?
@el.pescado the query is there only to illustrate the dependency on a DB connection - I have clarified this above.
Nov
2
revised Are (database) integration tests bad?
clarified example