Get Mystery Box with random crypto!

Helpful Web Development

Logo of telegram channel hwebdev — Helpful Web Development H
Logo of telegram channel hwebdev — Helpful Web Development
Channel address: @hwebdev
Categories: Technologies
Language: English
Subscribers: 1.23K
Description from channel

Only relevant materials for web developers. Start studying right here using Telegram.
Contact: @c_r_o_w_s

Ratings & Reviews

2.67

3 reviews

Reviews can be left only by registered users. All reviews are moderated by admins.

5 stars

0

4 stars

1

3 stars

0

2 stars

2

1 stars

0


The latest Messages 2

2020-09-28 10:10:00 The Basic UX Design Tradeoffs for Navigation Menus

Navigation menus are one of the most-viewed and most-clicked-on pieces of interface. Let’s look at some principles of nav design that will help our users have a better experience.

20+ Extraordinary Apps For Remote Teams

SQL Injection

#SQL injection can gain unauthorized access to a database or to retrieve information directly from the database. Many data breaches are due to SQL injection. How it works.
954 views07:10
Open / Comment
2020-09-27 10:10:00 The Ultimate Guide to Web Performance. Part III - Server, Testing Tools, and Frameworks

Server

Use HTTPS
Keep the size of cookies low as possible
Avoid bad requests
Set HTTP cache headers
Enable gzip and brotli compression
Self-host your static asssets
Enable OCSP stapling
Adopt IPv6
Serve assets over HTTP/2
Implement HPACK compression
Set proper security headers

Testing Tools

Measure site speed with Pingdom
Measure site speed with WebPageTest
Measure performance with the RAIL model
Configure Webpack performance hints
Use bundlesize
Measure JavaScript execution time
Use lighthouse-ci
Use Lighthouse Bot to set a performance budget
Test on remote real devices
Use Sitespeed
Use Calibre
Use SpeedCurve
Use k6
Use SpeedTracker

Frameworks

Use an ahead of time compiler
Improve Angular performance
Debug React perfomance
Eliminate common React issues
Make components connection aware
Implement adaptive serving
Serve Adaptive Components Using the Network Information API
909 views07:10
Open / Comment
2020-09-26 11:05:00 The Ultimate Guide to Web Performance. Part II - Images, Fonts, and #JavaScript

Images

Choose the right image format
Choose the correct level of compression
Use Imagemin to compress images
Defer offscreen images
Properly size images
Replace animated gifs with video
Serve responsive images
Serve images with correct dimensions
Use WebP images
Use image CDNs to optimize images
Use lazy-loading
Lazy-loading video
Use lazysizes to lazy-load images
Compress JPEG images
Optimize PNG images
Optimize SVG vector files

Fonts

Avoid invisible text during font loading
Use preconnect to load fonts faster
Optimize Webfont loading and rendering
Reduce Webfont Size
Keep Webfont size under 300kb

JavaScript

Apply the PRPL pattern
Limit the size of NPM dependencies
Use code splitting
Combine external JavaScript
Remove unused code
Use tree-shaking in Webpack
Minify JavaScript
Serve modern code to modern browsers
See how CommonJS makes your bundles larger
Defer loading JavaScript
Prefer Vanilla JavaScript
Use service workers to cache data
Use web workers
Write optimized code for V8
Compile your JavaScript to faster JavaScript with Prepack
Compile your JavaScript to faster JavaScript with Closure Compiler
818 views08:05
Open / Comment
2020-09-25 09:03:00 The Ultimate Guide to Web Performance. Part I - HTML & CSS

#HTML

Minify HTML
Order your styles and scripts for pagespeed
Eliminate render-blocking resources
Minimize layout thrashing
Prioritize resources
Preload critical assets to improve loading speed
Establish network connections early
Prefetch resources
Implement adaptive serving

#CSS

Minify CSS
Remove unused CSS
Defer non-critical CSS
Minimize CSS requests by combining external CSS
Optimize CSS background images with media queries
Avoid CSS inside the body tag
Avoid expensive styles
Optimize CSS length
810 viewsHWD, 06:03
Open / Comment
2020-09-24 11:02:00 How to Write CSS Advanced Selectors Like a Pro

How to choose the perfect selector? A guide for structuring #CSS advanced selectors as a pro. Following this mental model made it very easy to write short effective CSS selectors. Continue reading - https://hackernoon.com/how-to-write-css-advanced-selectors-like-a-pro-631q3tdu

10 useful #HTML5 features, you may not be using

In this article https://dev.to/atapas/10-useful-html5-features-you-may-not-be-using-2bk0, the author is listing down ten #HTML5 features that he haven't used much in the past but, found them useful now.

- Details Tag
- Content Editable
- Map
- Mark Content
- data-* attribute
- Output Tag
- Datalist
- Range(Slider)
- Meter
- Inputs
878 viewsedited  08:02
Open / Comment
2020-02-03 12:05:58 ​​Tips For Being A Great Programmer:

1. Get good at Googling

Being a programmer is all about learning how to search for the answers to your questions. By learning to Google things effectively, you'll save a lot of development time.

2. Under promise and over deliver

It's better to let your team know a task will take three weeks and deliver in two than the other way around. By under promising and over delivering, you'll build trust.

