![]() William say also that is important first to write the code without the AOP advice action in field, and than apply this action of the code already working, to apply other functionality. But really I had read wath sustain Vigil Bose: the potential of AOP is significant, and it potential is not be relegate only to managing of logging, exception, etc.but it must be used also in al the situation to improve the quality of the software, regarding the readability, elegance, and obviously to separate the concerns. Example of this concept is the logging problem or the exception managing problem. ![]() So, during my studies I had always read that AOP is usefull when is necessary to model a cross-concern, to alleviate (as say William Louth), and evitate to write some boilerplate code in all the class that we intended to proxy. AOP lets me calculate timing and print data to log files without actually modifying any of these functions. I'd like to do some logging and profiling on a bunch of functions in my program during its actual usage. So a question is come into my brain, relatively AOP. AOP comes to the rescue before each function is called, I do the appropriate session checking and redirect if necessary. I'have read with interesting this article, and also the post comment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |