Search found 566 matches

Author Message

Скачать WYSIWYG

Post Yesterday 19:10

[Quote]

Google Blogger (For Dummies)
Год: 2009
Автор: Susan Gunelius
Жанр: WEB Design
Издательство: Wiley
ISBN: 978-0-470-40742-4
Серия: For Dummies
Язык: Английский
Формат: PDF
Качество: Отсканированные страницы
Интерактивное оглавление: Нет
Количество страниц: 386
Описание: Wether your blogging goals are to flex your creative writing muscles, share photos with friends around the world, make money, or support a growing business, all the tools you need are at your fingertips with Google Blogger. This book shows you how to find those tools and use them successfully. Blogging can be confusing and intimidating. A perusal of the lnternet reveals a wealth of information from people from all walks of life who have varying experiences and opinions. Google Blogger For Dummies cuts through the hearsay and opinions to deliver the information you need in order to use the most popular blogging software program now available. Read each chapter as you develop your blog, and you’ll soon find that you're no longer a novice but rather, one of the seasoned pros that other bloggers seek out for advice, opinions, and networking.

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

Оглавление

Part 1: Introducing Gaogie Blogger................................ 7
Chapter 1: Choosing Blogger as Your Blogging Software ........................................... ,. 9
Chapter 2: Welcome to the Blogosphere .................................................................... ,. 19
Chapter 3: Blogging Basics and Buzzwords ............................................................... .. 29
Part 11: Using Goggle 41
Chapter 4: Getting Started with Blogger ..................................................................... ..43
Chapter 5: Setting Up Your Blog .................................................................................. .. 57
Chapter 6: Writing and Publishing Blog Posts ........................................................... .. 81
Chapter 7: Enhancing Your Blog with Templates ...................................................... ,. 99
Chapter 8: Adding Features and Functionality with Elements and Gadgets ........ .. 121
Chapter 9: Managing Your Blog ................................................................................. .. 157
Part 111: Making Money with BIogger........................ 179
Chapter 10: The Business of Blogging ....................................................................... .. 181
Chapter 11: Maximizing Revenue with Google AdSense ......................................... .. 209
Part ilk Growing your Audience................................ 235
Chapter 12: The Power of Networking and Relationship Building ........................ ..237
Chapter 13: Boosting Your Search Engine Ranking ................................................. ..259
Part V: Extending your Blog 273
Chapter 14: Growing or Downsizing Your Blog ........................................................ ..275
Chapter 15: Blogging from Different Media .............................................................. ..287
Chapter 16: Moving Beyond Blogger ......................................................................... ..297
Part VI: The Part of 307
Chapter 17: Ten Useful Social Networking and Social Bookmarking Sites ........... ..309
Chapter 18: Ten Common Blogger Problems and Possible Solutions .................. ..3l9
Chapter 19: Ten Places to Find Free Blogger Themes and Templates .................. ..327

Скачать WYSIWYG

Post 17-May-2022 07:25

[Quote]

PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (5th Edition)
Год издания: 2017
Автор: Ullman Larry
Жанр или тематика: Программирование
Издательство: Peachpit Press
ISBN: 0134301846
Серия: Visual QuickPro Guide
Язык: Английский
Формат: PDF
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 1197
Описание: This book teaches you how to develop dynamic web sites with PHP and MySQL, covering the
knowledge that most developers might require. In keeping with the format of the Visual
QuickPro series, the information is discussed using a step-by-step approach with corresponding
images. The focus has been kept on real-world, practical examples, avoiding “here’s something
you could do but never would” scenarios. As a practicing web developer myself, I wrote about
the information that I use and avoided those topics immaterial to the task at hand. As a practicing
writer, I made certain to include topics and techniques that I know readers are asking about.
The structure of the book is linear, and the intention is that you’ll read it in order. It begins with
three chapters covering the fundamentals of PHP (by the second chapter, you will have already
developed your first dynamic web page). After that, there are four chapters on SQL (Structured
Query Language, which is used to interact with all databases) and MySQL. Those chapters teach
the basics of SQL, database design, and the MySQL application in particular. Then there’s one
chapter on debugging and error management, information everyone needs. This is followed by a
chapter introducing how to use PHP and MySQL together, a remarkably easy thing to do.
The following five chapters teach more application techniques to round out your knowledge.
Security, in particular, is repeatedly addressed in those pages. The next two chapters expand your
newfound knowledge into subjects that, though not critical, are ones you’ll want to pick up in
time regardless. Finally, I’ve included two example chapters, in which the heart of different web
applications are developed, with instructions.

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



Оглавление

