Difficult concurrent design
By : user1702027
Date : March 29 2020, 07:55 AM
it helps some times To avoid the deletion of 'target', I had to write a thread safe reference counted smart pointer. It is not that hard to do. The only thing you need to ensure is that the reference count is accessed within a critical section. See this post for more information.
|
Why do people design EJB2 which is difficult to write and deploy?
By : bryan
Date : March 29 2020, 07:55 AM
wish helps you The complexity of EJB2 needs more programmer human resource. So EJB2 is good for programmer employment rate. This is a reason for EJB2 survive:)
|
Confused whether using the correct database design concept will make it difficult to design PHP login system
By : mboehlke
Date : March 29 2020, 07:55 AM
this one helps. So you have three different types of users, and you want to impress your teacher by not merely using one table. A good schema would be: code :
email
phone_number
address
|
Rest 'guidelines' make the API design difficult
By : user3212062
Date : March 29 2020, 07:55 AM
Hope this helps I am trying to create an API for my Rest services and i am struggling with the design rules that i try to follow. In generally i am trying to follow (among others) these guidelines: , A URL consists of several parts: code :
http://example.com/company/departments/12345?arg1=this&arg2=that
|
Methods, Interfaces, Reflection and a difficult OOP design
By : user3752030
Date : March 29 2020, 07:55 AM
To fix the issue you can do Robin - I'm assuming that you are doing this with an eye toward offering a "generic" interface to these objects for your users. I did something similar in an earlier project and documented the UI that I ended up with in an answer I posted earlier.To answer your specific question, you should be a bit careful here as you might be entering Architecture Astronaut territory (not a good thing). If the interfaces for each of your objects don't naturally overlap, forcing them to share a conceptual interface via odd machinations will just end up confusing your users. You can solve this problem by implementing Interfaces that call the "closest enough" function for very broad conceptual categories (e.g. files and applications are both "Opened" but the result is different for each). You can also use reflection to discover more about your objects at the point where you need to display the options available. Thus, you can do it. The question is, should you do it?
|