让天下没有难学的编程 |

全部资讯


#350: How Properties Work in the V8 Engine

This week's JavaScript news — Read this e-mail on the Web JavaScript Weekly Issue 350 — September 1, 2017 How Properties Work in the V8 Engine A look at how V8 handles object properties. Worth a read to have a technical, under-the-hood idea of what’s going on in the V8 engine. Camillo Bruni Safari Accidentally Treating ';' as an Assignment Operator An interesting accident. The official bug report goes into more detail, including why it’s happening. Twitter #1 Way to Detect, Diagnose and Defeat Errors 收起
显示全部文字 查看全文
作者/
时间/2017-09-01 00:00:00

Automating Google Chrome with Node.js

In this tutorial we explore the new Headless Chrome platform and try out some scripts for automated browser testing.
查看全文
作者/Danny Markov
时间/2017-08-31 22:45:22

A Book Apart

You know A Book Apart! They've published all kinds of iconic books in our field. They are short and to the point. The kind of book you can read in a single flight. I wrote on not so long ago called Practical SVG. Fortunately for us both, SVG isn't the most fast-moving technology out there, so reading this book now and using what you learn is just as useful now as it ever was. More interested in JavaScript, … A Book Apart is a post from CSS-Tricks收起
显示全部文字 查看全文
作者/Chris Coyier
时间/2017-08-31 20:57:09

How to Write Better Code: The 3 Levels of Code Consistency

When working on an article about user-centered web development I ended up exploring a bit more the topic of consistency in code. Consistency is one of the key reasons why we need coding guidelines and also a factor for code quality. Interestingly enough, so I noted, there are three levels of consistency: individual, collective, and institutional. Level 1: Individual Consistency At a basic level, when there's little standardization in our organization (or when we simply work alone), consistency simply … How to Write Better Code: The 3 Levels of Code Consistency is a post from CSS-Tricks收起
显示全部文字 查看全文
作者/Jens Oliver Meiert
时间/2017-08-31 20:46:32

Seven

Tia would turn 7 today. But she doesn't, for another year. I see her dark ginger hair in my sleep. I glimpse her playing with her younger brother and sister. I feel all of us, happy, together, in another life, in a separate reality. But she died during labour. Each August is hard on my wife and I. Each passing first is a loss unto itself. That first Christmas, that first birthday, the first day of school that she never took. All those firsts, all stolen from us just because life is a bulldozer with no sense of direction. Then as each year steams on, feelings are always a little different. Different moments of life spark fresh flames of pain. A little ginger girl offering us a fantasy of what Tia would look like. Or for me, a tiny gesture in a film felt like a needle hole to chasm of pain. This year, for me, has been different. I've not cried. I've certainly thought of Tia, missed her and daydreamed of being with her siblings, but I've not felt the burning pain and anger I usually have done. Perhaps it's my antidepressants dulling down my pain, but I don't think so. I remember in the first year that the grief of losing Tia was so unbearable that the majority of my pain manifest as anger. An inexplicable anger that wanted the entire world to burn. I wanted everyone to stop and hear of our loss. I wanted the earth to stop rotating. I wanted everything to burn. I remember thinking that if this anger and pain is all I have that remains of my baby girl, then I never want to stop feeling this emotion. Between then and now I've had some counselling. The person I saw helped me shine some light into those dark thoughts and feelings. I've also had time to practice carrying the weight of her loss. My fear was that if I didn't hurt, then maybe I would forget. If I forget, then what proof would there be that Tia ever existed? I don't need the world to burn today. I don't feel anger that people idly walk through their lives never knowing about Tia.The thought of her memory being forgotten though, that thought haunts me. It haunts me in the same way at the thought that I cannot change time to reverse what we've lost. I don't cry for Tia today, but I know I will do again. And that's all okay. She is our heartbreaker. We: me, my wife and our children, carry Tia in our hearts. I wish for more and it really isn't enough. It never will be. We miss you.收起
显示全部文字 查看全文
作者/
时间/2017-08-31 17:58:07

