Weekly News for Designers № 546

Envato Elements

Bootstrap 5 alpha! – Take a look at what’s new with the popular CSS framework.
Example from Bootstrap 5 alpha!

Working With Good and Bad Design Clients – How to determine which clients are worth the trouble and which ones you should just skip over.
Example from Working With Good and Bad Design Clients

Making Stagger Reveal Animations for Text – A short tutorial on how to recreate a letter stagger animation with GSAP and Splitting.js.
Example from Making Stagger Reveal Animations for Text

MDB 5 alpha – Use this UI kit to combine Material Design and Bootstrap 5.
Example from MDB 5 alpha

Simple Design Tips for Crafting Better UI Cards – Practical techniques for making beautiful, user-friendly card UIs.
Example from Simple Design Tips for Crafting Better UI Cards

Making Time for Your Professional Learning Goals – Waiting for the “ideal” time to learn? Be proactive and make time instead.
Example from Making Time for Your Professional Learning Goals

LaTeX.css – A minimal, almost class-less CSS library which makes any website look like a LaTeX document.
Example from LaTeX.css

Spread the Word: Beautiful Testimonial UI Examples – Make your testimonials stand out with one of these exceptional designs.
Example from Spread the Word: Beautiful Testimonial UI Examples

keen-slider – A library agnostic touch slider with zero dependencies – and supports browsers back to IE10?!?
Example from keen-slider

Neumorphic Generator – Create neumorphic shapes for your projects using this handy tool.
Example from Neumorphic Generator

No Style Design System – A design system housing all the components and patterns from the book, Form Design Patterns by Adam Silver.
Example from No Style Design System

Tips for Converting an Existing WordPress Website to Use the Gutenberg Block Editor – What to look for when converting your site to the new block editor.
Example from Tips for Converting an Existing WordPress Website to Use the Gutenberg Block Editor

Building a hexagonal grid using CSS grid – Use the latest CSS layout techniques to create an attractive grid.
Example from Building a hexagonal grid using CSS grid

Free Dashboard Interface Elements – Grab this free dashboard UI kit for Sketch.
Example from Freebie | Dashboard Interface Elements

Educating Clients About the True Value of Your Services as a Designer – How to make sure that clients pay what you’re worth.
Example from Educating Clients About the True Value of Your Services as a Designer

The finest collection of ui/ux design components, patterns, examples and inspiration. – A “design inspirational” library chock full of great examples.
Example from The finest collection of ui/ux design components, patterns, examples and inspiration.

Dramatic BW – A modern black and white Lightroom preset to help you add some drama to your pictures.
Example from Dramatic BW

Dieter Rams Wallpapers – Use one of the iconic designer’s creations as your wallpaper.
Example from Dieter Rams Wallpapers

The post Weekly News for Designers № 546 appeared first on Speckyboy Design Magazine.

Site News: Blast from the Past – One Year Ago in PHP (06.25.2020)

Here's what was popular in the PHP community one year ago today:

PHP Internals News: Episode 59: Named Arguments

PHP Internals News: Episode 59: Named Arguments

In this episode of "PHP Internals News" I chat with Nikita Popov (Twitter, GitHub, Website) about his Named Parameter RFC.

The RSS feed for this podcast is https://derickrethans.nl/feed-phpinternalsnews.xml, you can download this episode's MP3 file, and it's available on Spotify and iTunes. There is a dedicated website: https://phpinternals.news

Transcript

Derick Rethans 0:18

Hi, I'm Derick, and this is PHP internals news, a weekly podcast dedicated to demystifying the development of the PHP language. This is Episode 59. Today I'm talking with Nikita Popov about a few RFCs that he's produced. Hello Nikita, how are you this morning?

Nikita Popov 0:35

Hey Derick, I'm great. How are you?

Derick Rethans 0:38

Not too bad, not too bad today. I think I made a decision to stop asking you to introduce yourself because we've done this so many times now. We have quite a few things to go through today. So let's start with the bigger one, which is the named arguments RFC. We have in PHP eight already seen quite a few changes to how PHP deals with set up and things like that we have had an argument promotion in constructors, we have the mixed type, we have union types, and now named arguments, I suppose built on top of that, again, so what are named arguments?

Nikita Popov 1:07

Currently, if you're calling a function or a method you have to pass the arguments in a certain order. So in the same order in which they were declared in the function, or method declaration. And what named arguments or parameters allows you to do is to instead specify the argument names, when doing the call. Just taking the first example from the RFC, we have the array_fill function, and the array_fill function accepts three arguments. So you can call like array_fill( 0, 100, 50 ). Now, like what what does that actually mean? This function signature is not really great because you can't really tell what the meaning of this parameter is and, in which order you should be passing them. So with named parameters, the same call would be is something like: array_fill, where the start index is zero, the number is 100, and the value is 50. And that should immediately make this call, like much more understandable, because you know what the arguments mean. And this is really one of the main like motivations or benefits of having named parameters.

Derick Rethans 2:20

Of course developers that use an IDE already have this information available through an IDE. But of course named arguments will also start working for people that don't have, or don't want to use an IDE at that moment.

Nikita Popov 2:31

At least in PhpStorm, there is a feature where you can enable these argument labels for constants typically only. This would basically move this particular information into the language, but I should say that of course this is not the only advantage of having named parameters. So making code more self documenting is one aspect, but there are a couple couple more of them. I think one important one is that you can skip default values. So if you have a function that has many optional arguments, and you only want to say change the last one, then right now you actually have to pass all the arguments before the last one as well and you have to know: Well, what is the correct default value to pass there, even though you don't really care about it.

Derick Rethans 3:19

If I remember correctly, there are a few functions in PHP's standard library, where you cannot actually replicate the default value with specifying an argument value, because they have this really complex and weird kind

Truncated by Planet PHP, read more at the original (another 22256 bytes)

PHP Myers Cyclomatic Complexity Inspector

Package:
Summary:
Evaluate PHP code complexity using Myers extension
Groups:
Author:
Description:
This package can evaluate PHP code complexity using Myers extension...

Read more at https://www.phpclasses.org/package/11694-PHP-Evaluate-PHP-code-complexity-using-Myers-extension.html#2020-06-24-22:47:17

PHP 8.0.0 Alpha 1 available for testing

The PHP team is pleased to announce the first testing release of PHP 8.0.0, Alpha 1. This starts the PHP 8.0 release cycle, the rough outline of which is specified in the PHP Wiki. For source downloads of PHP 8.0.0 Alpha 1 please visit the download page.Please carefully test this version and report any issues found in the bug reporting system.Please DO NOT use this version in production, it is an early test version. For more information on the new features and other changes, you can read the NEWS file, or the UPGRADING file for a complete list of upgrading notes. These files can also be found in the release archive. The next release will be Alpha 2, planned for 9 Jul 2020.The signatures for the release can be found in the manifest or on the QA site.Thank you for helping us make PHP better.

PHP Barcode and QRCode Reader and Generator

Package:
Summary:
Generate barcodes and qrcodes for printing
Groups:
Author:
Description:
This package can be used to generate barcodes and qrcodes for printing...

Read more at https://www.phpclasses.org/package/11692-PHP-Generate-barcodes-and-qrcodes-for-printing.html#2020-06-23-17:35:00
Powered by Gewgley