Search found 541 matches

Author Message

Скачать WYSIWYG

Post Today 10:25

[Quote]

React: современные шаблоны для разработки приложений
Год издания: 2022
Автор: Бэнкс Алекс, Порселло Ева
Издательство: Питер
ISBN: 978-5-4461-1492-4
Серия: Бестселлеры O’Reilly
Язык: Русский
Формат: PDF/ePub
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Нет
Количество страниц: 320
Описание: Хотите создавать эффективные приложения с помощью React? Тогда эта книга написана для вас. Познакомьтесь лучшими практиками и шаблонами создания современного кода. Вам не потребуются глубокие знания React или функционала jаvascript — достаточно знакомства с принципами работы jаvascript, CSS и HTML.
Алекс Бэнкс и Ева Порселло научат вас создавать пользовательские интерфейсы, которые будут динамически отображать изменения без необходимости перезагрузки страницы даже на крупномасштабных сайтах, работающих с огромными массивами данных.

Примеры страниц

Оглавление

Предисловие 11
Глава 1. Добро пожаловать в React 14
Глава 2. JavaScript для React 21
Глава 3. Функциональное программирование с использованием JavaScript 47
Глава 4. Как работает React 75
Глава 5. React и JSX 89
Глава 6. Управление состояниями 116
Глава 7. Улучшение компонентов с помощью хуков 149
Глава 8. Включение данных 177
Глава 9. Suspense 223
Глава 10. Тестирование в React 247
Глава 11. React Router 281
Глава 12. React и сервер 297
Об авторах 316
Об обложке 317

Скачать WYSIWYG

Post 26-Aug-2021 23:05

[Quote]

Learning PHP, MySQL, and JavaScript: A Step-by-Step Guide to Creating Dynamic Websites (6th Edition)
Год издания: 2021
Автор: Nixon Robin
Издательство: O'Reilly
ISBN: 978-1-492-09382-4
Язык: Английский
Формат: PDF/ePub
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 826
Описание: Build interactive, data-driven websites with the potent combination of open source technologies and web standards, even if you have only basic HTML knowledge. With the latest edition of this popular hands-on guide, you'll tackle dynamic web programming using the most recent versions of today's core technologies: PHP, MySQL, JavaScript, CSS, HTML5, jQuery, and the powerful React library.
Web designers will learn how to use these technologies together while picking up valuable web programming practices along the way — including how to optimize websites for mobile devices. You'll put everything together to build a fully functional social networking site suitable for both desktop and mobile browsers.
  • Explore MySQL from database structure to complex queries
  • Use the MySQL PDO extension, PHP's improved MySQL interface
  • Create dynamic PHP web pages that tailor themselves to the user
  • Manage cookies and sessions and maintain a high level of security
  • Enhance JavaScript with the React library
  • Use Ajax calls for background browser-server communication
  • Style your web pages by acquiring CSS skills
  • Implement HTML5 features, including geolocation, audio, video, and the canvas element
  • Reformat your websites into mobile web apps

Примеры страниц

