دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
ویرایش: [1 ed.]
نویسندگان: Zachary Shute
سری:
ISBN (شابک) : 9781789800104
ناشر: Packt
سال نشر: 2019
تعداد صفحات: 330
زبان: English
فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود)
حجم فایل: 2 Mb
در صورت تبدیل فایل کتاب Advanced JavaScript به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب جاوا اسکریپت پیشرفته نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
درک عمیق تری از جاوا اسکریپت به دست آورید و از آن برای ساخت برنامه های کوچک در فریم ورک های باطن، فرانت اند و موبایل استفاده کنید. ویژگی های کلیدی سینتکس جدید ES6، حلقه رویداد و برنامه نویسی ناهمزمان را کاوش کنید رویکرد توسعه آزمایش محور را در هنگام ساخت برنامه ها بیاموزید مفاهیم پیشرفته جاوا اسکریپت را برای تقویت مهارت توسعه وب خود بیاموزید توضیحات کتاب اگر به دنبال یک زبان برنامه نویسی برای توسعه انعطاف پذیر و کارآمد هستید. برنامه های کاربردی، جاوا اسکریپت یک انتخاب واضح است. جاوا اسکریپت پیشرفته یک راهنمای عملی است که شما را با جاوا اسکریپت و ویژگی های متعدد آن یک مرحله در یک زمان راهنمایی می کند. شما با یادگیری نحوه استفاده از نحو جدید جاوا اسکریپت در ES6 شروع می کنید و سپس با بسیاری از ویژگی های دیگر که جاوا اسکریپت مدرن ارائه می دهد کار خواهید کرد. همانطور که در فصلها پیش میروید، از برنامهنویسی ناهمزمان با تماسها و وعدهها استفاده میکنید، رویدادهای مرورگر را مدیریت میکنید، و دستکاری Document Object Model (DOM) را انجام میدهید. همچنین روش های مختلف آزمایش پروژه های جاوا اسکریپت را بررسی خواهید کرد. در فصل های پایانی، برنامه نویسی کاربردی را کشف خواهید کرد و یاد خواهید گرفت که از آن برای ساخت برنامه های خود استفاده کنید. با این کتاب بهعنوان راهنمای خود، میتوانید API را با استفاده از Node.js و Express توسعه دهید، با استفاده از React/Redux، فرانتاند ایجاد کنید و با استفاده از React/Expo اپلیکیشنهای تلفن همراه بسازید. در پایان جاوا اسکریپت پیشرفته، ویژگی ها و مزایای جاوا اسکریپت برای ساخت برنامه های کوچک را بررسی خواهید کرد. آنچه یاد خواهید گرفت ویژگیهای اصلی را در ES6 بررسی کنید و آن ویژگیها را برای ساخت برنامهها پیادهسازی کنید. ایجاد کنترلکنندههای قول و پاسخ برای کار با فرآیندهای ناهمزمان توسعه جریانهای ناهمزمان با استفاده از Promise chaining و syntax async/wait دستکاری DOM با جاوا اسکریپت مدیریت رویدادهای مرورگر JavaScript توسعه Test Driven و تست های کد را با چارچوب های تست کد جاوا اسکریپت بسازید. مزایا و معایب برنامه نویسی کاربردی را در مقایسه با سبک های دیگر فهرست کنید. برنامه ها را با فریم ورک Backend Node.js و فریم ورک React frontend بسازید. انتظار داریم مخاطبان تا حدی از جاوا اسکریپت استفاده کرده باشند و با سینتکس اولیه آشنا باشند. این کتاب برای یک علاقهمند به فناوری که میداند چه زمانی از ژنراتورها استفاده کند یا چگونه از Promises و Callbacks به طور مؤثر استفاده کند، یا یک توسعهدهنده تازه کار که میخواهد دانش خود را در جاوا اسکریپت عمیقتر کند و TDD را درک کند، خوب است.
Gain a deeper understanding of JavaScript and apply it to build small applications in backend, frontend, and mobile frameworks. Key Features Explore the new ES6 syntax, the event loop, and asynchronous programming Learn the test-driven development approach when building apps Master advanced JavaScript concepts to enhance your web developments skill Book Description If you are looking for a programming language to develop flexible and efficient applications, JavaScript is an obvious choice. Advanced JavaScript is a hands-on guide that takes you through JavaScript and its many features, one step at a time. You'll begin by learning how to use the new JavaScript syntax in ES6, and then work through the many other features that modern JavaScript has to offer. As you progress through the chapters, you'll use asynchronous programming with callbacks and promises, handle browser events, and perform Document Object Model (DOM) manipulation. You'll also explore various methods of testing JavaScript projects. In the concluding chapters, you'll discover functional programming and learn to use it to build your apps. With this book as your guide, you'll also be able to develop APIs using Node.js and Express, create front-ends using React/Redux, and build mobile apps using React/Expo. By the end of Advanced JavaScript, you will have explored the features and benefits of JavaScript to build small applications. What you will learn Examine major features in ES6 and implement those features to build applications Create promise and callback handlers to work with asynchronous processes Develop asynchronous flows using Promise chaining and async/await syntax Manipulate the DOM with JavaScript Handle JavaScript browser events Explore Test Driven Development and build code tests with JavaScript code testing frameworks. List the benefits and drawbacks of functional programming compared to other styles Construct applications with the Node.js backend framework and the React frontend framework Who this book is for This book is designed to target anyone who wants to write JavaScript in a professional environment. We expect the audience to have used JavaScript in some capacity and be familiar with the basic syntax. This book would be good for a tech enthusiast wondering when to use generators or how to use Promises and Callbacks effectively, or a novice developer who wants to deepen their knowledge on JavaScript and understand TDD.
Table of Contents Preface Introducing ECMAScript 6 Introduction Beginning with ECMAScript Understanding Scope Function Scope Function Scope Hoisting Block Scope Exercise 1: Implementing Block Scope Declaring Variables Exercise 2: Utilizing Variables Introducing Arrow Functions Exercise 3: Converting Arrow Functions Arrow Function Syntax Exercise 4: Upgrading Arrow Functions Learning Template Literals Exercise 5: Converting to Template Literals Exercise 6: Template Literal Conversion Enhanced Object Properties Object Properties Function Declarations Computed Properties Exercise 7: Implementing Enhanced Object Properties Destructuring Assignment Array Destructuring Exercise 8: Array Destructuring Rest and Spread Operators Object Destructuring Exercise 9: Object Destructuring Exercise 10: Nested Destructuring Exercise 11: Implementing Destructuring Classes and Modules Classes Exercise 12: Creating Your Own Class Classes – Subclasses Modules Export Keyword Import Keyword Exercise 13: Implementing Classes Transpilation Babel- Transpiling Exercise 14: Transpiling ES6 Code Iterators and Generators Iterators Generators Exercise 15: Creating a Generator Activity 1: Implementing Generators Summary Asynchronous JavaScript Introduction Asynchronous Programming Sync Versus Async Synchronous versus Asynchronous Timing Introducing Event Loops Stack Heap and Event Queue Event Loops Things to Consider Exercise 16: Handling the Stack with an Event Loop Callbacks Building Callbacks Callback Pitfalls Fixing Callback Hell Exercise 17: Working with Callbacks Promises Promises States Resolving or Rejecting a Promise Using Promises Exercise 18: Creating and Resolving Your First Promise Handling Promises Promise Chaining Promises and Callbacks Wrapping Promises in Callbacks Exercise 19: Working with Promises Async/Await Async/Await Syntax Asnyc/Await Promise Rejection Using Async Await Activity 2: Using Async/Await Summary DOM Manipulation and Event Handling Introduction DOM Chaining, Navigation, and Manipulation Exercise 20: Building the HTML Document from a DOM Tree Structure DOM Navigation Finding a DOM Node Traversing the DOM DOM Manipulation Updating Nodes in the DOM Updating Nodes in the DOM Exercise 21: DOM Manipulation DOM Events and Event Objects DOM Event Event Listeners Event Objects and Handling Events Event Propagation Firing Events Exercise 22: Handling Your First Event Custom Events Exercise 23: Handling and Delegating Events JQuery jQuery Basics jQuery Selector jQuery DOM Manipulation Selecting Elements Traversing the DOM Modifying the DOM Chaining jQuery Events Firing Events Custom Events Activity 3: Implementing jQuery Summary Testing JavaScript Introduction Testing Reasons to Test Code Test-driven Development TDD Cycle Conclusion Exercise 24: Applying Test-Driven Development Types of Testing Black Box and White Box Testing Unit Tests Exercise 25: Building Unit Tests Functional Testing Integration Tests Building Tests Exercise 26: Writing Tests Test Tools and Environments Testing Frameworks Mocha Setting Up Mocha Mocha Basics Exercise 27: Setting Up a Mocha Testing Environment Mocha Async Mocha Hooks Activity 4: Utilizing Test Environments Summary Functional Programming Introduction Introducing Functional Programming Object-Oriented Programming Functional Programming Declarative Versus Imperative Imperative Functions Declarative Functions Exercise 28: Building Imperative and Declarative Functions Pure Functions Same Output Given Same Input No Side Effects Referential Transparency Exercise 29: Building Pure Controllers Higher Order Functions Exercise 30: Editing Object Arrays Shared State Exercise 31: Fixing Shared States Immutability Immutability in JavaScript Side Effects Avoiding Side Effects Function Composition Activity 5: Recursive Immutability Summary The JavaScript Ecosystem Introduction JavaScript Ecosystem Frontend JavaScript Command-Line Interface Mobile Development Backend Development Node.js Setting Up Node.js Node Package Manager Loading and Creating Modules Exercise 32: Exporting and Importing NPM Modules Basic Node.js Server Exercise 33: Creating a Basic HTTP Server Streams and Pipes Types of Streams Writeable Stream Events: Readable Stream Events: Filesystem Operations Express Server Exercise 34: Creating a Basic Express Server Routing Advanced Routing Middleware Error Handling Exercise 35: Building a Backend with Node.js React Installing React React Basics React Specifics JSX ReactDOM React.Component State Conditional Rendering List of Items HTML Forms Activity 6: Building a Frontend with React Summary Appendix Index