O'Reilly Fluent Conf – Helping Your Code Take Flight With The Right Abstractions – From RequireJS To Webpack



O'Reilly Fluent Conf – Helping Your Code Take Flight With The Right Abstractions – From RequireJS To Webpack

0 0


fluent-2016-review

RevealJS Slides for an overview of Fluent I gave at work

On Github thunklife / fluent-2016-review

O'Reilly Fluent Conf

The Web Platform

March 9 - 10

*san francisco

This guy

Totally punched in the throat ok not really
this slide intentionally left blank

Helping Your Code Take Flight With The Right Abstractions

Design abstractions that aren't just composable, but are combinatorial

Build APIs that allow for uses that you may have never thought of

Just because code is modular doesn't mean it is decoupled

From RequireJS To Webpack

How to transition from RequireJS to Webpack with minimal effort

Basic introduction to Webpack

"Best practices" for keeping your Webpack config simple and maintainable

Hash Functions And You: Partners In Freedom

Hash functions, hash tables, bloom filters, security...

Lots of great stuff, most of which I need to go over again

How To Write A Worthwhile Test

or

How To Stop Hating Your Tests

Structure

Avoid big objects and big methods/functions

Resist the urge to add "just one more" argument to a function

Structure your tests consistently

Make your tests easy to skim; don't use logic in your tests

Don't be creative in your tests. Be obvious and consistent

Isolation

Avoid unfocused tests

Maintain two suites. One highly integrated, one highly isolated

Avoid tests that are too realistic

Understand that realism is expensive

Avoid careless mocking

Test Feedback

Avoid libraries with bad test failure messages

Optimize test feedback loops

Be aware of false negatives in test failures

Write Fewer Integration Tests

UX Advice From A Drunk Guy

Your site should be so simple that a drunk person could use it

There is literally a guy you can pay to get drunk and use your website.

Types Of User Tests

In-person moderated

Remote unmoderated

Responsible Testing

Know your demographic

Run a pilot test

Don't lead the user

Use unsolicited feedback

How To Design For Drunks

Users dictate your design

Users should be too busy using your designs to notice them

Don't overcomplicate

Don't oversimplify

Organize information intuitively

Optimize for speed

After Party

Site Seeing

aka walking aimlessly for an hour

Fine Cuisine

Day 2

The Seif Project

What's Wrong With The Web

Insecure

Complex

The wrong tools

What Then?

Seif is a complete rethinking of web apps with a focus on security

No HTML

No passwords

Strong crypto throughout

How?

Browser partner

High security business partner

Everything that isn't Seif still works

Roadmap

Seif node

Seif protocol

Seif resource management

Seif apps

CSS For Developers

Review of CSS using 3 different personas

Great to reinforce understanding of core concepts

Introduction to BEM conventions, pre-processors, and linters

The Darkside Of Security

Frightening overview of web security

It's not just large breaches, there are small breaches all the time.

Great overview of tools used to exploit sites

How much traffic is from bots?

92%

How To Survive 6 Hours At SFO

Beer

Thanks.