Оглавление

Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiii
1. Introduction to Dynamic Web Content. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
HTTP and HTML: Berners-Lee’s Basics 2
The Request/Response Procedure 2
The Benefits of PHP, MySQL, JavaScript, CSS, and HTML5 5
MariaDB: The MySQL Clone 6
Using PHP 6
Using MySQL 7
Using JavaScript 8
Using CSS 10
And Then There’s HTML5 10
The Apache Web Server 11
Handling Mobile Devices 12
About Open Source 12
Bringing It All Together 13
Questions 15
2. Setting Up a Development Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
What Is a WAMP, MAMP, or LAMP? 18
Installing AMPPS on Windows 18
Testing the Installation 23
Accessing the Document Root (Windows) 25
Alternative WAMPs 26
Installing AMPPS on macOS 27
Accessing the Document Root (macOS) 28
Installing a LAMP on Linux 29
Working Remotely 29
Logging In 30
Using SFTP or FTPS 30
Using a Code Editor 31
Using an IDE 32
Questions 34
3. Introduction to PHP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Incorporating PHP Within HTML 35
This Book’s Examples 37
The Structure of PHP 37
Using Comments 37
Basic Syntax 38
Variables 39
Operators 44
Variable Assignment 48
Multiline Commands 50
Variable Typing 52
Constants 53
Predefined Constants 54
The Difference Between the echo and print Commands 55
Functions 55
Variable Scope 56
Questions 62
4. Expressions and Control Flow in PHP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Expressions 63
TRUE or FALSE? 64
Literals and Variables 65
Operators 66
Operator Precedence 67
Associativity 69
Relational Operators 70
Conditionals 74
The if Statement 75
The else Statement 76
The elseif Statement 78
The switch Statement 79
The ? (or ternary) Operator 82
Looping 83
while Loops 84
do...while Loops 86
for Loops 86
Breaking Out of a Loop 88
The continue Statement 89
Implicit and Explicit Casting 90
PHP Dynamic Linking 91
Dynamic Linking in Action 92
Questions 93
5. PHP Functions and Objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
PHP Functions 96
Defining a Function 97
Returning a Value 98
Returning an Array 99
Passing Arguments by Reference 100
Returning Global Variables 102
Recap of Variable Scope 102
Including and Requiring Files 103
The include Statement 103
Using include_once 103
Using require and require_once 104
PHP Version Compatibility 104
PHP Objects 105
Terminology 106
Declaring a Class 107
Creating an Object 108
Accessing Objects 108
Cloning Objects 110
Constructors 111
Destructors 111
Writing Methods 112
Declaring Properties 113
Declaring Constants 114
Property and Method Scope 114
Static Methods 115
Static Properties 116
Inheritance 117
Questions 121
6. PHP Arrays. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Basic Access 123
Numerically Indexed Arrays 123
Associative Arrays 125
Assignment Using the array Keyword 126
The foreach...as Loop 127
Multidimensional Arrays 129
Using Array Functions 132
is_array 132
count 133
sort 133
shuffle 133
explode 134
extract 135
compact 135
reset 137
end 137
Questions 137
7. Practical PHP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Using printf 139
Precision Setting 140
String Padding 142
Using sprintf 143
Date and Time Functions 143
Date Constants 146
Using checkdate 146
File Handling 147
Checking Whether a File Exists 147
Creating a File 147
Reading from Files 149
Copying Files 150
Moving a File 150
Deleting a File 151
Updating Files 151
Locking Files for Multiple Accesses 152
Reading an Entire File 154
Uploading Files 155
System Calls 160
XHTML or HTML5? 162
Questions 163
8. Introduction to MySQL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
MySQL Basics 165
Summary of Database Terms 166
Accessing MySQL via the Command Line 166
Starting the Command-Line Interface 167
Using the Command-Line Interface 171
MySQL Commands 172
Data Types 177
Indexes 187
Creating an Index 187
Querying a MySQL Database 193
Joining Tables Together 203
Using Logical Operators 205
MySQL Functions 206
Accessing MySQL via phpMyAdmin 206
Questions 207
9. Mastering MySQL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Database Design 209
Primary Keys: The Keys to Relational Databases 210
Normalization 211
First Normal Form 212
Second Normal Form 214
Third Normal Form 216
When Not to Use Normalization 218
Relationships 219
One-to-One 219
One-to-Many 220
Many-to-Many 221
Databases and Anonymity 222
Transactions 223
Transaction Storage Engines 223
Using BEGIN 224
Using COMMIT 225
Using ROLLBACK 225
Using EXPLAIN 226
Backing Up and Restoring 227
Using mysqldump 227
Creating a Backup File 229
Restoring from a Backup File 231
Dumping Data in CSV Format 231
Planning Your Backups 232
Questions 232
10. What’s New in PHP 8 and MySQL 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
About This Chapter 235
PHP 8 236
Named Parameters 236
Attributes 237
Constructor Properties 237
Just-In-Time Compilation 238
Union Types 238
Null-safe Operator 238
match Expressions 238
New Functions 239
MySQL 8 243
Updates to SQL 243
JSON (JavaScript Object Notation) 244
Geography Support 244
Reliability 244
Speed and Performance 244
Management 245
Security 245
Questions 246
11. Accessing MySQL Using PHP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
Querying a MySQL Database with PHP 247
The Process 247
Creating a Login File 248
Connecting to a MySQL Database 249
A Practical Example 254
The $_POST Array 257
Deleting a Record 258
Displaying the Form 258
Querying the Database 259
Running the Program 260
Practical MySQL 261
Creating a Table 262
Describing a Table 263
Dropping a Table 264
Adding Data 264
Retrieving Data 265
Updating Data 266
Deleting Data 267
Using AUTO_INCREMENT 267
Performing Additional Queries 269
Preventing Hacking Attempts 270
Steps You Can Take 271
Using Placeholders 273
Preventing JavaScript Injection into HTML 275
Questions 277
12. Form Handling. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
Building Forms 279
Retrieving Submitted Data 281
Default Values 282
Input Types 283
Sanitizing Input 290
An Example Program 292
HTML5 Enhancements 294
The autocomplete Attribute 295
The autofocus Attribute 295
The placeholder Attribute 295
The required Attribute 296
Override Attributes 296
The width and height Attributes 296
The min and max Attributes 296
The step Attribute 296
The form Attribute 297
The list Attribute 297
The color Input Type 297
The number and range Input Types 297
Date and Time Pickers 298
Questions 298
13. Cookies, Sessions, and Authentication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
Using Cookies in PHP 299
Setting a Cookie 301
Accessing a Cookie 302
Destroying a Cookie 302
HTTP Authentication 302
Storing Usernames and Passwords 306
An Example Program 308
Using Sessions 311
Starting a Session 312
Ending a Session 315
Setting a Timeout 316
Session Security 317
Questions 320
14. Exploring JavaScript. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
JavaScript and HTML Text 322
Using Scripts Within a Document Head 323
Older and Nonstandard Browsers 324
Including JavaScript Files 324
Debugging JavaScript Errors 325
Using Comments 325
Semicolons 326
Variables 326
String Variables 327
Numeric Variables 327
Arrays 327
Operators 328
Arithmetic Operators 328
Assignment Operators 329
Comparison Operators 329
Logical Operators 330
Incrementing, Decrementing, and Shorthand Assignment 330
String Concatenation 330
Escape Characters 331
Variable Typing 331
Functions 333
Global Variables 333
Local Variables 333
Using let and const 334
The Document Object Model 337
Another Use for the $ Symbol 339
Using the DOM 340
About document.write 341
Using console.log 341
Using alert 341
Writing into Elements 341
Using document.write 341
Questions 342
15. Expressions and Control Flow in JavaScript. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
Expressions 343
Literals and Variables 344
Operators 345
Operator Precedence 346
Associativity 346
Relational Operators 347
The with Statement 350
Using onerror 351
Using try...catch 352
Conditionals 353
The if Statement 353
The else Statement 353
The switch Statement 354
The ? Operator 356
Looping 357
while Loops 357
do...while Loops 357
for Loops 358
Breaking Out of a Loop 359
The continue Statement 359
Explicit Casting 360
Questions 361
16. JavaScript Functions, Objects, and Arrays. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
JavaScript Functions 363
Defining a Function 363
Returning a Value 365
Returning an Array 367
JavaScript Objects 368
Declaring a Class 368
Creating an Object 370
Accessing Objects 370
The prototype Keyword 370
JavaScript Arrays 373
Numeric Arrays 374
Associative Arrays 375
Multidimensional Arrays 376
Using Array Methods 377
Questions 382
17. JavaScript and PHP Validation and Error Handling. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385
Validating User Input with JavaScript 385
The validate.html Document (Part 1) 386
The validate.html Document (Part 2) 388
Regular Expressions 391
Matching Through Metacharacters 392
Fuzzy Character Matching 392
Grouping Through Parentheses 393
Character Classes 394
Indicating a Range 394
Negation 394
Some More Complicated Examples 395
Summary of Metacharacters 398
General Modifiers 399
Using Regular Expressions in JavaScript 400
Using Regular Expressions in PHP 400
Redisplaying a Form After PHP Validation 401
Questions 407
18. Using Asynchronous Communication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
What Is Asynchronous Communication? 410
Using XMLHttpRequest 410
Your First Asynchronous Program 411
Using GET Instead of POST 415
Sending XML Requests 417
Using Frameworks for Asynchronous Communication 421
Questions 421
19. Introduction to CSS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
Importing a Stylesheet 424
Importing CSS from Within HTML 424
Embedded Style Settings 425
Using IDs 425
Using Classes 425
Using Semicolons 426
CSS Rules 426
Multiple Assignments 426
Using Comments 427
Style Types 428
Default Styles 428
User Styles 428
External Stylesheets 429
Internal Styles 429
Inline Styles 430
CSS Selectors 430
The Type Selector 430
The Descendant Selector 430
The Child Selector 431
The ID Selector 432
The Class Selector 433
The Attribute Selector 434
The Universal Selector 434
Selecting by Group 435
The CSS Cascade 436
Stylesheet Creators 436
Stylesheet Methods 436
Stylesheet Selectors 437
The Difference Between div and span Elements 439
Measurements 441
Fonts and Typography 443
font-family 443
font-style 444
font-size 444
font-weight 445
Managing Text Styles 445
Decoration 446
Spacing 446
Alignment 447
Transformation 447
Indenting 447
CSS Colors 448
Short Color Strings 448
Gradients 449
Positioning Elements 450
Absolute Positioning 450
Relative Positioning 451
Fixed Positioning 451
Pseudoclasses 453
Shorthand Rules 455
The Box Model and Layout 456
Setting Margins 456
Applying Borders 458
Adjusting Padding 459
Object Contents 461
Questions 461
20. Advanced CSS with CSS3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463
Attribute Selectors 464
Matching Parts of Strings 464
The box-sizing Property 465
CSS3 Backgrounds 466
The background-clip Property 466
The background-origin Property 468
The background-size Property 468
Using the auto Value 469
Multiple Backgrounds 469
CSS3 Borders 471
The border-color Property 471
The border-radius Property 471
Box Shadows 474
Element Overflow 475
Multicolumn Layout 475
Colors and Opacity 477
HSL Colors 477
HSLA Colors 478
RGB Colors 478
RGBA Colors 479
The opacity Property 479
Text Effects 479
The text-shadow Property 479
The text-overflow Property 479
The word-wrap Property 480
Web Fonts 481
Google Web Fonts 482
Transformations 483
3D Transformations 484
Transitions 485
Properties to Transition 485
Transition Duration 486
Transition Delay 486
Transition Timing 486
Shorthand Syntax 487
Questions 488
21. Accessing CSS from JavaScript. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491
Revisiting the getElementById Function 491
The O Function 491
The S Function 492
The C Function 493
Including the Functions 494
Accessing CSS Properties from JavaScript 494
Some Common Properties 495
Other Properties 496
Inline JavaScript 498
The this Keyword 498
Attaching Events to Objects in a Script 499
Attaching to Other Events 499
Adding New Elements 500
Removing Elements 502
Alternatives to Adding and Removing Elements 502
Using Interrupts 503
Using setTimeout 504
Canceling a Timeout 505
Using setInterval 505
Using Interrupts for Animation 507
Questions 509
22. Introduction to jQuery. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 511
Why jQuery? 512
Including jQuery 512
Choosing the Right Version 513
Downloading 514
Using a Content Delivery Network 514
Customizing jQuery 515
jQuery Syntax 515
A Simple Example 516
Avoiding Library Conflicts 517
Selectors 517
The css Method 517
The Element Selector 518
The ID Selector 519
The Class Selector 519
Combining Selectors 519
Handling Events 520
Waiting Until the Document Is Ready 521
Event Functions and Properties 522
The blur and focus Events 523
The this Keyword 524
The click and dblclick Events 524
The keypress Event 525
Considerate Programming 527
The mousemove Event 527
Other Mouse Events 530
Alternative Mouse Methods 531
The submit Event 532
Special Effects 533
Hiding and Showing 534
The toggle Method 535
Fading In and Out 536
Sliding Elements Up and Down 537
Animations 538
Stopping Animations 541
Manipulating the DOM 542
The Difference Between the text and html Methods 543
The val and attr Methods 543
Adding and Removing Elements 545
Dynamically Applying Classes 547
Modifying Dimensions 547
The width and height Methods 548
The innerWidth and innerHeight Methods 550
The outerWidth and outerHeight Methods 550
DOM Traversal 551
Parent Elements 551
Child Elements 555
Sibling Elements 555
Selecting the Next and Previous Elements 557
Traversing jQuery Selections 559
The is Method 560
Using jQuery Without Selectors 562
The $.each Method 562
The $.map Method 563
Using Asynchronous Communication 563
Using the POST Method 564
Using the GET Method 564
Plug-ins 565
jQuery User Interface 565
Other Plug-ins 566
Questions 566
23. Introduction to jQuery Mobile. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 569
Including jQuery Mobile 570
Getting Started 571
Linking Pages 573
Linking Synchronously 574
Linking Within a Multipage Document 574
Page Transitions 575
Styling Buttons 580
List Handling 582
Filterable Lists 583
List Dividers 585
What Next? 588
Questions 588
24. Introduction to React. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 591
What Is the Point of React Anyway? 592
Accessing the React Files 593
Including babel.js 594
Our First React Project 595
Using a Function Instead of a Class 596
Pure and Impure Code: A Golden Rule 598
Using Both a Class and a Function 598
Props and Components 599
The Differences Between Using a Class and a Function 600
React State and Life Cycle 601
Using Hooks (if You Use Node.js) 604
Events in React 604
Inline JSX Conditional Statements 606
Using Lists and Keys 607
Unique Keys 608
Handling Forms 609
Using Text Input 610
Using textarea 612
Using select 613
React Native 615
Creating React Native Apps 615
Further Reading 615
Taking React to the Next Level 616
Questions 616
25. Introduction to HTML5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 619
The Canvas 619
Geolocation 621
Audio and Video 623
Forms 624
Local Storage 624
Web Workers 624
Questions 625
26. The HTML5 Canvas. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 627
Creating and Accessing a Canvas 627
The toDataURL Function 629
Specifying an Image Type 631
The fillRect Method 631
The clearRect Method 631
The strokeRect Method 632
Combining These Commands 632
The createLinearGradient Method 633
The addColorStop Method in Detail 635
The createRadialGradient Method 636
Using Patterns for Fills 638
Writing Text to the Canvas 640
The strokeText Method 640
The textBaseline Property 641
The font Property 641
The textAlign Property 641
The fillText Method 642
The measureText Method 643
Drawing Lines 643
The lineWidth Property 644
The lineCap and lineJoin Properties 644
The miterLimit Property 646
Using Paths 646
The moveTo and lineTo Methods 647
The stroke Method 647
The rect Method 648
Filling Areas 648
The clip Method 650
The isPointInPath Method 653
Working with Curves 654
The arc Method 654
The arcTo Method 657
The quadraticCurveTo Method 658
The bezierCurveTo Method 659
Manipulating Images 660
The drawImage Method 660
Resizing an Image 661
Selecting an Image Area 661
Copying from a Canvas 663
Adding Shadows 663
Editing at the Pixel Level 665
The getImageData Method 665
The putImageData Method 668
The createImageData Method 668
Advanced Graphical Effects 669
The globalCompositeOperation Property 669
The globalAlpha Property 672
Transformations 672
The scale Method 673
The save and restore Methods 674
The rotate Method 674
The translate Method 675
The transform Method 676
The setTransform Method 678
Questions 679
27. HTML5 Audio and Video. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 681
About Codecs 682
The Element 683
The Element 685
The Video Codecs 686
Questions 689
28. Other HTML5 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 691
Geolocation and the GPS Service 691
Other Location Methods 692
Geolocation and HTML5 693
Local Storage 696
Using Local Storage 696
The localStorage Object 697
Web Workers 699
Drag and Drop 702
Cross-Document Messaging 704
Other HTML5 Tags 708
Questions 708
29. Bringing It All Together. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 709
Designing a Social Networking App 710
On the Website 710
functions.php 710
The Functions 711
header.php 713
setup.php 716
index.php 718
signup.php 719
Checking for Username Availability 719
Logging In 720
checkuser.php 723
login.php 724
profile.php 726
Adding the “About Me” Text 727
Adding a Profile Image 727
Processing the Image 727
Displaying the Current Profile 728
members.php 731
Viewing a User’s Profile 732
Adding and Dropping Friends 732
Listing All Members 732
friends.php 735
messages.php 738
logout.php 741
styles.css 743
javascript.js 745
Questions 746
A. Solutions to the Chapter Questions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 747
Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 771

