Axis (codename SearchX) has been a pure joy for our team to work on. It is one of the first projects at Yahoo! that runs on the new stack provided by the Cocktails infrastructure. Expanding Axis for iPad, iPhone and all four major desktop browsers from day one, and using the brand new Mojito Application Framework has been a unique experience and today we want to walk you through some of the architecture decisions and lessons learned while trying to choose between a variety of choices like Hybrid vs Native vs Web. The paths we chose to achieve the level of maintainability and scalability required for such a large scale project, some of the UI optimizations we did along the way.
58. In Mojito,YUI covers a
lot in terms of adaptation:
- YUI().use(‘cache-offline’)
- Y.on(‘click’)
- Y.on(‘orientationchange’)
- Y.CL.on(‘query’)
- Y.Foo
59. Adapt per:
- Screen size (css media queries)
- Orientation (landscape vs portrait)
- Connection Speed (3G)
- Memory (iOS memory warning)
- Foo / Bar / Baz (???)