1114 stories
·
1 follower

(╯°□°)╯︵ ┻━┻, gif’d

1 Share

(via Daniel)

Read the whole story
emrox
9 days ago
reply
Hamburg, Germany
Share this story
Delete

A Comprehensive Guide To HTTP/2 Server Push

1 Share

   

The landscape for the performance-minded developer has changed significantly in the last year or so, with the emergence of HTTP/2 being perhaps the most significant of all. No longer is HTTP/2 a feature we pine for. It has arrived, and with it comes server push!

A Guide To HTTP/2 Server Push

Aside from solving common HTTP/1 performance problems (e.g., head of line blocking and uncompressed headers), HTTP/2 also gives us server push! Server push allows you to send site assets to the user before they've even asked for them. It’s an elegant way to achieve the performance benefits of HTTP/1 optimization practices such as inlining, but without the drawbacks that come with that practice.

The post A Comprehensive Guide To HTTP/2 Server Push appeared first on Smashing Magazine.

Read the whole story
emrox
14 days ago
reply
Hamburg, Germany
Share this story
Delete

It’s not a bug

2 Shares

Read the whole story
emrox
18 days ago
reply
Hamburg, Germany
Share this story
Delete

Hanami v1.0.0

1 Share
Production ready, new team members, new governance for the project. http://hanamirb.org/blog/2017/04/06/announcing-hanami-100.html
Read the whole story
emrox
18 days ago
reply
Hamburg, Germany
Share this story
Delete

How to Choose the Right Front-End Framework for Your Company

1 Share

During an evaluation of our core web platform at Singapore-based employee benefits start-up CXA Group, we decided to shift direction away from the aging existing architecture and rebuild the front-end from scratch. One of the challenges of the platform is to create a web application that works well across CXA Group's 12 target countries throughout Asia.

Taking into account the hard deadline we had set for delivering the project, I led an evaluation of a range of front-end JavaScript frameworks. The opportunity to make this level of change doesn't often present itself in major corporate projects so we tried to be as thorough as possible in the evaluation process.

There was a lot on the line in the decision: with the exponential growth of our business, we couldn't afford any missteps along the way. We also had to take into account the fact no one in the team had any significant experience in any of the frameworks we were looking at.

Narrowing the Field

New front-end frameworks seem to be published every day, so we conducted a meta-analysis to reduce the range of frameworks we considered. Including frameworks we had heard of, or had recommended to us, we were left with Angular 2 (heard of), Aurelia (heard of), Vue.js (recommendation) and React (recommendation).

We measured each short-listed framework against a list of key requirements to see how they ranked. Some of the requirements were based on what we knew we would need for the project while others were projecting forward to what we would like to do.

Flexibility

Our chosen framework would need to present a range of configuration options and be relatively simple to customize. Much of this seems to come down the architectural philosophies: making architectural decisions on your behalf or leaving them entirely open.

Angular 2 exists at the monolithic end of this with every choice (state server, router, handlers) made for you. The benefit of this is it's very easy to get up and running quickly, while the potential cost is modules not working how you need them to and having nowhere to go.

React, Vue, and Aurelia are at the other end of the scale, offering the ability to swap in components as required. Aurelia and Vue have a key advantage over React with configurable boilerplates in their initial setup.

Like Vue, React itself only presents a small part of what you need to build something. From there, many decisions have to be made which is certainly daunting. In the time since React's initial launch, various boilerplates (including React Boilerplate and Create React App) have been created to ease the introduction.

For our test React project, we decided to forgo any particular boilerplate and dive straight into it. We still installed a few, if only for reference code. This approach was certainly difficult but we learned a lot about each component in our React stack and felt more confident with the end result.

Vue and Aurelia won this round with their reduced learning curve and modular structures. React earned a partial credit for flexibility even though the initial setup is more notably difficult.

Offline Support

With APIs like Service Workers, the ability for web applications to function without a live or stable Internet connection has become a possibility. Within our team, we've not yet had much experience in this area and didn't dive much deeper into it other than to confirm all the frameworks evaluated offer offline support of some variety.

Light Weight

The byte-size of code sent to the client makes a big difference in browser performance, both for bandwidth and processor time. As custom code and third-party libraries are added, the byte size can only get worse making it critical to start small. CXA Group's target market extends into countries where bandwidth comes at a premium, so it is essential that we deliver as little code to our clients as we can.

In lieu of hard data reflecting production configurations, we looked at core library sizes to give at least some indication of what we would be in for. Actual production sizes are larger than shown here.

Continue reading %How to Choose the Right Front-End Framework for Your Company%

Read the whole story
emrox
26 days ago
reply
Hamburg, Germany
Share this story
Delete

Beyond The Browser: From Web Apps To Desktop Apps

1 Share

   

I started out as a web developer, and that's now one part of what I do as a full-stack developer, but never had I imagined I'd create things for the desktop. I love the web. I love how altruistic our community is, how it embraces open-source, testing and pushing the envelope.

Beyond The Browser: From Web Apps To Desktop Apps

I love discovering beautiful websites and powerful apps. When I was first tasked with creating a desktop app, I was apprehensive and intimidated. It seemed like it would be difficult, or at least… different.

The post Beyond The Browser: From Web Apps To Desktop Apps appeared first on Smashing Magazine.

Read the whole story
emrox
26 days ago
reply
Hamburg, Germany
Share this story
Delete
Next Page of Stories