Скачать WYSIWYG

Post 26-Aug-2021 23:05

[Quote]

JavaScript Cookbook, 3rd Edition
Год издания: 2021
Автор: Scott A.D., MacDonald M., Powers S.
Издательство: O'Reilly
ISBN: 978-1-492-05575-4
Язык: Английский
Формат: PDF/ePub
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 538
Описание: Why reinvent the wheel every time you run into a problem with JavaScript? This cookbook is chock-full of code recipes for common programming tasks, along with techniques for building apps that work in any browser. You'll get adaptable code samples that you can add to almost any project--and you'll learn more about JavaScript in the process.
The recipes in this book take advantage of the latest features in ECMAScript 2020 and beyond and use modern JavaScript coding standards.
You'll learn how to:
  • Set up a productive development environment with a code editor, linter, and test server
  • Work with JavaScript data types, such as strings, arrays, and BigInts
  • Improve your understanding of JavaScript functions, including arrow functions, closures, and generators
  • Apply object-oriented programming concepts like classes and inheritance
  • Work with rich media in JavaScript, including audio, video, and SVGs
  • Manipulate HTML markup and CSS styles
  • Use JavaScript anywhere with Node.js
  • Access and manipulate remote data with REST, GraphQL, and Fetch
  • Get started with the popular Express application-building framework
  • Perform asynchronous operations with Promises, async/await, and web workers

Примеры страниц

