Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Equivalent to eval()
Message
From
29/03/2010 17:00:02
 
 
To
29/03/2010 16:50:29
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01457734
Message ID:
01457952
Views:
37
>Fair enough. Whereas people working with artificial intelligence or anything that includes the concept of "learning" might tell you that run-time evaluations/conditionals are essential. Even if you can achieve it mostly using standard sql.

The approach I am using is not perfect however. By that, I mean that it doesn't cover it all. So, in the very last case, there could be, and there is, situations where I have been forced to use the Reflection approach. One of them was when the client wanted to be able to customize the logic for several button operations. So, based on this approach, this has led us to build the application, for that particular request, to evaluate a method to be executed. So, the method name comes from the table. As it is not known in the code, we had to use Reflection to evaluate all that and execute it.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform