tag:blogger.com,1999:blog-14570545.post113862244924667014..comments2023-10-03T14:02:23.078+02:00Comments on Thoughts and Fragments: A case for SpecificationsSergio Bossahttp://www.blogger.com/profile/09315991044338298083noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-14570545.post-1145004593903918322006-04-14T10:49:00.000+02:002006-04-14T10:49:00.000+02:00Alan Liu said ...> Could the rising rule engines ...Alan Liu said ...<BR/><BR/>> Could the rising rule engines add some points to the Specification pattern?<BR/><BR/>Hi Alan,<BR/><BR/>your proposal is interesting, but I think Rule Engines may introduce a lot of complexity.<BR/>You can read my response here:<BR/><BR/>http://groups.yahoo.com/group/domaindrivendesign/message/3674<BR/><BR/>However, as soon as I'll find some time I'll try to implementAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-14570545.post-1144982892198446922006-04-14T04:48:00.000+02:002006-04-14T04:48:00.000+02:00Could the rising rule engines add some points to t...Could the rising rule engines add some points to the Specification pattern? Instead of coding the logic in the ExceedDaysSpecification.isValid(), the method could delegate the calculation to rule engine. This way, users can configure the logic in a natural language manner like "if remaining is less than requested, then false." without engineers modify the source code.<BR/><BR/>Having singled out Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-14570545.post-1140285709617165722006-02-18T19:01:00.000+01:002006-02-18T19:01:00.000+01:00Roni Burd said... > from where I obtain the > spec...Roni Burd said... <BR/><BR/>> from where I obtain the <BR/>> specification (diffrent employee <BR/>> hierarchy??)<BR/><BR/>Specifications can be created on the fly just when you need them.<BR/>The actual specification type can be defined at runtime, i.e. via dependency injection.<BR/><BR/>Regards,<BR/><BR/>Sergio B.Sergio Bossahttps://www.blogger.com/profile/09315991044338298083noreply@blogger.comtag:blogger.com,1999:blog-14570545.post-1140217028207177392006-02-17T23:57:00.000+01:002006-02-17T23:57:00.000+01:00I think this is a good example of how to use speci...I think this is a good example of how to use specificaction. The only thing I believe is missing is how to actually use the specifcation pattern, and I mean not just a line of code like ExceedLimitSpecification.isValid(request) but something more meaningful like from where I obtain the specification (diffrent employee hierarchy??).Roni & Cindyhttps://www.blogger.com/profile/11442220403217805641noreply@blogger.com