search
profile img

Bharat Dwarkani

Nov 02, 2019
bookmarks

linkreferbruv.com

Nulls are one of the most common occurences when developing application logic, or when dealing with entities which can have a possibility of having no referenced value. A Null Object implies to no referenced value or a neutral behaviour. While this is no uncommon, but direct references to null objects can result in "code leakage" or "broken ends", where our application program might have a chance to break. A NullObject Pattern is one of the many design patterns which specifically explains about

share
favorite_border0 visibility1
favorite_border0 visibility1 share
bookmarks
profile img

Bharat Dwarkani

Sep 22, 2019
bookmarks

linkcode-maze.com

With the Repository pattern, we create an abstraction layer between the data access and the business logic layer of an application. By using it, we are promoting a more loosely coupled approach to access our data from the database. Also, the code is cleaner and easier to maintain and reuse. Data access logic is in a separate class, or sets of classes called a repository, with the responsibility of persisting the application’s business model.

share
favorite_border0 visibility3
favorite_border0 visibility3 share
bookmarks
profile img

Bharat Dwarkani

Aug 26, 2019
bookmarks

linkbinaryintellect.net

Suppose you are building an ASP.NET Core application that stores data in some data store. You want to support multiple data stores and they should be configurable.

share
favorite_border0 visibility11
favorite_border0 visibility11 share
bookmarks
add