Hacker News new | ask | show | jobs
by malandrew 4429 days ago
I'm one of the two tools engineers at the company and what we're building is a few months from being released. Since I'm on tools, I didn't actually work on the responsive layout stuff, so I won't really be able to your questions about how we did that in detail.

What I can say is that what you're seeing are basically constraints and if you define lots of constraints, you can then use a constraints solver to help you automatically lay out your app on different devices based on rules you've defined. We're only beginning to explore these ideas at the moment, but we're definitely open to suggestions in the meantime.

If you're curious to know more about constraints and layout, check out the links below.

Regarding the notion of authoring content and then adding the whizz bang later, we're definitely interested in solving those problems, but it's going to take a while to get there. Ultimately, I think it's going to take an approach similar to what ember did, where you take a routes first approach. Once you have your routes, you then create the parts that determine what content/data needs to be show based on those routes. Once you're that far you, can then work on two layout strategies: one rendered by the server as static HTML and one that is rendered on the fly in clients with javascript enabled. My hope is that people are super lazy about the static HTML site, basically doing as little design as possible, leaving the final design looking more like the web before frames even existed; i.e. one long scrolling document with anchors jumping to the content you want, and reverse anchors taking you back to where you just were. I'm even curious if we could get back entirely to document oriented design as a fallback instead of some weird unusable frankenstein we get today when designers eager to make things rich and interactive also attempt make the same design support legacy browsers and the visually impaired.

[0] http://gridstylesheets.org/

[1] https://news.ycombinator.com/item?id=7353944

[2] https://developer.apple.com/library/ios/documentation/userex...

[3] https://harlanhaskins.com/2014/03/02/laying-out-ios-uis-in-c...

[4] https://news.ycombinator.com/item?id=7330683