You have a product. You have a service. You have a business plan. Now you want to leverage technology and build a relationship with your customers by offering them an app. I am here to talk you out of it. Nobody wants an app You may feel like you are extending your brand to your customers' smartphones by giving them an app. In reality, however, … Continue reading Nobody wants your app
A Factory hides the details of instantiating objects within a class hierarchy. The client provides some information regarding the object it needs. Based on that information the factory determines which class of objects to instantiate and how to go about it. Factories are typically Singletons but don’t necessarily need to be, and it depends on the implementation needs. Factories is very common. Anytime you are … Continue reading Design patterns in TypeScript: Factory
In event-driven systems messages produced by one object can be handled by one or more other objects. None of the objects need to know of one another – all they need to share is a common mechanism for distributing messages. Messages are sent from one object to another making them part of a chain. This pattern is called “Chain of Responsibility.” Chain of responsibility in … Continue reading Design patterns in TypeScript: Chain of Responsibility
I’ve been trying for a long time to come up with a setup for using my iPad Pro as a development tool. There is a ton of options out there, mostly in the form of text editors and terminal emulators or some combination thereof. None made me happy. I want a full IDE, with no compromises. I see no reason why iPad Pro cannot be … Continue reading I built an ultimate development environment for iPad Pro. Here is how.
A singleton is a pattern that guarantees there is a single instance of an object in the system. A singleton can maintain a state which is shared across the entire system. Singletons abstract their internal workings from the rest of the system. Singletons are common in business applications. They help model real-life business processes that involve shared resources. Singletons in TypeScript In Node.js – and … Continue reading Singletons in TypeScript