Goodbye Summer, Hello Autumn! Inspiring Wallpapers To Start September Off Right (2017 Edition)

    As designers we usually turn to different sources of inspiration, and, well, sometimes the best inspiration lies right in front of us. With that in mind, we embarked on a special creativity mission nine years ago: to provide you with inspiring and unique desktop wallpapers every month. Wallpapers that are a bit more distinctive as the usual crowd and that are bound to fuel your ideas. We are very thankful to all artists and designers who have contributed and are still diligently contributing to this mission, who challenge their artistic abilities each month anew to keep the steady stream of wallpapers flowing. This post features their artwork for September 2017. All wallpapers come in two versions — with and without a calendar — and can be downloaded for free. Time to freshen up your desktop!The post Goodbye Summer, Hello Autumn! Inspiring Wallpapers To Start September Off Right (2017 Edition) appeared first on Smashing Magazine.收起
显示全部文字 查看全文
作者/Cosima Mielke
时间/2017-08-31 17:57:51

Upcoming O’Reilly Velocity Conferences

Velocity Conference is one of those conferences that every type of software industry specialist should go to, and I say that as a front-end developer.  Velocity covers a host of important topics:  security, performance and scaling, devops, leadership, and more.  While I love nothing more than burying my head into a text editor, a recognize […] The post Upcoming O’Reilly Velocity Conferences appeared first on David Walsh Blog. 收起
显示全部文字 查看全文
作者/David Walsh
时间/2017-08-30 22:50:32

Building Skeleton Screens with CSS Custom Properties

Designing loading states on the web is often overlooked or dismissed as an afterthought. Performance is not only a developer's responsibility, building an experience that works with slow connections can be a design challenge as well. While developers need to pay attention to things like minification and caching, designers have to think about how the UI will look and behave while it is in a "loading" or "offline" state. The illusion of Speed As our expectations for mobile experiences change, … Building Skeleton Screens with CSS Custom Properties is a post from CSS-Tricks收起
显示全部文字 查看全文
作者/Max Böck
时间/2017-08-30 20:26:49

An Introduction To Gravit Designer: Designing A Weather App (Part 2)

    Welcome back to the second part of this tutorial on Gravit Designer. In the first part we took a general look at Gravit and set everything up, created the background image in the weather app and the status bar, and then started to make the initial elements of the design’s content. Let's continue where we left off. Having created the main text layers of the content area in part one of this tutorial, let’s continue with the weather conditions for the different times of day.The post An Introduction To Gravit Designer: Designing A Weather App (Part 2) appeared first on Smashing Magazine.收起
显示全部文字 查看全文
作者/Christian Krammer
时间/2017-08-30 19:52:53

Progress Telerik UI for UWP Joins the .NET Foundation

The post Progress Telerik UI for UWP Joins the .NET Foundation appeared first on Telerik Developer Network.
查看全文
作者/Brian Rinaldi
时间/2017-08-30 02:13:29

React and Vue Support Coming to Kendo UI

The post React and Vue Support Coming to Kendo UI appeared first on Telerik Developer Network.
查看全文
作者/Brian Rinaldi
时间/2017-08-30 02:12:21

Prefilling a Date Input

HTML has a special input type for dates, like this: <input type="date">. In supporting browsers (pretty good), users will get UI for selecting a date. Super useful stuff, especially since it falls back to a usable text input. But how do you set it to a particular day? To set a particular day, you'll need to set the value to a YYYY-MM-DD format, like this: <input type="date" value="1980-08-26"> Minor note: placeholder won't do anything in a browser … Prefilling a Date Input is a post from CSS-Tricks收起
显示全部文字 查看全文
作者/Chris Coyier
时间/2017-08-29 22:43:23

Create Zip Files with JavaScript

While we’re doing amazing things with JavaScript on the server side, it’s important not to take our eyes off of some of the great stuff happening on the client side.  One such awesome project I recently discovered was JSZip:  a JavaScript library that allows you to easily generate ZIP files from the front-end.  And why […] The post Create Zip Files with JavaScript appeared first on David Walsh Blog. 收起
显示全部文字 查看全文
作者/David Walsh
时间/2017-08-29 21:41:46

