Содержание
- 2. OOP, What is it? Something about objects and classes Encapsulation Polymorphism Abstraction Inheritance
- 3. Why do we need it? Computer doesn’t care how elegant your code is, people do. Creating
- 4. More about programming paradigms Imperative Functional Logic programming Declarative
- 5. Web application in general Runs in browser Requires client-server communication Interactivity No complex computing
- 6. Let’s talk about JavaScript No Classes Everything but primitives is an object
- 7. JS Data Types
- 8. Aliases
- 9. First-class function
- 10. How to get a class
- 11. What about other OOP concepts? Encapsulation
- 12. Scope
- 13. More about closure (A Counter Dilemma)
- 14. Inheritance prototype Anything wrong with this? “Mammal” is not a “class”
- 15. Use prototype properly
- 16. What is “this”?
- 17. "apply" and "call" methods
- 18. Software design pattern They're not supposed to make your life more difficult They're not a panacea
- 19. Types of patterns
- 20. Singleton
- 21. Module
- 22. Mediator
- 23. Conclusions Everything including functions is variable Everything but primitives is object Primitive variables are variables object
- 24. Home work
- 26. Скачать презентацию