7-王刚-Flutter在Now直播中的工程实践应用
Flutter技术在Now客户端中的应用 个人履历 工作履历:2012硕士毕业加入腾讯公司至今 ,参与手机QQ、 NOW直播、腾讯课堂等产 品的Android客户端。 姓名:王刚 英文:Kirawang 职位:腾讯移动端高级工程师 手机QQ NOW直播 分享目录 uNOW直播与Flutter uNOW直播中Flutter的开发模式 uNOW直播中Flutter的工程实践 u技术思考 u技术思考 关于NOW直播 •腾讯出品的个人直播平台 •2016年初上线 •Top3热门个人直播App •Tens of millions MAU 关于Flutter •Google推出的跨平台开发框架 •创建高性能,高稳定性,高帧率的 Android/iOS应用 •使用Dart语言开发 Flutter特性 跨平台 高性能 热重载 提升研发效 率 Flutter的应用 工程化开发模式Ⅰ •IDE直接集成Flutter产出模式 •快速方便集成 无法同步Dart代码 无法启动调试 Android IOS 工程化开发模式Ⅱ • Flutter工程集成NOW工程模式 • 修改NOW工程结构 • 将Dart代码与Native代码一起存放GIT • 修改编译脚本 • 支持断点调试 无法跨终端同步及维护Dart代码 工程化开发模式Ⅲ • Gradle/CocoaPods依赖管理0 码力 | 35 页 | 5.39 MB | 1 年前3Tornado 6.5 Documentation
be called when prepare has not. (These are considered bugs and may be fixed in the future, but for now you may need to check to see if the initialization work done in prepare has occurred) on_finish may = None) → str Decodes an argument from the request. The argument has been percent-decoded and is now a byte string. By default, this method decodes the argument as utf-8 and returns a unicode string, False) → Future[None] Flushes the current output buffer to the network. Changed in version 4.0: Now returns a Future if no callback is given. Changed in version 6.0: The callback argument was removed0 码力 | 272 页 | 1.12 MB | 2 月前3Tornado 6.4 Documentation
= None) → str Decodes an argument from the request. The argument has been percent-decoded and is now a byte string. By default, this method decodes the argument as utf-8 and returns a unicode string, False) → Future[None] Flushes the current output buffer to the network. Changed in version 4.0: Now returns a Future if no callback is given. Changed in version 6.0: The callback argument was removed raises an error if the connection is closed before all data can be sent. Changed in version 5.1: Now returns a Future instead of None. RequestHandler.render(template_name: str, **kwargs: Any) → Future[None]0 码力 | 268 页 | 1.09 MB | 1 年前3Tornado 6.4 Documentation
= None) → str Decodes an argument from the request. The argument has been percent-decoded and is now a byte string. By default, this method decodes the argument as utf-8 and returns a unicode string, False) → Future[None] Flushes the current output buffer to the network. Changed in version 4.0: Now returns a Future if no callback is given. Changed in version 6.0: The callback argument was removed raises an error if the connection is closed before all data can be sent. Changed in version 5.1: Now returns a Future instead of None. RequestHandler.render(template_name: str, **kwargs: Any) → Future[None]0 码力 | 268 页 | 1.09 MB | 1 年前3Tornado 6.4 Documentation
= None) → str Decodes an argument from the request. The argument has been percent-decoded and is now a byte string. By default, this method decodes the argument as utf-8 and returns a unicode string, False) → Future[None] Flushes the current output buffer to the network. Changed in version 4.0: Now returns a Future if no callback is given. Changed in version 6.0: The callback argument was removed raises an error if the connection is closed before all data can be sent. Changed in version 5.1: Now returns a Future instead of None. RequestHandler.render(template_name: str, **kwargs: Any) → Future[None]0 码力 | 268 页 | 1.09 MB | 1 年前3Tornado 6.1 Documentation
= None) → str Decodes an argument from the request. The argument has been percent-decoded and is now a byte string. By default, this method decodes the argument as utf-8 and returns a unicode string, False) → Future[None] Flushes the current output buffer to the network. Changed in version 4.0: Now returns a Future if no callback is given. Changed in version 6.0: The callback argument was removed raises an error if the connection is closed before all data can be sent. Changed in version 5.1: Now returns a Future instead of None. RequestHandler.render(template_name: str, **kwargs) → Future[None]0 码力 | 245 页 | 904.24 KB | 1 年前3Tornado 6.3 Documentation
= None) → str Decodes an argument from the request. The argument has been percent-decoded and is now a byte string. By default, this method decodes the argument as utf-8 and returns a unicode string, False) → Future[None] Flushes the current output buffer to the network. Changed in version 4.0: Now returns a Future if no callback is given. Changed in version 6.0: The callback argument was removed raises an error if the connection is closed before all data can be sent. Changed in version 5.1: Now returns a Future instead of None. RequestHandler.render(template_name: str, **kwargs: Any) → Future[None]0 码力 | 264 页 | 1.06 MB | 1 年前3Tornado 6.0 Documentation
= None) → str Decodes an argument from the request. The argument has been percent-decoded and is now a byte string. By default, this method decodes the argument as utf-8 and returns a unicode string, previous flush’s callback has been run, the previous callback will be discarded. Changed in version 4.0: Now returns a Future if no callback is given. Changed in version 6.0: The callback argument was removed raises an error if the connection is closed before all data can be sent. Changed in version 5.1: Now returns a Future instead of None. RequestHandler.render(template_name: str, **kwargs: Any) → Future[None]0 码力 | 245 页 | 885.76 KB | 1 年前3Tornado 6.2 Documentation
= None) → str Decodes an argument from the request. The argument has been percent-decoded and is now a byte string. By default, this method decodes the argument as utf-8 and returns a unicode string, False) → Future[None] Flushes the current output buffer to the network. Changed in version 4.0: Now returns a Future if no callback is given. Changed in version 6.0: The callback argument was removed raises an error if the connection is closed before all data can be sent. Changed in version 5.1: Now returns a Future instead of None. RequestHandler.render(template_name: str, **kwargs: Any) → Future[None]0 码力 | 260 页 | 1.06 MB | 1 年前3Tornado 5.1 Documentation
, name=None) Decodes an argument from the request. The argument has been percent-decoded and is now a byte string. By default, this method decodes the argument as utf-8 and returns a unicode string, previous flush’s callback has been run, the previous callback will be discarded. Changed in version 4.0: Now returns a Future if no callback is given. Deprecated since version 5.1: The callback argument is deprecated raises an error if the connection is closed before all data can be sent. Changed in version 5.1: Now returns a Future instead of None. RequestHandler.render(template_name, **kwargs) Renders the template0 码力 | 243 页 | 895.80 KB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100