Is Success Down To The Quality Of Your Work?

    One of the biggest fallacies of our industry is that good work speaks for itself. It is a self-delusional lie that those with a good reputation tell themselves to explain their success. I will let you in on a secret; I am not that amazing at my job. Don’t get me wrong; I am good. But I am not a leading mind in our industry or anything. But, people often talk as if I am.The post Is Success Down To The Quality Of Your Work? appeared first on Smashing Magazine.收起
显示全部文字 查看全文
作者/Paul Boag
时间/2017-08-29 20:48:29

An introduction to styled-components with Glen Maddern

CSS in JavaScript has been something I’ve been meaning to explore for a while now; it’s also one the questions I get asked most when I talk about my experience with React. styled-components by Glen Maddern and Max Stoiber is a library aimed at making it really easy to use CSS in React components (and also supports Preact out of the box). Rather than tackle this post alone, I invited Glen to join me to record an introduction to using styled-components. You can also watch the video directly on YouTube if you prefer. A huge thanks to Glen for taking the time to talk to me. His videos on Frontend Center are absolutely excellent and I highly recommend subscribing. You can find all the code from this video on the GitHub repository; if you have any questions feel free to raise an issue there. If you have any thoughts on other videos you’d like to see, please let me know.收起
显示全部文字 查看全文
作者/
时间/2017-08-29 00:00:00

JavaScript Scope and Closures

Scopes and closures are important in JavaScript. But, they were confusing for me when I first started. Here's an explanation of scopes and closures to help you understand what they are. Let's start with scopes. Scope A scope in JavaScript defines what variables you have access to. There are two kinds of scope – global scope and local scope. Global scope If a variable is declared outside all functions or curly braces ({}), it is said to be … JavaScript Scope and Closures is a post from CSS-Tricks收起
显示全部文字 查看全文
作者/Chris Coyier
时间/2017-08-28 22:06:43

Launching An App? Make App Store Optimization Your Foundation For Growth

    Most apps developed and released in Google’s Play store are abandoned by their developers. Over half of these apps get fewer than 5000 downloads, and most apps are considered unprofitable. This article is not going to make you the next Instagram, but it will hopefully help you get a nice base level of users that you can grow from. To give you some better understanding of numbers, the example app in this article received 100,000 downloads in eight weeks. This is with a marketing budget of zero and very little work since launch. We’ll cover the basic app store optimizations that will help bring people to your Google Play page. Getting them to download and stay is up to you and up to the value your app provides.The post Launching An App? Make App Store Optimization Your Foundation For Growth appeared first on Smashing Magazine.收起
显示全部文字 查看全文
作者/Aidan Sliney
时间/2017-08-28 20:47:03

What to Expect at Your First WordCamp

You can’t quite call yourself a card-carrying member of the WordPress community if you’ve never attended a WordCamp event, at least not if there’s one near you. WordCamp events are put on all across the world in major cities. According … Continue reading →收起
显示全部文字 查看全文
作者/Maddy Osman
时间/2017-08-28 15:45:18

Managing CSS & JS in an HTTP/2 World

Trevor Davis on how we'll link up CSS when we go all-in on HTTP/2: This is the opposite of what we have done as best practice for years now. But in order to take advantage of multiplexing, it's best to break up your CSS into smaller files so that only the necessary CSS is loaded on each page. An example page markup would look something like this: <link href="stylesheets/modules/text-block/index.css" rel="stylesheet"> <div class="text-block"> ... </div> <link href="stylesheets/modules/two-column-block/index.css" rel="stylesheet"> <div class="two-column-block"> ... … Managing CSS & JS in an HTTP/2 World is a post from CSS-Tricks收起
显示全部文字 查看全文
作者/Chris Coyier
时间/2017-08-26 23:39:34

Azure for Developers

On this Episode of Eat Sleep Code, guest Michael Crump talks about why Azure is important to .NET developers. We learn how Azure goes beyond virtualization, hosting databases and deploying websites. Michael talks about his experience with Azure coming from a C# client app background and the “ah-ha!” moment with the benefits of moving to […] The post Azure for Developers appeared first on Telerik Developer Network.收起
显示全部文字 查看全文
作者/Ed Charbeneau
时间/2017-08-26 03:42:48