Beto de Castro Moreira

41%
Flag icon
A proxy is useful in several circumstances, for example, consider the following ones: Data validation: The proxy validates the input before forwarding it to the subject Security: The proxy verifies that the client is authorized to perform the operation and it passes the request to the subject only if the outcome of the check is positive Caching: The proxy keeps an internal cache so that the operations are executed on the subject only if the data is not yet present in the cache Lazy initialization: If the creation of the subject is expensive, the proxy can delay it to when it's really necessary ...more
Node.js Design Patterns: Master a series of patterns and techniques to create modular, scalable, and efficient applications
Rate this book
Clear rating
Open Preview