OOP: Abstract Classes vs Interfaces

Please see my other Web Development articles. Knowing How to Leverage Abstractions Topic Abstract classes Interfaces Implementation details: Some members (methods). No. Fields: Yes No. Inherit from: Abstract class, interface Interface only. Members can have access modifiers: Yes. Abstract members private by default. No. Interface members public by default. Implementation Details: Abstract Classes As illustrated…

OOP: Polymorphism

Please see my other Web Development articles. Leveraging the power of Object-Oriented Programming with Polymorphism Related to inheritance, polymorphism illustrates a powerful advantage OOP over procedural programming. It allows classes created to standardize attributes and behaviors, or provide a consistent interface for objects to later use when instantiated. The example below demonstrates a common scenario…

Model-View-Controller (MVC)

Please see my other Web articles. MODEL-VIEW-CONTROLLER (MVC) 4 Accessing Form Values ADO.NET Entity Data Model Action Methods using GET & POST Action Methods with Parameters Bundles Displaying Data Source Records Providing an Input Form Using CSS Classes with Textboxes C.R.U.D. Operations Class Diagram – Building a Class ContentResult Customized Grid Custom Model Custom Validation…

C#

Please see my other Web articles. C# ADO.NET Transactions Anonymous Types Generics Link: Query Parameterless Functions Type Inference String Operations Nested Repeaters  test

Object-Oriented Programming (OOP)

Please see my other Web Development articles. OOP: Encapsulation, Inheritance, Polymorphism, Composition Object-oriented Programming (OOP) provides the most feature-rich, maintainable, feature-rich way of programming applications by levering the following features. (use table to link to each article listed above). Please see my other Web articles. Object-Oriented Programming Abstract Classes vs Interfaces Class Design – Step…

OOP: Encapsulation

Please see my other Web Development articles. Leveraging Encapsulation to Protecting Data & Behavior As demonstrated in my Inheritance article, I designed an Employee class which serves as a parent class for the Supervisor class. As you can see, the Employee class contains data and behaviors common to all types of employees, which the Supervisor…