Introduction
Chapter 1 Introduction to PHP
Basic Syntax
Sending Data to the Browser
Writing Comments
What Are Variables?
Introducing Strings
Concatenating Strings
Introducing Numbers
Introducing Constants
Single vs. Double Quotation Marks
Basic Debugging Steps
Review and Pursue
Chapter 2 Programming with PHP
Creating an HTML Form
Handling an HTML Form Conditionals
and Operators Validating Form Data
Introducing Arrays
For and While Loops
Review and Pursue
Chapter 3 Creating Dynamic Web Sites
Including Multiple Files
Handling HTML Forms, Revisited
Making Sticky FormsCreating Your Own Functions
Review and Pursue
Chapter 4 Introduction to MySQL
Naming Database Elements
Choosing Your Column Types
Choosing Other Column Properties
Accessing MySQL
Review and Pursue
Chapter 5 Introduction to SQL
Creating Databases and Tables
Inserting Records
Selecting Data
Using Conditionals
Using LIKE and NOT LIKE
Sorting Query Results
Limiting Query Results Updating
Data
Deleting Data
Using Functions
Review and Pursue
Chapter 6 Database Design
Normalization
Creating Indexes
Using Different Table Types
Languages and MySQL
Time Zones and MySQL Foreign
Key ConstraintsReview and Pursue
Chapter 7 Advanced SQL and MySQL
Performing Joins
Grouping Selected Results
Advanced Selections
Performing FULLTEXT Searches
Optimizing Queries
Performing Transactions
Database Encryption
Review and Pursue
Chapter 8 Error Handling and Debugging
Error Types and Basic Debugging
Displaying PHP Errors
Adjusting Error Reporting in PHP
Creating Custom Error Handlers
PHP Debugging Techniques
SQL and MySQL Debugging Techniques
Review and Pursue
Chapter 9 Using PHP with MySQL
Modifying the Template
Connecting to MySQL
Executing Simple Queries
Retrieving Query Results
Ensuring Secure SQL
Counting Returned Records
Updating Records with PHP
Review and PursueChapter 10 Common Programming Techniques
Sending Values to a Script
Using Hidden Form Inputs
Editing Existing Records
Paginating Query Results
Making Sortable Displays
Review and Pursue
Chapter 11 Web Application Development
Sending Email
Handling File Uploads
PHP and JavaScript
Understanding HTTP Headers
Date and Time Functions
Performing Transactions
Review and Pursue
Chapter 12 Cookies and Sessions
Making a Login Page
Making the Login Functions
Using Cookies
Using Sessions
Improving Session Security
Review and Pursue
Chapter 13 Security Methods
Preventing Spam
Validating Data by Type
Validating Files by Type
Preventing XSS AttacksUsing the Filter Extension
Preventing SQL Injection Attacks
Securing Passwords with PHP
Review and Pursue
Chapter 14 Perl-Compatible Regular Expressions
Creating a Test Script
Defining Simple Patterns
Using Quantifiers
Using Character Classes
Finding All Matches
Using Modifiers
Matching and Replacing Patterns
Review and Pursue
Chapter 15 Introducing jQuery
What Is jQuery?
Incorporating jQuery
Using jQuery
Selecting Page Elements
Event Handling
DOM Manipulation
Using Ajax
Review and Pursue
Chapter 16 An OOP Primer
Fundamentals and Syntax
Working with MySQL
The DateTime Class
Review and PursueChapter 17 Example—Message Board
Making the Database
Writing the Templates
Creating the Index Page
Creating the Forum Page
Creating the Thread Page
Posting Messages
Review and Pursue
Chapter 18 Example—User Registration
Creating the Templates
Writing the Configuration Scripts
Creating the Home Page
Registration
Activating an Account
Logging In and Logging Out
Password Management
Review and Pursue
Appendix A Installation
Installation on Windows
Installation on macOS
Managing MySQL Users
Testing Your Installation
Configuring PHP
Configuring Apache
Index

Скачать WYSIWYG

Post 17-May-2022 07:25

[Quote]

Fullstack React with TypeScript (Revision r11)
Год издания: 2021
Автор: Ivanov Maksim, Bespoyasov Alex
Издательство: newline (Fullstack.io)
Язык: Английский
Формат: PDF/epub
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 600
Описание: Revision r11 (26-03-2021)
  • Updated the react-dnd package in the first chapter
  • Introduced Immer for state management in the first chapter
  • Fixed typos and missing links
  • Replaced interfaces with types
  • Added a section about optimizing images in the fifth chapter
Welcome to Fullstack React with TypeScript! React and TypeScript are a powerful combination that can prevent bugs and help you (and your team) ship products faster. But understanding idiomatic React patterns and getting the typings setup isn’t always straightforward.
This practical, hands-on book is a guide that will have you (and your team) writing React apps with TypeScript (and hooks) in no time.
This book consists of several sections. Each section covers one practical case of using Typescript with React.
Your First React and Typescript Application: Building Trello with Drag and Drop: There you will learn how to bootstrap a React Typescript application and all the basics of using React with Typescript. We will build a kanban board application like Trello that will store it’s state on backend.
Testing React With TypeScript: Testing a Digital-Goods Store:. In this section you will set up your testing environment and learn how to test your application. We will take an online store application and cover it with tests.
Patterns in React Typescript Applications: Making Music with React: Making Music with React. Here we cover Higher Order Components (HOCs) and render props React patterns. We show when are they useful and how to use them with Typescript. In this section we will build a virtual piano that supports different sound sets.
Next.js and Static Site Generation: Building a Medium-like Blog Building Medium with SSG. React can be rendered server-side. It allows to create multi-page interactive websites. In this section we cover the basics of server-side generation with React and then we build an advanced application using NextJS framework. The example application will be blogging platform (like Medium).
State Management With Redux and Typescript. (coming soon – Summer 2020) Some React applications are so complex that they require using some external state management library. Redux is a solid choice in this case. It is worth learning how to use it with Typescript. In this section we will build a drawing application with undo/redo support. It will also let you save your drawings on backend.
VI GraphQL With React And Typescript. (coming soon – Summer 2020) GraphQL is a query language that allows to create flexible APIs. Facebook, Github, Twitter and a lot of other companies provide GraphQL APIs. Typescript works pretty well with GraphQL. In this section we will build a Github issue viewer.

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

Оглавление

