Key Features
- Design and construct absolutely modular, smooth JavaScript functions utilizing modular layout concepts
- Improve code portability, maintainability, and integrity whereas developing hugely scalable and responsive net applications
- Implement your personal loosely coupled code blocks that may energy hugely maintainable and robust functions in a versatile and hugely responsive modular architecture
Book Description
Programming within the modular demeanour is usually inspired for higher systems—it is simpler to accomplish scalability with modular programming. Even JavaScript builders at the moment are drawn to construction courses in a modular trend. Modules support those who usually are not but acquainted with code to discover what they're trying to find and in addition makes it more uncomplicated for programmers to maintain issues which are comparable shut together.
Designing and imposing purposes in a modular demeanour is very inspired and fascinating in either easy and firm point applications.
This publication covers a few real-life examples of modules and the way we will translate that into our international of programming and alertness layout. after you have an outline of JavaScript object-oriented programming (OOP) options and their functional utilization, you have to be capable of write your personal item definitions utilizing the module trend. you are going to then discover ways to layout and increase modules and may discover the suggestions of cloning, inheritance, sub-modules, and code extensibility. additionally, you will find out about SandBoxing, program layout, and structure in line with modular layout ideas. get to grips with AMD and CommonJS utilities.
By the top of the ebook, it is possible for you to to construct amazing modular purposes in JavaScript.
What you'll Learn
- Understand the $64000 techniques of OOP in JavaScript, corresponding to scope, gadgets, inheritance, occasion delegation, and more
- Find out how the module layout trend is utilized in OOP in JavaScript
- Design and increase modules utilizing either tight augmentation and unfastened augmentation
- Extend the functions of modules via developing sub-modules utilizing concepts similar to cloning and inheritance
- Move from remoted module items to a cohesive, good built-in program modules that could have interaction and interact with no being tightly coupled
- See how SandBoxing is used to create a medium for the entire modules to speak to one another in addition to to the core
- Use the strategies of modular program layout to address dependencies and cargo modules asynchronously
- Become accustomed to AMD and CommonJS utilities and notice what the way forward for JavaScript holds for modular programming and architecture
About the Author
Sasan Seydnejad has greater than a decade of expertise in net UI and frontend software improvement utilizing JavaScript, CSS, and HTM in .NET and ASP.NET environments. He focuses on modular SPA layout and implementation, responsive mobile-friendly consumer interfaces, AJAX, buyer structure, and UX layout, utilizing HTML5, CSS3, and their similar applied sciences. He implements framework-less and framework-based purposes utilizing Node.js, MongoDB, Express.js, and AngularJS. he's the holder of the U.S. patent for a person interface for a multi-dimensional info store—US Patent 6907428.
Table of Contents
- What Are Modules and Their Advantages?
- Review of vital JavaScript OOP Concepts
- Module layout Pattern
- Designing easy Modules
- Module Augmentation
- Cloning, Inheritance, and Submodules
- Base, Sandbox, and center Modules
- Application Implementation – placing all of it Together
- Modular software layout and Testing
- Enterprise Grade Modular layout, AMD, CommonJS, and ES6 Modules