Оглавление

Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Part I. The JavaScript Language
1. Setting Up a Development Environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 Choosing a Code Editor 2
1.2 Using the Developer Console in Your Browser 3
1.3 Running Blocks of Code in the Developer Console 7
1.4 Using Strict Mode to Catch Common Mistakes 9
1.5 Filling in HTML Boilerplate with Emmet Shortcuts 11
1.6 Installing the npm Package Manager (with Node.js) 13
1.7 Downloading a Package with npm 16
1.8 Updating a Package with npm 20
1.9 Setting Up a Local Test Server 21
1.10 Enforcing Code Standards with a Linter 24
1.11 Styling Code Consistently with a Formatter 28
1.12 Experimenting in a JavaScript Playground 31
2. Strings and Regular Expressions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
2.1 Checking for an Existing, Nonempty String 35
2.2 Converting a Numeric Value to a Formatted String 38
2.3 Inserting Special Characters 40
2.4 Inserting Emojis 42
2.5 Using Template Literals for Clearer String Concatenation 43
2.6 Performing a Case-Insensitive String Comparison 45
2.7 Checking If a String Contains a Specific Substring 46
2.8 Replacing All Occurrences of a String 47
2.9 Replacing HTML Tags with Named Entities 48
2.10 Using a Regular Expression to Replace Patterns in a String 49
2.11 Extracting a List from a String 52
2.12 Finding All Instances of a Pattern 54
2.13 Removing Whitespace from the Beginning and End of a String 57
2.14 Converting the First Letter of a String to Uppercase 58
2.15 Validating an Email Address 59
3. Numbers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
3.1 Generating Random Numbers 61
3.2 Generating Cryptographically Secure Random Numbers 63
3.3 Rounding to a Specific Decimal Place 65
3.4 Preserving Accuracy in Decimal Values 66
3.5 Converting a String to a Number 68
3.6 Converting a Decimal to a Hexadecimal Value 70
3.7 Converting Between Degrees and Radians 71
3.8 Calculating the Length of a Circular Arc 71
3.9 Manipulating Very Large Numbers with BigInt 72
4. Dates. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
4.1 Getting the Current Date and Time 75
4.2 Converting a String to a Date 77
4.3 Adding Days to a Date 79
4.4 Comparing Dates and Testing Dates for Equality 80
4.5 Calculating the Time Elapsed Between Two Dates 82
4.6 Formatting a Date Value as a String 84
5. Arrays. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
5.1 Checking If an Object Is an Array 88
5.2 Iterating Over All the Elements in an Array 88
5.3 Checking If Two Arrays Are Equal 90
5.4 Breaking Down an Array into Separate Variables 93
5.5 Passing an Array to a Function That Expects a List of Values 94
5.6 Cloning an Array 95
5.7 Merging Two Arrays 97
5.8 Copying a Portion of an Array by Position 98
5.9 Extracting Array Items That Meet Specific Criteria 100
5.10 Emptying an Array 101
5.11 Removing Duplicate Values 102
5.12 Flattening a Two-Dimensional Array 103
5.13 Searching Through an Array for Exact Matches 104
5.14 Searching Through an Array for Items That Meet Specific Criteria 105
5.15 Removing or Replacing Array Elements 107
5.16 Sorting an Array of Objects by a Property Value 108
5.17 Transforming Every Element of an Array 109
5.18 Combining an Array’s Values in a Single Calculation 110
5.19 Validating Array Contents 112
5.20 Creating a Collection of Nonduplicated Values 113
5.21 Creating a Key-Indexed Collection of Items 114
6. Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
6.1 Passing a Function as an Argument to Another Function 117
6.2 Using Arrow Functions 121
6.3 Providing a Default Parameter Value 124
6.4 Creating a Function That Accepts Unlimited Arguments 125
6.5 Using Named Function Parameters 126
6.6 Creating a Function That Stores its State with a Closure 129
6.7 Creating a Generator Function That Yields Multiple Values 131
6.8 Reducing Redundancy by Using Partial Application 135
6.9 Fixing this with Function Binding 138
6.10 Implementing a Recursive Algorithm 141
7. Objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
7.1 Checking if an Object Is a Certain Type 145
7.2 Using an Object Literal to Bundle Data 147
7.3 Checking If an Object Has a Property 150
7.4 Iterating Over All the Properties of an Object 152
7.5 Testing for an Empty Object 154
7.6 Merging the Properties of Two Objects 155
7.7 Customizing the Way a Property Is Defined 156
7.8 Preventing Any Changes to an Object 159
7.9 Intercepting and Changing Actions on an Object with a Proxy 161
7.10 Cloning an Object 164
7.11 Making a Deep Copy of an Object 166
7.12 Creating Absolutely Unique Object Property Keys 168
7.13 Creating Enums with Symbol 170
8. Classes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
8.1 Creating a Reusable Class 173
8.2 Adding Properties to a Class 177
8.3 Giving a Class a Better String Representation 182
8.4 Using the Constructor Pattern to Make a Custom Class 183
8.5 Supporting Method Chaining in Your Class 186
8.6 Adding Static Methods to a Class 188
8.7 Using a Static Method to Create Objects 190
8.8 Inheriting Functionality from Another Class 192
8.9 Organizing Your JavaScript Classes with Modules 197
9. Asynchronous Programming. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
9.1 Updating the Page During a Loop 202
9.2 Using a Function That Returns a Promise 204
9.3 Promisifying an Asynchronous Function That Uses a Callback 208
9.4 Executing Multiple Promises Concurrently 211
9.5 Waiting for a Promise to Finish with Await and Async 214
9.6 Creating an Asynchronous Generator Function 218
9.7 Using a Web Worker to Perform a Background Task 220
9.8 Adding Progress Support to a Web Worker 224
10. Errors and Testing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
10.1 Catching and Neutralizing an Error 227
10.2 Catching Different Types of Errors 230
10.3 Catching Asynchronous Errors 232
10.4 Detecting Unhandled Errors 233
10.5 Throwing a Standard Error 237
10.6 Throwing a Custom Error 239
10.7 Writing Unit Tests for Your Code 241
10.8 Tracking Test Code Coverage 247
Part II. JavaScript in the Browser
11. Browser Tools. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253
11.1 Debugging JavaScript 253
11.2 Analyzing Runtime Performance 255
11.3 Identifying Unused JavaScript 257
11.4 Using Lighthouse to Measure Best Practices 259
12. Working with HTML. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
12.1 Accessing a Given Element and Finding Its Parent and Child Elements 263
12.2 Traversing the Results from querySelectorAll() with forEach() 266
12.3 Adding Click Functionality to an Element 267
12.4 Finding All Elements That Share an Attribute 269
12.5 Accessing All Elements of a Specific Type 269
12.6 Discovering Child Elements Using the Selectors API 272
12.7 Changing an Element’s Class Value 273
12.8 Setting an Element’s Style Attribute 274
12.9 Adding Text to a New Paragraph 276
12.10 Inserting a New Element in a Specific DOM Location 278
12.11 Checking If a Checkbox Is Checked 279
12.12 Adding Up Values in an HTML Table 280
12.13 Deleting Rows from an HTML Table 283
12.14 Hiding Page Sections 285
12.15 Creating Hover-Based Pop-Up Info Windows 287
12.16 Validating Form Data 289
12.17 Highlighting Form Errors and Accessibility 292
12.18 Creating an Accessible Automatically Updated Region 298
13. Fetching Remote Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
13.1 Requesting Remote Data with Fetch 301
13.2 Using XMLHttpRequest 305
13.3 Submitting a Form 306
13.4 Populating a Selection List from the Server 310
13.5 Parsing Returned JSON 314
13.6 Fetching and Parsing XML 316
13.7 Sending Binary Data and Loading into an Image 318
13.8 Sharing HTTP Cookies Across Domains 319
13.9 Using Websockets to Establish a Two-Way Communication Between
Client and Server 320
13.10 Long Polling a Remote Data Source 322
14. Data Persistence. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
14.1 Persisting Information with Cookies 325
14.2 Using sessionStorage for Client-Side Storage 328
14.3 Creating a localStorage Client-Side Data Storage Item 334
14.4 Persisting Larger Chunks of Data on the Client Using IndexedDB 338
14.5 Simplifying IndexedDB with a Library 341
15. Working with Media. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
15.1 Adding JavaScript to SVG 345
15.2 Accessing SVG from a Web Page Script 348
15.3 Creating an SVG Bar Chart with D3 350
15.4 Integrating SVG and the Canvas Element in HTML 354
15.5 Running a Routine When an Audio File Begins Playing 356
15.6 Controlling Video from JavaScript with the video Element 357
16. Writing Web Applications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361
16.1 Bundling JavaScript 361
16.2 JavaScript and the Mobile Web 363
16.3 Writing a Progressive Web Application 366
16.4 Testing and Profiling a Progressive Web Application 373
16.5 Getting the Value of the Current URL 377
16.6 Redirecting a URL 379
16.7 Copying Text to a User’s Clipboard 380
16.8 Enabling a Mobile-Like Notification in the Desktop Browser 382
16.9 Loading a File Locally in the Browser 385
16.10 Extending the Possible with Web Components 388
16.11 Choosing a Front-End Framework 391
Part III. Node.js
17. Node Basics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397
17.1 Managing Node Versions with Node Version Manager 397
17.2 Responding to a Simple Browser Request 400
17.3 Interactively Trying Out Node Code Snippets with REPL 402
17.4 Reading and Writing File Data 405
17.5 Getting Input from the Terminal 410
17.6 Getting the Path to the Current Script 412
17.7 Working with Node Timers and Understanding the Node Event Loop 413
18. Node Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419
18.1 Searching for a Specific Node Module via npm 420
18.2 Converting Your Library into a Node Module 421
18.3 Taking Your Code Across Module Environments 422
18.4 Creating an Installable Node Module 425
18.5 Writing Multiplatform Libraries 431
18.6 Unit Testing Your Modules 435
19. Managing Node. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439
19.1 Using Environment Variables 439
19.2 Managing Callback Hell 441
19.3 Accessing Command-Line Functionality Within a Node Application 444
19.4 Passing Command-Line Arguments 447
19.5 Creating a Command-Line Utility with Help from Commander 448
19.6 Keeping a Node Instance Up and Running 450
19.7 Monitoring Application Changes and Restarting During Local
Development 452
19.8 Scheduling Repeat Tasks 453
19.9 Testing the Performance and Capability of Your WebSockets Application 455
20. Remote Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457
20.1 Fetching Remote Data 457
20.2 Screen Scraping 459
20.3 Accessing JSON-Formatted Data via a RESTful API 461
21. Building Web Applications with Express. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
21.1 Using Express to Respond to Requests 465
21.2 Using the Express-Generator 469
21.3 Routing 474
21.4 Working with OAuth 476
21.5 OAuth 2 User Authentication with Passport.js 486
21.6 Serving Up Formatted Data 491
21.7 Building a RESTful API 492
21.8 Building a GraphQL API 496
Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 501