Book Revision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Join Our Discord Channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Bug Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Be notified of updates via Twitter . . . . . . . . . . . . . . . . . . . . . . . . . 1
We’d love to hear from you! . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
How To Get The Most Out Of This Book . . . . . . . . . . . . . . . . . . . . 2
What is TypeScript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Why Use TypeScript With React . . . . . . . . . . . . . . . . . . . . . . . . . 9
A Necessary Word Of Caution . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Your First React and TypeScript Application: Building Trello with Drag
and Drop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
What Are We Building? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Preview The Final Result . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
How to Bootstrap React + TypeScript App Automatically . . . . . . . . . . 17
App Layout. React + TypeScript Basics . . . . . . . . . . . . . . . . . . . . . . 30
Create The Card Component . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Render Children Inside The Columns . . . . . . . . . . . . . . . . . . . . . . 50
Component For Adding New Items. State, Hooks, and Events . . . . . . . . 52
Render Everything Together . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Add Global State And Business Logic . . . . . . . . . . . . . . . . . . . . . . 69
Using the useReducer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Implement State Management . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Adding Items . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Moving Items . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Implement The Custom Dragging Preview . . . . . . . . . . . . . . . . . . . 114
Move The Dragged Item Preview . . . . . . . . . . . . . . . . . . . . . . . . . 120
Hide The Default Drag Preview . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Drag Cards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Update CustomDragLayer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Update The Reducer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Drag the Card To an Empty Column . . . . . . . . . . . . . . . . . . . . . . . 133
Saving State On Backend. How To Make Network Requests . . . . . . . . . 135
Loading The Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
How to Test Your Applications: Testing a Digital Goods Store . . . . . . . . 157
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Initial Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Writing Tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Home Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
Testing React Hooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
Congratulations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
Patterns in React TypeScript Applications: Making Music with React . . . 237
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
What We’re Going to Build . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
What We’re Going to Use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
First Steps and Basic Application Layout . . . . . . . . . . . . . . . . . . . . 239
A Bit of a Music Theory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
Third Party API and Browser API . . . . . . . . . . . . . . . . . . . . . . . . . 257
Patterns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
Creating a Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
Playing a Sound . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
Mapping Real Keys to Virtual . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
Instruments List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
Render Props . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Higher Order Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328
Using Redux and TypeScript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
What Are We Building? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
Preview The Final Result . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
What is Redux? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334
Why Can’t We Use useReducer Instead of Redux? . . . . . . . . . . . . . . . 337
Initial Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338
Prepare The Styles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
Working With Canvas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
Handling Canvas Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
Define The Store Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
Add Actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
Add The Reducer Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349
Define The First Selector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
Use The Selector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
Dispatch Actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
Draw The Current Stroke . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
Implement Selecting Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
Implement Undo and Redo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
Splitting Root Reducer And Using combineReducers . . . . . . . . . . . . . 366
Exporting An Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
Using Redux Toolkit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
Configuring The Store . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
Using createAction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 381
Using createReducer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383
Using Slices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387
Remake The Imports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392
Save And Load Data Using Thunks . . . . . . . . . . . . . . . . . . . . . . . . 394
Add Modal Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395
Add The Modal Manager Component . . . . . . . . . . . . . . . . . . . . . . 397
Save The Project Using Thunks . . . . . . . . . . . . . . . . . . . . . . . . . . 401
Load The Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
Define The ProjectsList Module . . . . . . . . . . . . . . . . . . . . . . . . . . 406
Static Site Generation and Server-Side Rendering Using Next.js . . . . . . . 413
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
What We’re Going to Build . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
Pre-Rendering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416
Next.js . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
Setting Up a Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
Creating A First Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419
Basic Application Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 420
Center Component . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
Footer Component . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
Custom App Component . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425
Application Theme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427
Custom Document Component . . . . . . . . . . . . . . . . . . . . . . . . . . 429
Site Front Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433
Page 404 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
Post Page Template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440
Backend API Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441
Frontend API Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 444
Updating The Main Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445
Pre-Render Post Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 452
Category Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 458
Adding Breadcrumbs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463
Comments and Server-Side Rendering . . . . . . . . . . . . . . . . . . . . . . 464
Add Comments to Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466
API for Adding Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
Adding Comments on Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 472
Converting Statically Generated Page to Rendered on Server . . . . . . . . 474
Connecting Redux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 475
Optimizing Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 484
Building Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 490
Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491
GraphQL, React, and TypeScript . . . . . . . . . . . . . . . . . . . . . . . . . . . 492
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 492
Is GraphQL Better Than REST? . . . . . . . . . . . . . . . . . . . . . . . . . . 495
What Are We Building? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 497
Preview The Final Result . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 501
Setting Up The Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 502
Running Typescript in The Console . . . . . . . . . . . . . . . . . . . . . . . . 502
Authenticating in GitHub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503
Initializing The Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
Authentication Context . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 509
Authenticating The ApolloClient . . . . . . . . . . . . . . . . . . . . . . . . . 515
GraphQL Queries - Getting The User Data . . . . . . . . . . . . . . . . . . . 516
Add The Panel Component . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 520
Define The WelcomeWindow Layout . . . . . . . . . . . . . . . . . . . . . . . 521
Getting GitHub GraphQL Schema . . . . . . . . . . . . . . . . . . . . . . . . 523
Generating The Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 524
Adding Navigation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525
Working With GitHub Repositories . . . . . . . . . . . . . . . . . . . . . . . . 528
Define The List Component . . . . . . . . . . . . . . . . . . . . . . . . . . . . 532
Getting The Repositories List . . . . . . . . . . . . . . . . . . . . . . . . . . . . 533
Define Form Helper Components . . . . . . . . . . . . . . . . . . . . . . . . . 539
GraphQL Mutations - Creating The Repositories . . . . . . . . . . . . . . . . 543
Getting The Repository ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 551
Working With GitHub Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . 552
Getting The List Of Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 556
Creating An Issue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 560
Working With Github Pull Requests . . . . . . . . . . . . . . . . . . . . . . . 568
Getting The Pull Requests List . . . . . . . . . . . . . . . . . . . . . . . . . . . 571
Creating A New Pull Request . . . . . . . . . . . . . . . . . . . . . . . . . . . 575
Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 587
Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589
Changelog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 590
Revision r11 (26-03-2021) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 590
Revision r10 (03-03-2021) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 590
Revision r9 (26-02-2021) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 590
Revision r8 (17-02-2021) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 590
Revision r7 (01-12-2020) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 590
Revision r6 (01-12-2020) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 591
Revision r5 (10-11-2020) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 591
Revision r4 (26-08-2020) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 591
Revision 3p (07-30-2020) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 591
Revision 2p (06-08-2020) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 591
Revision 1p (05-20-2020) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 591