3. Be nice to your designers; they're your friends

Designers provide solutions to user pain points. Learn from them and work cohesively to build effective products.

4. Write useful comments


Write comments which explain the "why" and not the "what".

5. Name variables and functions appropriately

Functions and variables should accurately denote their purpose, so myCoolFunction won't fly.

6. Take vacations

We all need time to de-compress. Take that trip you've been wanting. Your brain and your co-workers will thank you.

7. Delete unused code

No reason to accrue more technical debt.

8. Learn to read code

Reading code is an undervalued skill, but an invaluable one.

9. Establish a healthy work/life balance

You need time to de-compress after a long workday. Shut off work notifications, remove apps off your phone.

10. Only schedule necessary meetings

Can it be solved in an email or a Slack message? If so, avoid a meeting. If not, be conscious of the duration. Aim for less.

11. Pair program

Pair programming allows you to play the role of both teacher and student.

12. Write great emails

Learn to capture your audience in your emails by being succinct yet clear. Nobody wants to read your four-page email Jerry.

13. Get involved in the community

Surrounding yourself with like-minded people will motivate you to push through the lows.

14. Clean up your branches

Clean up your version control branches like you'd clean your house before your in-laws came for a visit. If you don't need it, discard it; don't just throw it in the closet.

15. Don't gate keep

Be inclusive. Don't tell others they aren't good enough to be in the industry. Everyone has value.

16. Keep learning

You've chosen a profession that requires continuous learning. Learn to love it.

17. Don't give up

It won't always be easy. But we all started at the same place. You can do it.

18. Take tasks that scare you

If it doesn't scare you, it isn't going to help you grow.

19. Clarify requirements before starting

You should understand the acceptance criteria before delving into writing the code. It will save you time and pain later down the line.

20. Have a toolbox

Have a set of tools which you know inside-and-out. Know which tools serve which purpose and when a project can benefit from using one over another.
1.9K views09:05
Open / Comment
2020-02-01 19:31:21 (1) How to build a PWA from scratch with HTML, CSS, and JavaScript?

Progressive web apps are a way to bring native app feeling into normal or traditional web apps. Indeed, with PWAs we can now enhance our website with mobile app features which increase a lot the usability and offer great user experience to our end-users.

Today we are going to build a #PWA from scratch with #HTML, #CSS, and #JavaScript.

So, What the heck is PWA? Continue reading

(2) How can you improve the performance of web pages?

Most developers look to #JavaScript and image optimization, server configuration, file minification, and concatenation – even #CSS tweaks. Poor old #HTML gets neglected, despite being the core language of the web.

Here you’ll find out how to write clean, concise HTML that enables you to create content that loads fast and works well across a variety of devices. In the process, you’ll learn how to build sites and apps that are easier to debug and maintain.

(3) 24 modern ES6 code snippets to solve practical JS problems

The author of this article hand-picked some of the most useful #JavaScript snippets from 30 seconds of code.

It's really useful!
1.4K views16:31
Open / Comment
2019-12-28 21:00:36 ​​Readable Code

Readable code starts with code that you find easy to read. When you finish coding, take a break to clear your mind. Then try to re-read the code, putting yourself in the mindset that you know nothing about the changes and why you made them.

Principles of readable code

Single responsibility. All building blocks - classes, methods, variables - follow the single responsibility principle: every building block does exactly one thing. This makes it easy for the person reading the code to understand what this responsibility is. It also makes it clear what part of the code needs to change.

Well-structured. The codebase is easy to navigate around, as functions, classes, modules follow a logical structure. Formatting is consistent across classes and the codebase.

Thoughtful naming. Class, function, and variable names all help understand what is happening, and making reading more seamless. Code that has good names often had developers spend multiple iterations coming to these clear names.

Simple and concise. The code tries to be as humble and simple as possible. Developers don't use fancy tricks and also avoid over-complicating things. Functions are mostly short, making them easy to read. Classes are also not overly large.

Comments explain the "why," not the "how". Most of the code can be understood by itself. Comments fill in the remaining gaps.

Continuously refactored to keep being readable. Codebases grow. As a simple class gets more responsibility, it grows in size and complexity. Readable codebases stay readable due to continuous refactoring. The new, complex class might be broken into multiple parts or changed other ways to stay easy to read.

Well-tested. Well-tested code can be modified quickly and without fear of breaking things. Having the code tested via automated tests is important for the code to stay readable. Without tests, refactoring the code becomes risky, and developers eventually stop doing it. With tests, there is no excuse on why not to make even large and risky refactors, that keep the code easy to read.
1.5K views18:00
Open / Comment
2019-07-13 19:29:08 The web has become a complex thing - which is great. Unfortunately, websites have become just as complex and with complexity comes bloat. Custom typefaces. CSS libraries that try to do too much. Massive JavaScript frameworks. Hundreds of dependencies. Where is the simplicity?

TypeSafe CSS is a very very tiny #CSS library to do small great things like a personal blog or a news website.

https://bradleytaunt.com/typesafe-css/
2.1K viewsedited  16:29
Open / Comment
2019-07-08 10:03:36 Software Development Explained With Cars - https://www.pinterest.com/pin/832110468632743423/
2.2K views07:03
Open / Comment