Скачать WYSIWYG

Post 20-Aug-2021 16:15

[Quote]

Deep Learning with JavaScript: Neural networks in TensorFlow.js / JаvaScript для глубокого обучения: TensorFlow.js
Год издания: 2021
Автор: Cai Sh., Bileschi S., Nielsen E.D., Chollet F. / Шолле Ф., Нильсон Э., Байлесчи С., Цэй Ш.
Издательство: Питер
ISBN: 978-5-4461-1697-3
Серия: Библиотека программиста
Язык: Русский
Формат: PDF
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 576
Описание: Пора научиться использовать TensorFlow.js для построения моделей глубокого обучения, работающих непосредственно в браузере! Умные веб-приложения захватили мир, а реализовать их в браузере или серверной части позволяет TensorFlow.js. Данная библиотека блестяще портируется, ее модели работают везде, где работает JаvaScript. Специалисты из Google Brain создали книгу, которая поможет решать реальные прикладные задачи. Вы не будете скучать над теорией, а сразу освоите базу глубокого обучения и познакомитесь с продвинутыми концепциями ИИ на примерах анализа текста, обработки речи, распознавания образов и самообучающегося игрового искусственного интеллекта.

Примеры страниц

Оглавление

Предисловие ................................................................................................................. 13
Введение ...................................................................................................................... 15
Часть I. Актуальность и основные понятия
Глава 1. Глубокое обучение и JavaScript ...................................................................... 26
Часть II. Введение в TensorFlow.js
Глава 2. Приступим: простая линейная регрессия в TensorFlow.js ................................ 62
Глава 3. Вводим нелинейность: теперь не только взвешенные суммы ....................... 107
Глава 4. Распознавание изображений и звуковых сигналов с помощью
сверточных сетей ........................................................................................ 149
Глава 5. Перенос обучения: переиспользование предобученных нейронных сетей ... 187
Часть III. Продвинутые возможности глубокого обучения
с TensorFlow.js
Глава 6. Работа с данными ........................................................................................ 238
Глава 7. Визуализация данных и моделей ................................................................. 287
Глава 8. Недообучение, переобучение и универсальный технологический процесс
машинного обучения ................................................................................... 318
Глава 9. Глубокое обучение для последовательностей и текста ................................ 339
Глава 10. Генеративное глубокое обучение .............................................................. 384
Глава 11. Основы глубокого обучения с подкреплением ........................................... 427
Часть IV. Резюме и заключительное слово
Глава 12. Тестирование, оптимизация и развертывание моделей ............................. 476
Глава 13. Резюме, заключительные слова и дальнейшие источники информации ..... 517
Приложения
Приложение A. Установка библиотеки tfjs-node-gpu и ее зависимостей ................... 544
Приложение Б. Краткое руководство по тензорам и операциям над ними
в TensorFlow.js ................................................................................. 549
Доп. информация: https://github.com/tensorflow/tfjs-examples

Скачать WYSIWYG

Post 17-Aug-2021 19:40

[Quote]

ASP.NET Core in Action, 2nd Edition
Год издания: 2021
Автор: Lock Andrew
Издательство: Manning
ISBN: 9781617298301
Язык: Английский
Формат: PDF
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 832
Описание: ASP.NET Core in Action, Second Edition is a comprehensive guide to creating web applications with ASP.NET Core 5.0. Go from basic HTTP concepts to advanced framework customization. Illustrations and annotated code make learning visual and easy. Master logins, dependency injection, security, and more. This updated edition covers the latest features, including Razor Pages and the new hosting paradigm.
what's inside:
  • Developing apps for Windows and non-Windows servers
  • Configuring applications
  • Building custom components
  • Logging, testing, and security
about the reader:
For intermediate C# developers.
about the author:
Andrew Lock is a Microsoft MVP who has worked with ASP.NET Core since before its first release.

Примеры страниц

Оглавление

PART 1 GETTING STARTED WITH ASP.NET CORE . ....................1
1 ■ Getting started with ASP.NET Core 3
2 ■ Your first application 25
3 ■ Handling requests with the middleware pipeline 58
4 ■ Creating a website with Razor Pages 91
5 ■ Mapping URLs to Razor Pages using routing 122
6 ■ The binding model: Retrieving and validating user input 156
7 ■ Rendering HTML using Razor views 188
8 ■ Building forms with Tag Helpers 223
9 ■ Creating a Web API for mobile and client
applications using MVC 255
PART 2 BUILDING COMPLETE APPLICATIONS ..........................289
10 ■ Service configuration with dependency injection 291
11 ■ Configuring an ASP.NET Core application 330
12 ■ Saving data with Entity Framework Core 364
13 ■ The MVC and Razor Pages filter pipeline 398
14 ■ Authentication: Adding users to your
application with Identity 436
15 ■ Authorization: Securing your application 470
16 ■ Publishing and deploying your application 503
PART 3 EXTENDING YOUR APPLICATIONS ...............................537
17 ■ Monitoring and troubleshooting errors with logging 539
18 ■ Improving your application’s security 572
19 ■ Building custom components 609
20 ■ Building custom MVC and Razor Pages components 640
21 ■ Calling remote APIs with IHttpClientFactory 667
22 ■ Building background tasks and services 689
23 ■ Testing your application 714
Code: https://www.manning.com/downloads/2155 (or https://github.com/andrewlock/asp-dot-net-core-in-action-2e )
Errata: https://www.manning.com/downloads/2318

Скачать WYSIWYG

Post 08-Aug-2021 17:25

[Quote]

Angular Cookbook
Год издания: 2021
Автор: Ayaz Muhammad Ahsan
Издательство: Packt
ISBN: 978-1-83898-943-9
Язык: Английский
Формат: PDF/epub
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 652
Описание: Discover actionable solutions to everyday problems in building applications with Angular and TypeScript, from app design to production deployment.
Key Features:
  • Explore recipes across core Angular topics to fill gaps in your knowledge of using Angular in production
  • Discover industry best practices and tooling to enhance your development experience with Angular
  • Understand advanced topics in Angular to help you become a proficient enterprise web developer
What you will learn:
  • Gain a better understanding of how components, services, and directives work in Angular
  • Understand how to create Progressive Web Apps using Angular from scratch
  • Build rich animations and add them to your Angular apps
  • Manage your app's data reactivity using RxJS
  • Implement state management for your Angular apps with NgRx
  • Optimize the performance of your new and existing web apps
  • Write fail-safe unit tests and end-to-end tests for your web apps using Jest and Cypress
  • Get familiar with Angular CDK components for designing effective Angular components
