Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
DELETE
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="RastaLulz" data-source="post: 434242" data-attributes="member: 1"><p>What does a "service" mean to you? If your service is making direct queries to the same database as all of you other services, that seems rather tightly coupled, which goes against the idea of service-oriented architecture. The class that you have above looks like a rather generic model.</p><p></p><p>As for static's, I don't see a problem with using them so long as the method doesn't have any state associated to it (e.g. data in, data out).</p></blockquote><p></p>
[QUOTE="RastaLulz, post: 434242, member: 1"] What does a "service" mean to you? If your service is making direct queries to the same database as all of you other services, that seems rather tightly coupled, which goes against the idea of service-oriented architecture. The class that you have above looks like a rather generic model. As for static's, I don't see a problem with using them so long as the method doesn't have any state associated to it (e.g. data in, data out). [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
DELETE
Top