Скачать WYSIWYG

Post 17-May-2022 07:25

[Quote]

ng-book2. The Complete Book on Angular 11
Год издания: 2020
Автор: Murray N., Coury F., Lerner A., Taborda C.
Жанр или тематика: WEB Development
Издательство: Fullstack.io
ISBN: 1985170280, 978-1985170285
Язык: Английский
Формат: Pdf
Качество: Издательский макет или текст (eBook)
Количество страниц: 769 (Pdf)
Описание: Revision 77 – 2020-10-22
Updates the book and code to Angular 11 version angular-11.0.0 (+code)

Learn what you need to use Angular at work. Become and Angular 11 expert today. The best-selling Angular book: over 40,000+ copies sold. Stop wasting your time wrestling with incomplete and confusing tutorials.
Online tutorials are inconsistent and often out of date. One tutorial says one thing and another says something completely different.
Many tutorials show you the trees but not the forest. Some teach the basics, but why is there nothing that shows how to fit all the pieces together?
The docs aren't cohesive and trying to learn a new framework from piecing together API docs can be tough.
Googling only takes you so far... There are not many good screencasts or tutorials out there that teach how to maximize the framework.
Time is money don't waste it sifting through blogs.
What the heck is a _____? The vocabulary is foreign, how is a directive component different from a bare component? How am I supposed to update my page with one-way data binding?
What's with the crazy syntax? Do I have to learn annotations, strong-typing, and a whole new language just to use Angular now?
How does it all fit together? Angular 11 has a whole new model of writing apps. How can you know how it all fits together?
Still not hitting deadlines? You still have a job to do and stopping to learn Angular 11 seems like a risky use of time.
Ready to Master Angular 11? What if you could master the entire framework – with solid foundations – in less time without beating your head against a wall? Imagine how quickly you could work if you knew the best practices and the best tools? Stop wasting your time searching and have everything you need to be productive in one, well-organized place, with complete examples to get your project up without needing to resort to endless hours of research. You will learn what you need to know to work professionally with ng-book: The Complete Book on Angular 11 or get your money back.

Update

2017.01.31 Update до ревизии 47
2017.02.24 Update до ревизии 49
2017.03.19 Update до ревизии 53
2017.04.06 Update до ревизии 58
2017.05.26 Update до ревизии 60
2017.08.31 Update до ревизии 62
2018.01.05 Update до ревизии 65 (спасибо iiunbreakableii)
2018.01.07 Update до ревизии 66 (спасибо qback)
2018.02.07 Update до ревизии 67 (спасибо Noso)
2018.07.30 Update до ревизии 68
2019.07.10 Update до ревизии 73
2020.01.28 Update до ревизии 74 (спасибо RostVY)
2020.04.07 Update до ревизии 76 (спасибо sephir)
2021.05.11 Update до ревизии 77

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

Скачать WYSIWYG

Post 17-May-2022 07:25

[Quote]

Flask Web Development. Developing web applications with Python. 2nd Edition
Год издания: 2018
Автор: Miguel Grinberg
Издательство: O'REILLY
ISBN: 978-1-491-99173-2
Серия: Developing web applications with Python
Язык: Английский
Формат: PDF
Качество: Издательский макет или текст (eBook)
Количество страниц: 318
Описание: Take full creative control of your web applications with Flask, the Python-based microframework. With the second edition of this hands-on book, you’ll learn Flask from the ground up by developing a complete, real-world application created by author Miguel Grinberg. This refreshed edition accounts for important technology changes that have occurred in the past three years.
Explore the framework’s core functionality, and learn how to extend applications with advanced web techniques such as database migrations and an application programming interface. The first part of each chapter provides you with reference and background for the topic in question, while the second part guides you through a hands-on implementation.

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

Оглавление