Who this book is for:
The book is for intermediate-level Angular web developers looking for actionable solutions to common problems in Angular enterprise development. Mobile developers using Angular technologies will also find this book useful. Working experience with JavaScript and TypeScript is necessary to understand the topics covered in this book more effectively.
Code: https://github.com/PacktPublishing/Angular-Cookbook/archive/refs/heads/master.zip

Примеры страниц

Оглавление

Chapter 1: Winning Components Communication
Chapter 2: Understanding and Using Angular Directives
Chapter 3: The Magic of Dependency Injection in Angular
Chapter 4: Understanding Angular Animations
Chapter 5: Angular and RxJS – Awesomeness Combined
Chapter 6: Reactive State Management with NgRx
Chapter 7: Understanding Angular Navigation and Routing
Chapter 8: Mastering Angular Forms
Chapter 9: Angular and the Angular CDK
Chapter 10: Writing Unit Tests in Angular with Jest
Chapter 11: E2E Tests in Angular with Cypress
Chapter 12: Performance Optimization in Angular
Chapter 13: Building PWAs with Angular

Скачать WYSIWYG

Post 05-Aug-2021 06:45

[Quote]

Dreamweaver CS5.5
Год издания: 2011
Автор: Леонов В.
Издательство: Эксмо
ISBN: 978-5-699-46604-7
Серия: Компьютер на 100%
Язык: Русский
Формат: PDF
Качество: Издательский макет или текст (eBook)
Количество страниц: 304
Описание: C помощью этой книги начинающие веб-дизайнеры смогут получить основные знания, необходимые для самостоятельного создания веб-сайта на базе последней версии популярного продукта Adobe Dreamweaver CS5.5. Подробно рассматриваются основы сайтостроения: классификация сайтов, правила дизайнерского оформления веб-страниц и их верстки, юзабилити и навигации. Пользователи смогут познакомиться с основными инструментами сайтостроения: языком гипертекстовой разметки HTML, каскадными таблицами стилей (CSS) и с языком программирования JavaScript.

Примеры страниц

Опубликовано группой

Скачать WYSIWYG

Post 27-Jul-2021 06:45

[Quote]

JavaScript Everywhere: Building Cross-Platform Applications with GraphQL, React, React Native, and Electron / Разработка на JavaScript. Построение кроссплатформенных приложений с помощью GraphQL, React, React Native и Electron
Год издания: 2021
Автор: Adam Scott / Адам Скотт
Издательство: Питер
ISBN: 978-5-4461-1462-7
Серия: Бестселлеры O'Reilly
Язык: Русский
Формат: PDF
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 320
Описание:
Что такое современный JavaScript? Когда-то он просто добавлял интерактивности к окнам веб-браузера, а теперь превратился в основательный фундамент мощного и надежного софта. Разработчики любого уровня смогут использовать JavaScript для создания API, веб-, мобильных и десктопных приложений.
В этой книге:
• Работа с данными с помощью GraphQL.
• Аутентификация для API, веб- и нативных приложений.
• Создание высокопроизводительных веб-приложений
• Разработка кроссплатформенных приложений под iOS и Android
• Создание десктопных приложений.

Примеры страниц

Мои остальные раздачи -

koladka

Post 14-Jul-2021 22:23

[Quote]

Privet bro! Ssilka poskachivaniu ne rabotaet, est rabochaya? Spasibo bolshoe.

Скачать WYSIWYG

Post 09-Jul-2021 23:05

[Quote]

Programming PHP: Creating Dynamic Web Pages / Создаем динамические веб-сайты на PHP. 4-е издание
Год издания: 2021
Автор: Kevin Tatroe, Peter MacIntyre / Кевин Татро, Питер Макинтайр
Переводчик: Е. Матвеев
Издательство: Питер
ISBN: 978-5-4461-1488-7
Серия: Бестселлеры O’Reilly
Язык: Русский
Формат: PDF
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 544
Описание:
Сложно найти что-то толковое про PHP? Проверенная временем, обновленная в четвертом издании, эта книга помогает начинающим разработчикам научиться всему, что необходимо для создания качественных веб-приложений.
Вы начнете с общего описания технологии и постепенно перейдете к синтаксису языка, приемам программирования и другим важным деталям. При этом будут использоваться примеры, демонстрирующие и правильное применение языка, и распространенные идиомы. Предполагается, что читатель уже имеет опыт работы с HTML.
Вы получите множество рекомендаций по стилю программирования и процессу разработки ПО от Кевина Татро и Питера Макинтайра. Этот материал, изложенный в доступной и компактной форме, поможет вам овладеть мастерством программирования на PHP.
• Общие сведения о том, какой результат можно получить, используя PHP.
• Основы языка, включая типы данных, переменные, операторы, управляющие команды.
• Функции, строки, массивы и объекты.
• Решение распространенных задач разработки: обработка форм, проверка данных, отслеживание сеансовых данных и cookie.
• Работа с реляционными базами данных (MySQL) и базами данных NoSQL (например MongoDB).
• Генерирование изображений, создание файлов PDF, парсинг файлов XML.
• Безопасность скриптов, обработка ошибок, оптимизация быстродействия и другие нетривиальные темы.

Примеры страниц

Мои остальные раздачи -

Скачать WYSIWYG

Post 08-Jul-2021 23:10

[Quote]

CSS Visual Dictionary. Flex Grid Transforms Animation SCSS / Наглядный CSS
Год издания: 2021
Автор: Greg Sidelnikov / Грег Сидельников
Переводчик: С. Черников
Издательство: Питер
ISBN: 978-5-4461-1618-8
Серия: Библиотека программиста
Язык: Русский
Формат: PDF
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 224
Описание:
На 1 июня 2018 года CSS содержал 415 уникальных свойств, относящихся к объекту style в любом элементе браузера Chrome. Сколько свойств доступно в вашем браузере на сегодняшний день? Наверняка уже почти шесть сотен. Наиболее важные из них мы и рассмотрим.
Грег Сидельников упорядочил свойства по основной категории (положение, размерность, макеты, CSS-анимация и т. д.) и визуализировал их работу.
Вместо бесконечных томов документации – две с половиной сотни иллюстраций помогут вам разобраться во всех тонкостях работы CSS. Эта книга станет вашим настольным справочником, позволяя мгновенно перевести пожелания заказчика и собственное видение в компьютерный код!

Примеры страниц

Мои остальные раздачи -

Скачать WYSIWYG

Post 08-Jul-2021 15:00

[Quote]

Angular Projects, 2nd Edition
Год издания: 2021
Автор: Bampakos Aristeidis
Издательство: Packt
ISBN: 9781800205260
Язык: Английский
Формат: PDF/epub
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 344
Описание: Understand Angular web application development by building captivating real-world applications while exploring modern web technologies and best practices.
Key Features:
  • Explore Angular's capabilities for building applications across different platforms
  • Combine popular web technologies with Angular such as monorepo, Jamstack, and PWA
  • Build your own libraries and schematics using Angular CDK and Angular CLI
What you will learn:
  • Set up Angular applications using Angular CLI and Nx Console
  • Create a personal blog with Jamstack and SPA techniques
  • Build desktop applications with Angular and Electron
  • Enhance user experience (UX) in offline mode with PWA techniques
  • Make web pages SEO-friendly with server-side rendering
  • Create a monorepo application using Nx tools and NgRx for state management
  • Focus on mobile application development using Ionic
  • Develop custom schematics by extending Angular CLI
Who This Book Is For:
If you are a developer who has beginner-level experience with Angular and are looking to become well-versed with essential tools and deal with the various use cases you may encounter with Angular, then this Angular development book is for you. Beginner-level knowledge of web application development and basic experience working with ES6 or TypeScript are assumed.

Примеры страниц

Оглавление

