Advice Definition & Meaning

In computing, advice triggers a new behavior or action in existing code in aspect-oriented programming, allowing users to add another procedure without changing the rest of the code. Aspect-oriented programming (AOP) separates code into modules called concerns, helping differentiate types of code. Abstractions (or functions) group these concerns together. But some concerns cross into different categories of code and are known as cross-cutting concerns. Cross-cutting concerns are often caused by security procedure updates and changes.

Aspect-oriented programming

Aspect-oriented programming allows programming to develop dynamically according to the demand for new code. AOP groups cross-cutting code into aspects

Typically, aspects are interwoven messily within the code, meaning they aren t easily packaged and individually updated. The program has to continue functioning properly if code needs to be updated or changed. AOP allows programmers to add new functions (often security related) while making sure that the existing code continues to behave the same. AOP does this through pointcuts and advice.

Within an aspect, pointcuts mark a specific place in the program where a new function needs to be added. At the pointcut, advice is applied. Advice necessitates a new action to add to the program and can also be copied to every similar pointcut in the program (rather than being applied manually in each location). Advice allows a new procedure to act on the code without changing the rest of the program s behavior. Often, programmers use advice when adding new security procedures or modifying login processes to the system.

Jenna Phipps
Jenna Phipps
Jenna Phipps is a contributor for websites such as Webopedia.com and Enterprise Storage Forum. She writes about information technology security, networking, and data storage. Jenna lives in Nashville, TN.

Top Articles

Huge List Of Texting and Online Chat Abbreviations

From A3 to ZZZ we list 1,559 text message and online chat abbreviations to help you translate and understand today's texting lingo. Includes Top...

How To Create A Desktop Shortcut To A Website

This Webopedia guide will show you how to create a desktop shortcut to a website using Firefox, Chrome or Internet Explorer (IE). Creating a desktop...

The History Of Windows Operating Systems

Microsoft Windows is a family of operating systems. We look at the history of Microsoft's Windows operating systems (Windows OS) from 1985 to present...

Hotmail [Outlook] Email Accounts

  By Vangie Beal Hotmail is one of the first public webmail services that can be accessed from any web browser. Prior to Hotmail and its...

Relational Database Definition &...

A relational database stores and connects data in tables and columns, emphasizing the...

Common Business-Oriented Language (COBOL)...

What is COBOL? COBOL stands for Common Business-Oriented Language. It is a 60-year-old programming...

Shared Hosting Definition &...

Shared hosting is a web hosting model in which multiple sites occupy the...