Preface
Part I. Introduction to Flask
1. Installation
Creating the Application Directory
Virtual Environments
Creating a Virtual Environment with Python
Creating a Virtual Environment with Python
Working with a Virtual Environment
Installing Python Packages with pip
2. Basic Application Structure
Initialization
Routes and View Functions
A Complete Application
Development Web Server
Dynamic Routes
Debug Mode
Command-Line Options
The Request-Response Cycle
Application and Request Contexts
Request Dispatching
The Request Object
Request Hooks
Responses
Flask Extensions
3. Templates
The Jinja2 Template Engine
Rendering Templates
Variables
Control Structures
Bootstrap Integration with Flask-Bootstrap
Custom Error Pages
Links
Static Files
Localization of Dates and Times with Flask-Moment8
4. Web Forms
Configuration
Form Classes
HTML Rendering of Forms
Form Handling in View Functions
Redirects and User Sessions
Message Flashing
5. Databases
SQL Databases
NoSQL Databases
SQL or NoSQL?
Python Database Frameworks
Database Management with Flask-SQLAlchemy
Model Definition
Relationships
Database Operations
Creating the Tables
Inserting Rows
Modifying Rows
Deleting Rows
Querying Rows
Database Use in View Functions
Integration with the Python Shell
Database Migrations with Flask-Migrate
Creating a Migration Repository
Creating a Migration Script
Upgrading the Database
Adding More Migrations
6. Email
Email Support with Flask-Mail
Sending Email from the Python Shell
Integrating Emails with the Application
Sending Asynchronous Email
7. Large Application Structure
Project Structure
Configuration Options
Application Package
Using an Application Factory
Implementing Application Functionality in a Blueprint
Application Script
Requirements File
Unit Tests
Database Setup
Running the Application
Part II. Example: A Social Blogging Application
8. User Authentication
Authentication Extensions for Flask
Password Security
Hashing Passwords with Werkzeug
Creating an Authentication Blueprint
User Authentication with Flask-Login
Preparing the User Model for Logins
Protecting Routes
Adding a Login Form
Signing Users In
Signing Users Out
Understanding How Flask-Login Works
Testing Logins
New User Registration
Adding a User Registration Form
Registering New Users
Account Confirmation
Generating Confirmation Tokens with itsdangerous
Sending Confirmation Emails
Account Management
9. User Roles
Database Representation of Roles
Role Assignment
Role Verification
10. User ProfilesProfile Information
User Profile Page
Profile Editor
User-Level Profile Editor
Administrator-Level Profile Editor
User Avatars
11. Blog Posts
Blog Post Submission and Display
Blog Posts on Profile Pages
Paginating Long Blog Post Lists
Creating Fake Blog Post Data
Rendering in Pages
Adding a Pagination Widget
Rich-Text Posts with Markdown and Flask-PageDown
Using Flask-PageDown
Handling Rich Text on the Server
Permanent Links to Blog Posts
Blog Post Editor
12. Followers
Database Relationships Revisited
Many-to-Many Relationships
Self-Referential Relationships
Advanced Many-to-Many Relationships
Followers on the Profile Page
Querying Followed Posts Using a Database Join
Showing Followed Posts on the Home Page
13. User Comments
Database Representation of Comments
Comment Submission and Display
Comment Moderation
14. Application Programming Interfaces
Introduction to REST
Resources Are Everything
Request Methods
Request and Response Bodies
Versioning
RESTful Web Services with Flask
Creating an API Blueprint
Error Handling
User Authentication with Flask-HTTPAuth
Token-Based Authentication08
Serializing Resources to and from JSON
Implementing Resource Endpoints
Pagination of Large Resource Collections
Testing Web Services with HTTPie
Part III. The Last Mile
15. Testing
Obtaining Code Coverage Reports
The Flask Test Client
Testing Web Applications
Testing Web Services
End-to-End Testing with Selenium
Is It Worth It?
16. Performance
Logging Slow Database Performance
Source Code Profiling
17. Deployment
Deployment Workflow
Logging of Errors During Production
Cloud Deployment
The Heroku Platform
Preparing the Application
Testing with Heroku Local
Deploying with git push
Deploying an Upgrade
Docker Containers
Installing Docker
Building a Container Image
Running a Container
Inspecting a Running Container
Pushing Your Container Image to an External Registry
Using an External Database
Container Orchestration with Docker Compose
Cleaning Up Old Containers and Images
Using Docker in Production
Traditional Deployments
Server Setup
Importing Environment Variables
Setting Up Logging
18. Additional Resources
Using an Integrated Development Environment (IDE)
Finding Flask Extensions
Getting Help
Getting Involved with Flask
Index

Скачать WYSIWYG

Post 17-May-2022 07:25

[Quote]

Django 3 Web Development Cookbook: Actionable solutions to common problems in Python web development
Год издания: 2020
Автор: Aidas Bendoraitis, Jake Kronika
Издательство: Packt Publishing, Year: 2020
ISBN: 1838987428,9781838987428
Язык: Английский
Формат: PDF
Качество: Издательский макет или текст (eBook)
Количество страниц: 608
Описание: Practical recipes for building fast, robust, and secure web apps using Django 3 and Python
Key Features
• Explore the latest version of Django, and learn effectively with the help of practical examples
• Follow a task-based approach to develop professional web apps using Django and Python
• Learn to deploy, scale, and secure apps using Docker and Amazon Web Services(AWS)
Book Description
Django is a web framework for perfectionists with deadlines, designed to help you build manageable medium and large web projects in a short time span. This fourth edition of Django Web Development Cookbook is updated with Django 3's latest features to guide you effectively through the development process.
This Django book starts by helping you create a virtual environment and project structure for building Python web apps. You'll learn how to build models, views, forms, and templates for your web apps and then integrate JavaScript in your Django apps to add more features. As you advance, you'll create responsive multilingual websites, ready to be shared on social networks. The book will take you through uploading and processing images, rendering data in HTML5, PDF, and Excel, using and creating APIs, and navigating different data types in Django. You'll become well-versed in security best practices and caching techniques to enhance your website's security and speed. This edition not only helps you work with the PostgreSQL database but also the MySQL database. You'll also discover advanced recipes for using Django with Docker and Ansible in development, staging, and production environments.
By the end of this book, you will have become proficient in using Django's powerful features and will be equipped to create robust websites.
What you will learn
• Discover how to set the basic configurations to start any Django project
• Understand full-stack web application development using Django
• Build a database structure using reusable model mixins
• Implement security, performance, and deployment features in your web apps
• Import data from local sources and external web services and export it to your app
• Secure web applications against malicious usage and find and fix common performance bottlenecks
Who this book is for
This Django book is for Python web developers who want to build fast and secure web apps that can scale over time. You'll also find this book useful if you want to upgrade to the latest Django framework. Knowledge of Python 3, along with a basic understanding of the Django framework will help you make the most of this book.

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

Оглавление