Chapter 1, Creating Your First Web Application in Angular, explores the main features of the
Angular framework and teaches you about the basic building blocks that comprise a typical
Angular application. You will investigate the different tools and IDE extensions that are
available in the Angular ecosystem to enhance the developer's workflow and experience.
Chapter 2, Building an SPA Application with Scully and Angular Router, looks at how an
Angular application is based on the Single Page Application (SPA) architecture, where
typically we have multiple pages that are served by different URLs or routes. On the other
hand, Jamstack is a hot technology that is emerging and allows you to build fast, static
websites and serve them directly from a CDN.
In this chapter, we will use the Angular Router to implement routing functionality in an
Angular application. We will also use Scully, the best static site generator for Angular, to
create a personal blog that embraces the Jamstack architecture.
Chapter 3, Building an Issue Tracking System Using Reactive Forms, is where we build an
issue tracking management system and use Angular reactive forms to add new issues to
the system. We will design our forms using Clarity Components from VMware, and we
will incorporate built-in and custom validations. We will also react to value changes in the
forms and take actions accordingly.
Chapter 4, Building a PWA Weather Application Using Angular Service Worker, covers
how the user experience of a web application is not the same for all users, especially in
places with poor network coverage and connectivity. When we build a web application, we
should take into account all sorts of network types.
In this chapter, we will create an application that uses the OpenWeather API to display
the weather of a specified region. We will learn how to deploy the application to Firebase
Hosting. We will also explore PWA techniques using the Angular service worker to
provide a seamless user experience when offline.
Chapter 5, Building a WYSIWYG Editor for the Desktop Using Electron, explores Electron,
a cross-platform JavaScript framework for building desktop applications using web
technologies. When combined with Angular, it can yield really performant apps.
In this chapter, we will create a WYSIWYG editor that can run on the desktop. We will
build an Angular application and integrate it with ngx-wig, a popular WYSIWYG Angular
library, and we will use Electron to package it as a desktop application. Data is persisted
locally in the filesystem using a Node.js API.
Chapter 6, Building a Mobile Photo Geotagging Application Using Capacitor and 3D
Maps
, covers Capacitor, a service provided by the Ionic framework that turns any web
application, such as one created with Angular, into a native one. Its main advantage is that
we can build a native mobile application and a web app using the same code base. Cesium
is a popular JavaScript framework for building 3D maps.
In this chapter, we will use Capacitor to build a geotagging mobile application for our photos.
We will use various Ionic plugins to take a photo in a specified location and persist it to
Cloud Firestore. We will then display a list of all photos taken inside the Cesium 3D viewer.
Chapter 7, Building an SSR Application for a GitHub Portfolio Using Angular, dives into
Search Engine Optimization (SEO), a critical aspect for any website nowadays. Who
doesn't want their website to look good when sharing it via social media? The real
challenge for client web applications is to optimize it, which can be accomplished by
rendering content on the server.
In this chapter, we will learn how to create a GitHub portfolio application using the
GitHub API. We will then render it on the server and learn how to transfer the state to the
browser. We will also see how to set the page title and additional metadata dynamically
and use preboot to manage page transitions.
Chapter 8, Building an Enterprise Portal Using Nx Monorepo Tools and NgRx, covers
monorepo architecture, which is a popular technique for when working with multiple
applications under a single repository, giving speed and flexibility to the development process.
In this chapter, we will use Nx monorepo development tools to create two portals: one for
the end user, in which they will be able to select a Point of Interest (POI) and visit it on a
map, and another for admins to check on visit statistics for a given POI. Application state
is managed using NgRx.
Chapter 9, Building a Component UI Library Using Angular CLI and Angular CDK,
addresses how enterprise organizations usually need custom UI libraries that can be
used across different web applications. The Angular CDK provides a broad range of
functionalities for creating accessible and high-performing UI components.
In this chapter, we will create two different components using the Angular CDK and the
Bulma CSS framework. We will also package them as a single Angular library and learn
how to publish them on npm, so that they can be re-used in different apps. We will also
investigate how we can use each component as an Angular element.
Chapter 10, Customizing Angular CLI Commands Using Schematics, covers how
organizations usually follow different guidelines when it comes to creating Angular
entities such as components or services. Angular schematics can assist them by extending
Angular CLI commands and providing custom automation.
In this chapter, we will learn how to use the Angular schematics API to build our own
set of commands for generating components and services. We will build a schematic for
creating an Angular component that contains the Tailwind CSS framework. We will also
build an Angular service that uses the built-in HTTP client by default.

Скачать WYSIWYG

Post 02-Jul-2021 16:05

[Quote]

JavaScript с нуля
Год издания: 2021
Автор: Чиннатхамби К.
Издательство: Питер
ISBN: 978-5-4461-1701-7
Серия: Библиотека программиста
Язык: Русский
Формат: PDF/ePub
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 400
Описание: JavaScript еще никогда не был так прост! Вы узнаете все возможности языка программирования без общих фраз и неясных терминов. Подробные примеры, иллюстрации и схемы будут понятны даже новичку. Легкая подача информации и живой юмор автора превратят нудное заучивание в занимательную практику по написанию кода. Дойдя до последней главы, вы настолько прокачаете свои навыки, что сможете решить практически любую задачу, будь то простое перемещение элементов на странице или даже собственная браузерная игра.
За предоставленный файл спасибо [url=profile.php?mode=viewprofile&u=32506631]Swhite61[/url].

Примеры страниц

Оглавление

Введение 20
Глава 1. Hello, world! 23
ЧАСТЬ I. Элементарно, Ватсон
Глава 2. Значения и переменные 31
Глава 3. Функции 37
Глава 4. Условные обозначения: if…else и switch 51
Глава 5. Циклы for, while и do…while 68
Глава 6. Комментирование кода… Что за?! 80
Глава 7. Таймеры 87
Глава 8. Область видимости переменных 93
Глава 9. Замыкания 103
Глава 10. Где можно размещать код? 115
ЧАСТЬ II. Это объектно ориентированный мир, приятель!
Глава 11. Вывод сообщений в консоль 126
Глава 12. О пицце, типах, примитивах и объектах 138
Глава 13. Массивы 147
Глава 14. Строки 162
Глава 15. Когда примитивы ведут себя как объекты 172
Глава 16. Числа 177
Глава 17. Методы получения и изменения данных 189
Глава 18. Об объектах подробнее 196
Глава 19. Расширение встроенных объектов 214
Глава 20. Использование классов 222
Глава 21. Логические типы и строгие операторы === и !== 236
Глава 22. null и undefined 242
ЧАСТЬ III. DOM, милый DOM
Глава 23. Все о JSON (объектная нотация JavaScript) 246
Глава 24. JS, браузер и DOM 258
Глава 25. Поиск элементов в DOM 268
Глава 26. Модифицирование элементов DOM 274
Глава 27. Cтиль контента 284
Глава 28. Перемещение по DOM 291
Глава 29. Создание и удаление элементов DOM 298
Глава 30. Браузерные инструменты разработчика 313
ЧАСТЬ IV. Полны событиями
Глава 31. События 331
Глава 32. Всплытие и погружение событий 342
Глава 33. События мыши 353
Глава 34. События клавиатуры 366
Глава 35. События загрузки страницы и прочее 375
Глава 36. Обработка событий для нескольких элементов 387
Глава 37. Заключение 396
Глоссарий 398

Скачать WYSIWYG

Post 30-Jun-2021 20:50

[Quote]

JavaScript для детей
Год издания: 2016
Автор: Морган Н.
Издательство: Манн, Иванов и Фербер
ISBN: 978-5-00100-295-6
Язык: Русский
Формат: PDF
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 289
Описание: Эта книга позволит вам погрузиться в программирование и с легкостью освоить JavaScipt. Вы напишете несколько настоящих игр — поиск сокровищ на карте, «Виселицу» и «Змейку». На каждом шаге вы сможете оценить результаты своих трудов — в виде работающей программы, а с понятными инструкциями, примерами и забавными иллюстрациями обучение будет только приятным. Книга для детей от 10 лет.

Примеры страниц

Оглавление

