background preloader

Object Oriented Design

Object Oriented Design

https://www.oodesign.com/

Design Patterns In software engineering, a design pattern is a general repeatable solution to a commonly occurring problem in software design. A design pattern isn't a finished design that can be transformed directly into code. It is a description or template for how to solve a problem that can be used in many different situations. Uses of Design Patterns Design patterns can speed up the development process by providing tested, proven development paradigms. Exploring Factory Pattern Download source - 60.75 KB Table of Contents Motivation Introduction Background Definition When to go for Factory Pattern Using the Code Implementations Noob Implementation Advantages Disadvantages Static Factory with Reflection Advantages Disadvantages Self Registration without Reflection Advantages Disadvantages Self Registration with Reflection Advantages Disadvantages Difference between Factory pattern and Factory Method pattern Advantages of Factory Pattern Conclusion References Motivation During my study of design patterns, I used to find the term Factory Pattern very often. I searched the Internet and came across numerous sites.

XD blog 2015-08-24 Open the notebook with a different browser I was looking for an easy to launch the notebook server with a different browser than the default one. I created a batch file (for Windows but easily adaptable to Linux): set PATH=%PATH%;C:\Python34_x64;C:\Python34_x64\Scripts set PYTHONPATH=<extra_path>;%PYTHONPATH%set BROWSER="C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" jupyter-notebook --notebook-dir=<your_folder_for_notebooks> --port=XXXX The notebook opens on Chrome with the following url Inversion of Control Containers and the Dependency Injection pattern In the Java community there's been a rush of lightweight containers that help to assemble components from different projects into a cohesive application. Underlying these containers is a common pattern to how they perform the wiring, a concept they refer under the very generic name of "Inversion of Control". In this article I dig into how this pattern works, under the more specific name of "Dependency Injection", and contrast it with the Service Locator alternative. The choice between them is less important than the principle of separating configuration from use. One of the entertaining things about the enterprise Java world is the huge amount of activity in building alternatives to the mainstream J2EE technologies, much of it happening in open source. A lot of this is a reaction to the heavyweight complexity in the mainstream J2EE world, but much of it is also exploring alternatives and coming up with creative ideas.

.NET Design Patterns in C# and VB.NET - Gang of Four (GOF) - DoFactory Design patterns are solutions to software design problems you find again and again in real-world application development. Patterns are about reusable designs and interactions of objects. The 23 Gang of Four (GoF) patterns are generally considered the foundation for all other patterns. They are categorized in three groups: Creational, Structural, and Behavioral (for a complete list see below).

4 tips on typography in UI design Communication plays a vital role in design. Whether you design websites, mobile apps, or wearable UIs, your creations have to clearly communicate their intent and purpose. And since text does a lot of the heavy lifting in communicating purpose, you need a solid understanding of typography. Of course, designing a user interface differs from designing an ebook or blog theme. But the principles of type-centric design still apply. After all, on-screen communication happens through words, and type is the UI of language.

Core J2EE Patterns: J2EE Patterns, Refactorings, Best Practices and Design Strategies Pattern Index Pattern Index The book PatternLanguagesOfProgramDesign is an eclectic collection of patterns. Many of them are accessible on line. Collecting all the cheat sheets java - Examples of GoF Design Patterns

Related: