Framework
-
Mobx 6Framework/SPA 2020. 12. 1. 08:14
1. Overview Become compatible with standard modern JavaScript - Dropping Decorators Syntax Mobx will work out of the box in most setups version Proxy and non-proxy in the same version Reduce bundle size - By removing decorators Enable strict mode by default - all observables must be updated through actions 2. Decorators 2.1 makeObservable A function that receives a target, annotations, and optio..
-
ReduxFramework/SPA 2020. 7. 16. 00:36
1. Overview Redux is a predictable state container that first appeared in JavaScript land. Urunium.Redux is an opinionated Redux implementation for .net core written in c#. This implementation is more geared towards being c# OOP oriented instead of functional oriented, while still adhering to Redux core principles. As such the programming models and APIs used would be more familiar to a c# devel..
-
Object Relation Mapping(ORM) and HibernateFramework/ORM 2020. 7. 9. 22:28
1. Overview Object Relation Mapping(ORM) provides a simple API for storing and retrieving Java objects directly to and from the database. 2. Features Non-intrusive: No need to follow specific rules or design patterns Transparent: Your object model is unaware 3. Advantages of ORM 3.1 Productivity Eliminates lots of repetitive code – focus on business logic – Database schema is generated automatic..
-
Reactive Programming and WebFluxFramework/SPRING 2020. 7. 5. 18:21
1. Overview Reactive programming is about non-blocking, event-driven applications that scale with a small number of threads, with backpressure being a key ingredient that aims to ensure producers don't overwhelm consumers. The primary benefits of reactive programming are: increased utilization of computing resources on multicore and multi-CPU hardware and increased performance by reducing serial..
-
WebpackFramework/SPA 2020. 5. 25. 21:11
1. Overview Webpack is bundling and build an orchestration tool. 1.1 Motivation All js files are relatively small but we have a lot of HTTP requests. The problem with that can be seen if we have a look at that waterfall on chrome DevTools's network tab. Every HTTP request that needs to be made of course takes a little time. That's not an issue but every HTTP request has like a base overhead a ba..
-
Component ScanningFramework/SPRING 2020. 5. 23. 19:46
1. Overview With Spring, we use the @ComponentScan annotation along with @Configuration annotation to specify the packages that we want to be scanned. @ComponentScan without arguments tells Spring to scan the current package and all of its sub-packages. Note that the main application class is also a bean as it's annotated with @Configuration, which is a @Component. Also, note that the main appli..
-
Comparison between Field, Setter, and Constructor InjectionFramework/SPRING 2020. 5. 23. 12:01
1. Overview In the Spring Framework, the Dependency Injection comes in three types. Those are Field Injection, Setter Injection, and Constructor Injection. You can absolutely use any of them and they result in exactly the same outcome. However, based on ease, readability, coding standards, or better coding practices there are few differences. Before we jump into see what those differences are, v..
-
Bean Definition OverridingFramework/SPRING 2020. 5. 23. 11:50
1. Overview Bean with the same name as another one, which is processed later, overrides the older one, but it’s not clear at all which one will be processed later. The mechanism which caused us so much confusion is called bean overriding. It is used when Spring encounters a declaration of a bean with the same name as another bean already existing in the context. 2. Example 2.1 Example 1 @SpringB..