ВВЕДЕНИЕ 11
ЧАСТЬ I. ОСНОВЫ
1. ЧТО ТАКОЕ JAVASCRIPT? 17
2. ТИПЫ ДАННЫХ И ПЕРЕМЕННЫЕ 25
3. МАССИВЫ 49
4. ОБЪЕКТЫ 70
5. ОСНОВЫ HTML 83
6. УСЛОВИЯ И ЦИКЛЫ 95
7. ПИШЕМ ИГРУ «ВИСЕЛИЦА» 110
8. ФУНКЦИИ 126
ЧАСТЬ II.
ПРОДВИНУТЫЙ JAVASCRIPT
9. DOM И JQUERY 145
10. ИНТЕРАКТИВНОЕ ПРОГРАММИРОВАНИЕ 156
11. ПИШЕМ ИГРУ «НАЙДИ КЛАД!» 166
12. ОБЪЕКТНООРИЕНТИРОВАННОЕ ПРОГРАММИРОВАНИЕ 176
ЧАСТЬ III. ГРАФИКА
13. ЭЛЕМЕНТ CANVAS 193
14. АНИМАЦИИ С ПОМОЩЬЮ CANVAS 208
15. УПРАВЛЕНИЕ АНИМАЦИЯМИ С КЛАВИАТУРЫ 224
16. ПИШЕМ ИГРУ «ЗМЕЙКА»: ЧАСТЬ 1 237
17. ПИШЕМ ИГРУ «ЗМЕЙКА»: ЧАСТЬ 2 252
ПОСЛЕСЛОВИЕ: КУДА ДВИГАТЬСЯ ДАЛЬШЕ 276
ГЛОССАРИЙ 281
ОБ АВТОРЕ 286
БЛАГОДАРНОСТИ 287

Скачать WYSIWYG

Post 26-Jun-2021 15:05

[Quote]

ASP.NET Core and Vue.js
Год издания: 2021
Автор: Duldulao Devlin Basilan
Издательство: Packt
ISBN: 978-1-80020-669-4
Язык: Английский
Формат: PDF/epub
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 479
Описание: A guide to building enterprise, cloud-ready full-stack web applications using ASP.NET Core 5, Vue.js 3, and TypeScript for busy developers.
Key Features:
  • Learn how to implement clean architecture in the latest ASP.NET Core 5 web API
  • Develop Vue.js 3 single-page applications (SPAs) using TypeScript or JavaScript programming and Vuex state management
  • Secure, test, and deploy your full-stack web application to Azure Cloud
What you will learn:
  • Discover CQRS and mediator patterns in the ASP.NET Core 5 web API
  • Use Serilog, MediatR, FluentValidation, and Redis in ASP.NET
  • Explore common Vue.js packages such as Vuelidate, Vuetify, and Vuex
  • Manage complex app states using the Vuex state management library
  • Write integration tests in ASP.NET Core using xUnit and FluentAssertions
  • Deploy your app to Microsoft Azure using the new GitHub Actions for continuous integration and continuous deployment (CI/CD)
Who This Book Is For:
This book is for .NET developers who want to get started with Vue.js and build full-stack real-world enterprise web applications. Developers looking to build a proof-of-concept application quickly and pragmatically using their existing knowledge of ASP.NET Core as well as developers who want to write readable and maintainable code using TypeScript and the C# programming language will also find this book useful. A basic understanding of the C# programming language, modern JavaScript, and ES6+ or ES2015+ is required.

Примеры страниц

Оглавление

Chapter 1, Getting Started with ASP.NET Core and Vue.js, serves as a short recap regarding
the current state of ASP.NET Core and Vue.js to give you a glimpse of what lies ahead in
the web development of ASP.NET Core and Vue.js.
Chapter 2, Setting Up a Development Environment, will teach you how to set up your
computer's development environment to build backend and frontend web applications.
You will go through different IDEs and text editors to write code and make sure
everything has been set up before proceeding with the app development.
Chapter 3, Starting Your First ASP.NET Core Project, shows the step-by-step process of
creating an ASP.NET Core 5 Web API project. This chapter also describes the default
folders and files in a newly created ASP.NET Core 5 Web API, particularly Program.cs
and Start.cs, including the dependency services and middleware.
Chapter 4, Applying Clean Architecture to an ASP.NET Core Solution, teaches you the
real-world organization of files, folders, projects, and ASP.NET Core app dependencies,
preparing you for future big and scalable ASP.NET Core 5 enterprise applications.
Chapter 5, Setting Up DbContext and Controllers, will teach you how to set up a database,
Entity Framework Core, DbContext, and how to write entities and enums in a clean
architectural way. This chapter also teaches you how to write controllers and routes with
Swagger UI to test controllers.
Chapter 6, Diving into CQRS, is all about the CQRS pattern, the mediator pattern, and the
popular MediatR NuGet package for CQRS and pipeline behavior.
Chapter 7, CQRS in Action, shows you how to implement CQRS, use FluentValidation and
AutoMapper, and write queries, commands, and IServiceCollection.
Chapter 8, API Versioning and Logging in ASP.NET Core, teaches you about API
versioning, which is sometimes necessary to create maintainable APIs but can be
problematic if not done correctly.
Chapter 9, Securing ASP.NET Core, discusses the integration of the ASP.NET Core 5
backend with the Vue.js 3 frontend. The chapter explores authentication and authorization
in the ASP.NET Core 5 Web API by creating and handling JWT. This chapter then
explains how to use JWT builder, writing custom JWT middleware, developing basic
authentication, and adding role-based authorizations on GET, POST, PUT, and DELETE
methods.
Chapter 10, Performance Enhancement with Redis, covers in-memory caching in ASP.NET
Core, distributed caching, and implementing Redis.
Chapter 11, Vue.js Fundamentals in a Todo App, is entirely devoted to Vue.js, the Node
Package Manager (npm), and the Vue CLI. These tools help developers to scaffold Vue.
js projects with different configurations based on the user's options. This chapter also
describes the Vue component's features and what you can do with them.
Chapter 12, Using a UI Component Library and Creating Routes and Navigations, teaches
you how to use open source UI libraries built by different Vue.js communities. You will
use one of the popular libraries in Vue.js, which will save you from spending countless
hours building your components. Then you will set up the navigation and routing of your
Vue.js 3 app with best practices in mind.
Chapter 13, Integrating a Vue.js Application with ASP.NET Core, explains how to put the
ASP.NET Core Web API and the Vue.js application together as a single unit. You will look
at how the CORS policy works and how to enable it.
Chapter 14, Simplifying State Management with Vuex and Sending GET HTTP Requests,
is about sending HTTP requests and solving the most common problem in big web
applications—the problem of syncing the state of a component with another component.
In large and complex applications, you need a tool that centralizes your application's state
and makes the data flow transparent and predictable.
Chapter 15, Sending POST, DELETE, and PUT HTTP Requests in Vue.js with Vuex, shows
the step-by-step process of synchronizing fetching, removing, creating, and updating data
in the frontend and backend. This chapter explains the effective state management of a
Vue.js 3 application in the easiest way possible.
Chapter 16, Adding Authentication in Vue.js, explains the setting up of Vuex for
authentication and writing an Auth Guard. This chapter also covers writing HTTP
interceptors and setting up auto-login in the app.
Chapter 17, Input Validations in Forms, discusses the installation of an input validation
library called Vuelidate and explains how to use validators in forms to prevent users from
typing invalid inputs.
Chapter 18, Writing Integration Tests Using xUnit, explores ways to efficiently test ASP.
NET Core 5 and Vue.js applications. This chapter serves as a guide for detecting bugs in
applications before users use them.
Chapter 19, Automatic Deployment Using GitHub Actions and Azure, explains what
GitHub Actions is, where to deploy apps, and how to implement automated deployment
to Azure App Service using GitHub Actions.
Code: https://github.com/PacktPublishing/ASP.NET-Core-and-Vue.js/archive/refs/heads/master.zip
 

The time now is: Today 22:43

All times are GMT + 4 Hours