Step Away From the Framework

Presented by Kianosh Pourian @kianoshp

About Me

  • Web developer since 1998
  • Promoter of the open web
  • Spiria Vice President, Boston(@spiria)

 

DIGITAL SOLUTIONS THAT DEFINE WHAT IS NEXT

Talk inspired by:

Blast from the Past

In 2003, working on moving one of Staples websites from Net.Commerce to Websphere Commerce

IBM® WebSphere® Commerce provides an e-commerce platform that can deliver seamless and consistent omni-channel shopping experiences, including mobile, social and in-store. WebSphere Commerce helps engage your customers with immersive brand experiences through contextually relevant content, marketing and promotions, while extending your brand across customer touch points.

  • Have we moved the monolithic app from the server to the client?
  • Are we sometimes trying to hard to use a framework?
  • Are frameworks worth the expense?

The web is moving too fast

  • 81 articles in my inbox (JavaScript weekly, Node Weekly, ReactJS weekly, Web design weekly, etc...
  • ~16 hours of YouTube presentations
  • 1378 favorited tweets
  • ~75 articles in my Instapaper/Evernote app

A framework is born every 2 seconds

A framework is born every 2 seconds

If this is the web

Then this is us

"The JavaScript world seems to be entering a crisis of churn rate. Frameworks and technologies are being pushed out and burned through at an unsustainable speed." - Brek-McKye

Fragmentation

...It’s not even fragmentation, it’s fragmentation cubed. I’ve lost count of the number of MVmumble frameworks I’ve seen pitched as “a framework using Foo, Bar and Baz”,

where Foo turns out to be an event library you’ve never heard of with 3% usage share,

Bar is a templating library you’ve never heard of with 2% share

and Baz is a databinding library you’ve never heard of with 1%,

making the combination useful to… I dunno, the author, maybe, for the next five minutes until he switches to a new set of libraries." - othermike, Reddit

What is wrong with using a framework?

I like frameworks and I have been a consumer of some BUUUUT...

  • Frameworks can make us lazy
  • We rely too much on the "magic"
  • We hardly look under the hood

What you get when you download angularJS

small libraries > frameworks

AngularJS - Future State?

AngularJS - Future State?

Advantages

  • No longer shackled to an "all or nothing" option
  • Assemble the parts that you need and use
    • Lighter weight libraries === better performance
  • Frameworks should evolve into specialized libraries
  • Follow the FIRST rule (Focused, Independent, Reusable, and Testable http://addyosmani.com/first/.

Development is art!

Young-ha Kim's TED talk "Be an Artist, Right Now!":

 

 

Roland Barthes once said of one of Gustave Flaubert's novels:

"Flaubert did not write a novel, he merely connected one sentence after another. The eros between the sentences, that is the essence of Flaubert's novel." 

The starting paragraph of a book sets the tone:

"As Gregor Samsa awoke one morning from uneasy dreams he found himself transformed in his bed into a gigantic insect. He was lying on his hard, as it were armor-plated, back and when he lifted his head a little he could see his dome-like brown belly divided into stiff arched segments on top of which the bed quilt could hardly keep in position and was about to slide off completely. His numerous legs, which were pitifully thin compared to the rest of his bulk, waved helplessly before his eyes."  

- Metamorphosis (Franz Kafka)

All other sentences and paragraphs that follow the initial paragraph work to maintain its integrity while building upon it.

The product/application is our final novel, let's make sure we put the right words that lead to great sentence structure and fluidity which will justify the starting paragraph and create an awesome novel in the end.

If you expect the unexpected...

doesn't that make the unexpected, expected?

Nonsequiter

Thank you!

Step Away From the Framework

By Kianosh Pourian

Step Away From the Framework

  • 932