Santosh Rai

Santosh Rai

Full Stack Engineer | RPA Engineer

Simple calculator in javascript using MVC pattern

By rai24 on

What do I want to do?

I want to write a simple calculator app with plain JavaScript using a Model-View-Controller design pattern.

Check out Demo

Process

Creating 3 files only

What the heck is the design pattern?

In the programming world, programmers talk about things like singletons, mvc instead of basic terms like int, and arrays.

I am not a big fan of this but you will see many different design patterns used in software applications.

In definition Design pattern Wikipedia

A design pattern is the reusable form of a solution to a design problem.

What is MVC?

MVC(Model View Controller) is one of the popular design patterns.

Conclusion

Hope it helps you to understand MVC. Happy Coding