1. Getting Started with Django 3.0
2. Models and Database Structure
3. Forms and Views
4. Templates and JavaScript
5. Custom Template Filters and Tags
6. Model Administration
7. Security and Performance
8. Hierarchical Structures
9. Importing and Exporting Data
10. Bells and Whistles
11. Testing
12. Deployment
13. Maintenance

Скачать WYSIWYG

Post 17-May-2022 07:25

[Quote]

JavaScript: The Definitive Guide, 7th edition / JavaScript: Полное руководство, 7-е издание
Год издания: 2020
Автор: Flanagan D. / Флэнаган Д.
Издательство: O'Reilly
ISBN: 978-1-491-95202-3
Язык: Английский
Формат: PDF/ePub/MOBI
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 707
Описание: Jаvascript is the programming language of the web and is used by more software developers today than any other programming language. For nearly 25 years this best seller has been the go-to guide for jаvascript programmers. The seventh edition is fully updated to cover the 2020 version of jаvascript, and new chapters cover classes, modules, iterators, generators, Promises, async/await, and metaprogramming. You’ll find illuminating and engaging example code throughout.
This book is for programmers who want to learn jаvascript and for web developers who want to take their understanding and mastery to the next level. It begins by explaining the jаvascript language itself, in detail, from the bottom up. It then builds on that foundation to cover the web platform and Node.js.
Topics include:
  • Types, values, variables, expressions, operators, statements, objects, and arrays
  • Functions, classes, modules, iterators, generators, Promises, and async/await
  • JаvaScript’s standard library: data structures, regular expressions, JSON, i18n, etc.
  • The web platform: documents, components, graphics, networking, storage, and threads
  • Node.js: buffers, files, streams, threads, child processes, web clients, and web servers
  • Tools and language extensions that professional jаvascript developers rely on

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

Оглавление

Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
1. Introduction to JavaScript. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 Exploring JavaScript 3
1.2 Hello World 5
1.3 A Tour of JavaScript 5
1.4 Example: Character Frequency Histograms 11
1.5 Summary 14
2. Lexical Structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.1 The Text of a JavaScript Program 15
2.2 Comments 16
2.3 Literals 16
2.4 Identifiers and Reserved Words 16
2.5 Unicode 17
2.6 Optional Semicolons 19
2.7 Summary 21
3. Types, Values, and Variables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.1 Overview and Definitions 23
3.2 Numbers 25
3.3 Text 32
3.4 Boolean Values 38
3.5 null and undefined 40
3.6 Symbols 41
3.7 The Global Object 42
3.8 Immutable Primitive Values and Mutable Object References 43
3.9 Type Conversions 45
3.10 Variable Declaration and Assignment 53
3.11 Summary 60
4. Expressions and Operators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
4.1 Primary Expressions 62
4.2 Object and Array Initializers 62
4.3 Function Definition Expressions 63
4.4 Property Access Expressions 64
4.5 Invocation Expressions 66
4.6 Object Creation Expressions 68
4.7 Operator Overview 68
4.8 Arithmetic Expressions 73
4.9 Relational Expressions 78
4.10 Logical Expressions 84
4.11 Assignment Expressions 86
4.12 Evaluation Expressions 88
4.13 Miscellaneous Operators 91
4.14 Summary 96
5. Statements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
5.1 Expression Statements 98
5.2 Compound and Empty Statements 99
5.3 Conditionals 100
5.4 Loops 105
5.5 Jumps 112
5.6 Miscellaneous Statements 121
5.7 Declarations 124
5.8 Summary of JavaScript Statements 127
6. Objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
6.1 Introduction to Objects 129
6.2 Creating Objects 130
6.3 Querying and Setting Properties 133
6.4 Deleting Properties 138
6.5 Testing Properties 139
6.6 Enumerating Properties 140
6.7 Extending Objects 142
6.8 Serializing Objects 143
6.9 Object Methods 144
6.10 Extended Object Literal Syntax 146
6.11 Summary 153
7. Arrays. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
7.1 Creating Arrays 156
7.2 Reading and Writing Array Elements 159
7.3 Sparse Arrays 160
7.4 Array Length 161
7.5 Adding and Deleting Array Elements 161
7.6 Iterating Arrays 162
7.7 Multidimensional Arrays 164
7.8 Array Methods 165
7.9 Array-Like Objects 177
7.10 Strings as Arrays 179
7.11 Summary 180
8. Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
8.1 Defining Functions 182
8.2 Invoking Functions 186
8.3 Function Arguments and Parameters 193
8.4 Functions as Values 200
8.5 Functions as Namespaces 203
8.6 Closures 204
8.7 Function Properties, Methods, and Constructor 209
8.8 Functional Programming 213
8.9 Summary 219
9. Classes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
9.1 Classes and Prototypes 222
9.2 Classes and Constructors 224
9.3 Classes with the class Keyword 229
9.4 Adding Methods to Existing Classes 236
9.5 Subclasses 237
9.6 Summary 248
10. Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
10.1 Modules with Classes, Objects, and Closures 250
10.2 Modules in Node 253
10.3 Modules in ES6 255
10.4 Summary 266
11. The JavaScript Standard Library. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
11.1 Sets and Maps 268
11.2 Typed Arrays and Binary Data 275
11.3 Pattern Matching with Regular Expressions 281
11.4 Dates and Times 300
11.5 Error Classes 304
11.6 JSON Serialization and Parsing 306
11.7 The Internationalization API 309
11.8 The Console API 317
11.9 URL APIs 320
11.10 Timers 323
11.11 Summary 325
12. Iterators and Generators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
12.1 How Iterators Work 328
12.2 Implementing Iterable Objects 329
12.3 Generators 332
12.4 Advanced Generator Features 336
12.5 Summary 339
13. Asynchronous JavaScript. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
13.1 Asynchronous Programming with Callbacks 342
13.2 Promises 346
13.3 async and await 367
13.4 Asynchronous Iteration 370
13.5 Summary 377
14. Metaprogramming. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
14.1 Property Attributes 380
14.2 Object Extensibility 384
14.3 The prototype Attribute 386
14.4 Well-Known Symbols 387
14.5 Template Tags 395
14.6 The Reflect API 397
14.7 Proxy Objects 399
14.8 Summary 406
15. JavaScript in Web Browsers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
15.1 Web Programming Basics 411
15.2 Events 426
15.3 Scripting Documents 437
15.4 Scripting CSS 452
15.5 Document Geometry and Scrolling 459
15.6 Web Components 464
15.7 SVG: Scalable Vector Graphics 477
15.8 Graphics in a 484
15.9 Audio APIs 507
15.10 Location, Navigation, and History 509
15.11 Networking 518
15.12 Storage 536
15.13 Worker Threads and Messaging 548
15.14 Example: The Mandelbrot Set 555
15.15 Summary and Suggestions for Further Reading 568
16. Server-Side JavaScript with Node. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 577
16.1 Node Programming Basics 578
16.2 Node Is Asynchronous by Default 583
16.3 Buffers 586
16.4 Events and EventEmitter 588
16.5 Streams 590
16.6 Process, CPU, and Operating System Details 601
16.7 Working with Files 602
16.8 HTTP Clients and Servers 613
16.9 Non-HTTP Network Servers and Clients 617
16.10 Working with Child Processes 620
16.11 Worker Threads 625
16.12 Summary 634
17. JavaScript Tools and Extensions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 635
17.1 Linting with ESLint 636
17.2 JavaScript Formatting with Prettier 637
17.3 Unit Testing with Jest 638
17.4 Package Management with npm 640
17.5 Code Bundling 642
17.6 Transpilation with Babel 644
17.7 JSX: Markup Expressions in JavaScript 645
17.8 Type Checking with Flow 649
17.9 Summary 665
Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 667
Code: https://github.com/davidflanagan/jstdg7

