» Home » Principle » Page 1
In SOLID, what is the distinction between SRP and ISP? (Single Responsibility Principle and Interface Segregation Principle)
Category : Development Tools & Services

How does the SOLID "Interface Segregation Principle" differs from "Single Responsibility Principle"?


The Wikipedia entry says that


ISP splits interfaces which are very large into smaller and more specific ones so that clients will only have to know about the methods that are of interest to them


However, to me that sounds like just applying the SRP to interf


View Replies


Following the DRY principle in ASP.NET
Category : Programming Languages

I have just recently got involved in a classic ASP.NET project which contains lots of storing and reading values from the session and query strings. This could look something like the following:


Session["someKey"]=someValue;

And somewhere else in the code the value in the session is read. Clearly this violates the DRY principle since you'll have the literal s


View Replies


The Principle of TEM
Category : Electronics
The transmission electron microscope (TEM) uses a beam of electrons to magnify and examine specimens. It is far more powerful than a light microscope, and its creators were awarded the Nobel Prize for its development. Magnetic LensesElectromagnets are used to guide a narrow beam of electrons through a thin specimen and to a fluorescent screen, which creates an image. The magnets keep the beam c

View Replies

TAGS : Principle

What Is the ISO Principle?
Category : Business
Operating principles represent the "character" of an organization. Each organization or company must operate to some principle and principles to create synergy among employees, partners and/or members. The ISO principle refers to the operating principles guiding the efforts of the International Organization for Standards (ISO) What is ISOThe International Organization for Standards (ISO) is a l

View Replies

TAGS : What Principle

Principle of a PAR Meter
Category : Pets
There are two types of meters known as PAR meters. Whether dealing with an aquarium or telephone channels, PAR meters take measurements that may aid in the planning of future improvements. AquariumPhotosynthetically active radiation (PAR) meters are used by those maintaining an aquarium to measure the photons in the usable spectrum for photosynthesis. The measurements are used to create the ide

View Replies

TAGS : Principle Meter

What Is a Tithing Principle?
Category : Culture & Society
The tithe, or tenth, began as a law in the Old Testament and has moved to become a principle among Christians today. There are as many viewpoints on what it means to tithe as there are viewpoints of religion. The principle of tithing is a personal journey and you should discern for yourself how it relates to you. Old Testament TithingOne tenth of crops and livestock were taken to the tabernacle

View Replies


What Is a Key Guiding Principle?
Category : Business
Like an internal compass, key guiding principles help shape and direct our lives. They are core beliefs upon which one's actions are based, yet they may change through increased knowledge and experience. Key guiding principles can be individual or organizational. Guiding Principles Develop EarlyCore values that translate into key guiding principles are established while we are quite young; they

View Replies


The Principle of Recognition
Category : Business
Recognition principles control the recording of each element on a company's financial statements. The Financial Accounting Standards Board (FASB) provides guidance on the recognition of these elements. Principles of recognition can be likened to the gatekeeper of a company's financial statements. UseVerify financial statement information.financial report image by PaulPaladin from Fotolia.com

View Replies


The Principle of a UV Spectrometer
Category : Education
Ultraviolet (UV)-visible spectrometers are used to analyze the interactions between radiation and matter in the UV-visible region of the electromagnetic spectrum. The principle involved is the measurable absorption of energy by chemical compounds when certain electronic transitions are excited between their molecular orbitals. Spectrometer PrincipleA source of polychromatic light with a continu

View Replies


Embracing the DRY principle in XML
Category : Programming Languages

We have a product where each customer has an XML config file containing sets of UI options and sub-options. For example, one type of users (call them A's) have one set of options and another type of users (B's) have a different set of options.


The problem I have is that A and B share most of the options, though sometimes when they share an option, one or more of the sub-options dif


View Replies


Next
2012 / 2017 Copyrights BigHow , All Rights Reserved .