در این آموزش تصویری با شی گرایی در JavaScript آشنا می شوید. این دوره به معرفی مفاهیم شی گرایی ، کار با مفهوم وراثت و نحوه اسکریپت نویسی در جاوااسکریپت را می آموزید.
این دوره آموزشی محصول موسسه PacktPub است.

سرفصل های دوره:

  • نحوه راه اندازی HTML و CSS
  • کار با اشیا
  • تفاوت بین مرورگرها
  • آموزش برنامه نویسی شی گرا
  • ساخت و ساز با اشیا
  • کار با دامنه
  • استفاده مجدد از اشیا
  • کار با متغیرهای استاتیک
  • کار با فضاهای نامی
  • کار با مفهوم وراثت
  • کار با توابع
  • ایجاد یک polyfill
  • کار با رویدادها
  • ویرایش فایل در HTML5
  • و…

عنوان دوره: PacktPub Learning Object Oriented JavaScript
نویسنده: Ben Fhala


Optimize your code with object oriented JavaScript – follow this video course and learn a range of JavaScript design patterns that will simplify complex code
Discover the important concepts of object-oriented programming (OOP) and make your life easier, more enjoyable, and more focused on what you love doing—creating
Develop reusable code while creating three different clocks, a classic clock, a text clock, and an alarm clock.
Utilize the advantages of using constructors, methods, and properties to become an expert
Who This Video Is For
This course is intended for JavaScript developers as an easy gateway into the world OOP by presenting a simple project and then enhancing it through object-oriented mythologies. 
What You Will Learn
Customize the built-in objects to create a digital clock
Explore the world of prototypes to leverage the functionality of objects
Dive into the world of objects, which can talk and see each other through events and callbacks
Shed the traditional methods and work with constructors and scopes
Make your code more efficient and productive with the use of methods, properties, and inheritance
One of the most common issues faced by JavaScript developers is what is known in the industry as “spaghetti code.” This issue is common when developers don't know how OOP works, as they end up creating layers of code on top of each other, resembling spaghetti. The goal of OOP is to organize your code and make your life easier.
This course will help you change some common coding practices and empower you by giving you the tools you need for more efficient development.
You start with building a simple digital clock and use this as the case sample for the course. Then, we begin exploring the object-oriented tools in JavaScript such as the constructor, scope, methods, and properties. Next, we dive even deeper as we explore the wonderful world of prototypes, static methods and properties, and namespaces. We then turn our attention to inheritance and finally end the course with a section to dedicated events and callbacks. As we explore what they are and how to use them, we complete our sample by creating a fully usable alarm clock.
With this course, you will be an expert in OOP with JavaScript in under 3 hours!
Style and Approach
Get object-oriented with this course, which cuts down long debates on theory and takes you on a journey using hands-on tools, features, and ways to improve your productivity using OOP techniques.

Setting Up the HTML and CSS
Knowing When the Document is Loaded
Understanding What Objects Are
The Difference between Browsers
Tying Up Loose Ends
Building with Objects
Scoping for Your Scope: ‘this’ not ‘that’
Constructing a Constructor
Reusing Objects
Creating Methods with the Prototype
Augmenting Built-in Objects
Static Properties and Methods
Moving Our Code into a Namespace
Functions that Have Functions
Inheriting Your Parents' Belongings
Creating a Polyfill for Object.create
Overriding Properties and Methods
Creating an Alarm Clock
Turning DIVs into Editable Content in HTML5
Listening to Events
Setting the Alarm Time Dynamically
Dispatching Events
Custom Callbacks

حجم فایل: 441MB