Скачать WYSIWYG

Post 17-May-2022 07:25

[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 17-May-2022 07:25

[Quote]

Learning PHP, MySQL & 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
Code: https://github.com/RobinNixon/lpmj6

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

Оглавление

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 17-May-2022 07:25

[Quote]

JavaScript для детей
Внимание! Раздача обновлена 20 сентября 2021 г. - замена на файл лучшего (для печати) качества. Спасибо [url=profile.php?mode=viewprofile&u=15230756]-PIT777-[/url]
Год издания: 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 17-May-2022 07:25

[Quote]

Дащинский Александр Юрьевич - Самостоятельное создание сайта с нуля без знаний веб-программирования [2020, FB2, RUS]
Год издания: 2020
Автор: Дащинский Александр Юрьевич
Жанр или тематика: Веб-дизайн и программирование
Издательство: ЛитРес: Самиздат
ISBN: 978-5-532-03661-1
Язык: Русский
Формат: FB2
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 100
Описание: Книга подойдет для предпринимателей и для тех, кто хочет освоить новую профессию или начать зарабатывать на сайтах. Цель книги — объяснить максимально простым языком, как самому сделать сайт, интернет-магазин или форум с нуля без знаний в области веб-программирования.
Дополнительно к книге в моем блоге вы найдете пошаговую инструкцию, более 50 уроков на YouTube и форум, где вы сможете задавать вопросы, если у вас что-то не получается. После прочтения книги вы будете понимать, в каком направлении вам дальше двигаться, какую рекламу использовать и как зарабатывать на сайте.

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



Оглавление

Глава 1. Введение
Глава 2. Знакомство
2.1. Что такое домен?
2.2. Что такое доменная зона?
2.3. Выбор доменного имени
2.4. Выбор доменной зоны
2.5. Типы сайтов
2.6. Варианты реализации сайта
2.7. Что такое хостинг
2.8. Заключение
Глава 3. Хостинг и Домен
3.1. Введение
3.2. Выбор компании (хостинг, домен)
3.3. Проверить домен
3.4. Как купить домен
3.5. Выбор услуги хостинга
3.6. Выбор тарифа хостинга
3.7. Как купить хостинг
3.8. Заключение
3.9. Дополнительно №1
3.10. Дополнительно №2
3.11. Дополнительно №3
3.12. Дополнительно №4
Глава 4. CMS. Введение
4.1. Что такое CMS
4.2. Виды сайтов
4.3. Коммерческие и бесплатные CMS
4.4. Виды CMS
4.5. Заключение
Глава 5. Установка CMS
5.1. Введение
5.2. Скачать CMS
5.3. Личный кабинет и панель хостинга
5.4. Создание базы данных
5.5. Файловый менеджер
5.6. Заливаем CMS на хостинг
5.7. Установка CMS на хостинг
5.8. Панель администратора
5.9. Заключение
Глава 6. Работа с сайтом
6.1. Страницы, категории, меню
6.2. Title, H1, Description
6.3. Модули, плагины
6.4. Шаблоны, темы
6.5. Заключение
Глава 7. Автоматическая установка, готовые решения, шаблоны
7.1. Автоматическая установка CMS
7.2. Готовые решения
7.3. Шаблоны
7.4. Автоматизация наполнения интернет-магазина
7.5. Конструкторы сайтов
Глава 8. Дополнительно
8.1. Создание сайта на компьютере
8.2. Копия сайта
8.3. Работа с биржей фриланса
8.4. Резервная копия сайта
8.5. Веб-агентства и частники
8.6. Заработок на сайте
8.7. Варианты продвижение сайта
8.8. Веб-аналитика и вебмастеры
8.9. Покупка сайта и дропы
Глава 9. Заключение
Доп. информация: Обзор книги: https://dashchinskiy.com/kniga-kak-sdelat-sajt

Скачать WYSIWYG

Post 17-May-2022 07:25

[Quote]

ASP.NET Core in Action, 2nd Edition
Год издания: 2021
Автор: Lock Andrew
Издательство: Manning
ISBN: 9781617298301
Язык: Английский
Формат: PDF/ePub
Качество: Издательский макет или текст (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 17-May-2022 06:15

[Quote]

Веб-разработка с применением Node и Express
Внимание! Раздача обновлена 23 октября 2021 г. - замена на файл изначально компьютерного качества. Спасибо [url=profile.php?mode=viewprofile&u=17768563]iptcpudp37[/url]
Год издания: 2021
Автор: Браун И.
Издательство: Питер
ISBN: 978-5-4461-0590-8
Серия: Бестселлеры O’Reilly
Язык: Русский
Формат: PDF
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 336
Описание: Создавайте динамические веб-приложения с применением Express — ключевого компонента из стека разработки Node/jаvascript. Итан Браун описывает работу с Express 5 на примере создания полноценного приложения. В книге рассматриваются все этапы и компоненты — от серверного рендеринга до разработки API для работы с одностраничными приложениями (SPA).
Express является золотой серединой между устоявшимся фреймворком и отсутствием фреймворка вообще, поэтому он оставляет вам определенную свободу при архитектурном выборе. Эта книга предоставит лучшие решения для фронтенд- и бэкенд-разработчиков, использующих Express. Научитесь смотреть на веб-разработку под новым углом!

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

Оглавление

Введение 16
Благодарности 21
Об авторе 23
Глава 1. Знакомство с Express 24
Глава 2. Первые шаги с Node 33
Глава 3. Экономия времени благодаря Express 44
Глава 4. Наводим порядок 55
Глава 5. Обеспечение качества 65
Глава 6. Объекты запроса и ответа 84
Глава 7. Шаблонизация с помощью Handlebars 98
Глава 8. Обработка форм 115
Глава 9. Cookie-файлы и сеансы 128
Глава 10. Промежуточное ПО 139
Глава 11. Отправка электронной почты 148
Глава 12. Промышленная эксплуатация 160
Глава 13. Персистентность данных 174
Глава 14. Маршрутизация 202
Глава 15. REST API и JSON 214
Глава 16. Одностраничные приложения 223
Глава 17. Статический контент 244
Глава 18. Безопасность 252
Глава 19. Интеграция со сторонними API 280
Глава 20. Отладка 296
Глава 21. Ввод в эксплуатацию 307
Глава 22. Поддержка 319
Глава 23. Дополнительные ресурсы 329
Об иллюстрации на обложке 335

Скачать WYSIWYG

Post 17-May-2022 06:15

[Quote]

Debugging CSS / Отладка CSS
Год издания: 2020
Автор: Ahmad Shadeed / Ахмад Шадид
Издательство: Самиздат
Язык: Английский
Формат: PDF, epub
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 302
Описание: An ebook with lots of tips and techniques on how to debug CSS the right way with easy and studied methods.

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


Скачать WYSIWYG

Post 25-Apr-2022 23:00

[Quote]

Web Design Playground
Год издания: 2019
Автор: Paul McFedries
Издательство: Manning
ISBN: 9781617294402
Язык: Английский
Формат: PDF/EPUB/MOBI
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 440
Описание: Web Design Playground takes you step by step from writing your first line of HTML to creating interesting and attractive web pages. In this project-based book, you’ll use a custom online workspace, the book’s companion Playground, to design websites, product pages, photo galleries, and more.
About the technology:
How do top designers learn to create beautiful web pages and intuitive user experiences? Great examples, expert mentoring, and lots of practice! Written by web designer and master teacher Paul McFedries, this unique book shapes and sharpens your skills in HTML, CSS, and web page design
About the book:
Web Design Playground takes you step by step from writing your first line of HTML to creating interesting, attractive web pages. In this project-based book, you’ll use a custom online workspace to design websites, product pages, photo galleries, and more. Don’t worry about setting up your own servers and domain names—the book comes with a free “playground” which lets you experiment without any of that! You can concentrate on core skills like adding images and video and laying out the page, plus learning typography, responsive design, and the other tools of the web trade.
Source code and Exercises

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

Оглавление

Part 1 Getting started with HTML and CSS
  • 1. Getting to Know HTML and CSS
  • 2. Building Your First Web Page
  • 3. Adding Structure to Your Page
  • 4. Formatting Your Web Page
  • 5. Project: Creating a Personal Home Page
Part 2 Working with images and styles
  • 6. Adding Images and Other Media
  • 7. Learning More About Styles
  • 8. Floating and Positioning Elements
  • 9. Styling Sizes, Borders, and Margins
  • 10. Project: Creating a Landing Page
Part 3 Laying out a web page
  • 11. Learning Page Layout Basics
  • 12. Creating Page Layouts with Flexbox
  • 13. Designing Responsive Web Pages
  • 14. Making Your Images and Typography
  • 15. Project: Creating a Photo Gallery
Part 4 Making your web pages shine
  • 16. More HTML Elements for Web Designers
  • 17. Adding a Splash of Color
  • 18. Enhancing Page Text with Typography
  • 19. Learning Advanced CSS Selectors
  • 20. Project: Creating a Portfolio Page
Appendixes
  • Appendix A: From Playground to Web: Getting Your Pages Online
 

The time now is: Today 01:44

All times are GMT + 4 Hours