This document discusses front-end engineering at Douban. It describes how Douban uses a modular approach with common libraries and frameworks to organize JavaScript across its sites. Key aspects include DoubanUI for standard UI components, the Do framework for module management, and a collaborative development process involving prototyping, iteration, building, and testing across different environments.
This document summarizes the book "Ubuntu: I am because we are" by Stephen Lundin and Bob Nelson. The main focus of the book is how collective effort and reciprocal value within a team can achieve great performance. It discusses how Ubuntu encourages recognizing employees for who they are as individuals, forming trusting relationships, and prioritizing the success of the group over any single person. The document reflects on how appreciation is more effective than punishment, and how small actions can lead to big changes when people work together.
This document describes principles that guided the development of HTML5. It emphasizes compatibility with existing content, avoiding unnecessary complexity, solving real problems, allowing graceful degradation, and prioritizing users over other constituencies. Key principles include supporting existing content, paving the cowpaths by formalizing common patterns, and designing for a network effect where more users increase the value.
The document discusses the use of APC (Alternative PHP Cache) and Memcached for caching and improving performance in PHP applications. APC is useful for opcode caching and basic user data caching, while Memcached provides a more robust distributed caching system and additional features like data segmentation across multiple servers and atomic counters. The document provides examples of using the basic caching functions of APC and Memcached, as well as more advanced techniques.
Memcached provides methods to get statistics on individual servers or aggregated across all servers, flush all data, reset connection stats, and get the list of servers.
1) Hardware upgrades are often cheaper and provide more performance gains than slow, error-prone code optimizations. Profiling and caching can provide gains without changing code.
2) Premature optimization wastes time; optimize only after identifying bottlenecks through profiling. Simplify code through modularization instead of over-engineering.
3) Caching queries, pages, and computation results in memory provides major speedups with little effort compared to direct code optimizations. Match buffer sizes for efficient PHP-to-OS communication.
The document provides an introduction to common weeds found on cotton farms in Australia. It notes that while some weed species have been researched, most remain poorly understood and difficult to control due to varying climatic conditions, farming practices, and soil types across cotton growing regions. The document aims to summarize effective control methods for some of the more common weeds, as identified by growers and consultants. It cautions that some of the herbicide options may be off-label and not in accordance with product directions.
Memcached provides methods to get statistics on individual servers or aggregated across all servers, flush all data, reset connection stats, and get the list of servers.
1) Hardware upgrades are often cheaper and provide more performance gains than slow, error-prone code optimizations. Profiling and caching can provide gains without changing code.
2) Premature optimization wastes time; optimize only after identifying bottlenecks through profiling. Simplify code through modularization instead of over-engineering.
3) Caching queries, pages, and computation results in memory provides major speedups with little effort compared to direct code optimizations. Match buffer sizes for efficient PHP-to-OS communication.
The document provides an introduction to common weeds found on cotton farms in Australia. It notes that while some weed species have been researched, most remain poorly understood and difficult to control due to varying climatic conditions, farming practices, and soil types across cotton growing regions. The document aims to summarize effective control methods for some of the more common weeds, as identified by growers and consultants. It cautions that some of the herbicide options may be off-label and not in accordance with product directions.
16. DoubanUI lib Lib Lib
jQuery
sns movie music
booksite
radio biz ...
coverflow
live_counter
Do
Friday, October 29, 2010
17. DoubanUI lib Lib Lib
jQuery
sns movie music
booksite
radio biz ...
coverflow
live_counter
Do
Common libs
Friday, October 29, 2010
18. DoubanUI lib Lib Lib
jQuery
sns movie music
booksite
radio biz ...
coverflow
live_counter
Do
Application libs
Common libs
Friday, October 29, 2010
19. DoubanUI lib Lib Lib
jQuery
sns movie music
booksite
radio biz ...
coverflow
live_counter
Do
Application libs
Common libs
Framework
Friday, October 29, 2010