Turning a thin client into a thin-rich client with two lines of code...
posted 12 years ago
Hi, guys. I am currently into some thinking about the nature of the extensibility point in the instructions. It seems to me that not exposing data logic to the client makes the application simpler, but what about the business logic? Here, I think, not exposing it to the client makes the client less extensible. But at the same time, I'd like to be able to easily rob the client of this extensibility for the current purposes. What's the solution? I introduced two variables in my BusinessRules class which turn server side and client side bookability checking and exact search on and off. It's boolean variables, so they turn functionality at client off and the server on, and vice versa. Since the application in each mode has all the classes available to it, I thought I would use the BusinessRules class in both the server and the client code.
Any advice? [ September 27, 2004: Message edited by: Anton Golovin ]
Anton Golovin (firstname.lastname@example.org) SCJP, SCJD, SCBCD, SCWCD, OCEJWSD, SCEA/OCMJEA [JEE certs from Sun/Oracle]
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads