资源描述
Click to edit Master title style,Click to edit text,Second level,Third level,Fourth level,Fifth level,*,*,Windows Phone,Microsoft Corporation.,Click to edit Master title style,Click to edit text,Second level,Third level,Fourth level,Fifth level,Click to edit Master title style,Click to edit text,Second level,Third level,Fourth level,Fifth level,Click to edit Master title style,Click to edit text,Second level,Third level,Fourth level,Fifth level,Click to edit Master title style,Click to edit text,Second level,Third level,Fourth level,Fifth level,Click to edit Master title style,Click to edit text,Second level,Third level,Fourth level,Fifth level,Click to edit Master title style,Click to edit text,Second level,Third level,Fourth level,Fifth level,Click to edit Master title style,Click to edit text,Second level,Third level,Fourth level,Fifth level,Click to edit Master title style,Click to edit text,Second level,Third level,Fourth level,Fifth level,Click to edit Master title style,Click to edit text,Second level,Third level,Fourth level,Fifth level,*,*,Windows Phone,Microsoft Corporation.,Click to edit Master title style,Click to edit text,Second level,Third level,Fourth level,Fifth level,*,*,Windows Phone,Microsoft Corporation.,Click to edit Master title style,Click to edit text,Second level,Third level,Fourth level,Fifth level,*,*,Windows Phone,Microsoft Corporation.,Click to edit Master title style,Click to edit text,Second level,Third level,Fourth level,Fifth level,*,*,Windows Phone,Microsoft Corporation.,Click to edit Master title style,Click to edit text,Second level,Third level,Fourth level,Fifth level,*,*,Windows Phone,Microsoft Corporation.,Click to edit Master title style,Click to edit text,Second level,Third level,Fourth level,Fifth level,*,*,Click to edit Master title style,Click to edit text,Second level,Third level,Fourth level,Fifth level,*,*,Click to edit Master title style,Click to edit text,Second level,Third level,Fourth level,Fifth level,*,*,Click to edit Master title style,Click to edit text,Second level,Third level,Fourth level,Fifth level,*,*,2011 Microsoft Corporation.,All rights reserved.Microsoft,Windows,Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S.and/or other countries.,The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation.Because Microsoft must respond to changing market conditions,it should not be interpreted to be a commitment on the part of Microsoft,and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation.,MICROSOFT MAKES NO WARRANTIES,EXPRESS,IMPLIED OR STATUTORY,AS TO THE INFORMATION IN THIS PRESENTATION.,Click to edit Master title style,Click to edit text,Second level,Third level,Fourth level,Fifth level,*,*,Click to edit Master title style,Click to edit text,Second level,Third level,Fourth level,Fifth level,Click to edit Master title style,Click to edit text,Second level,Third level,Fourth level,Fifth level,Click to edit Master title style,Click to edit text,Second level,Third level,Fourth level,Fifth level,*,*,Click to edit Master title style,Click to edit text,Second level,Third level,Fourth level,Fifth level,*,*,Windows Phone 7,开发实例,构建高质量的,WP7,应用程序,李政,-,小米科技,天翼空间应用工厂专家讲坛,Agenda,产品定义,应用程序架构,MVVM,单元测试,用户界面,Panorama VS Pivot,站在巨人的肩膀上,性能,启动性能,数据库性能,UI,性能,内存泄露,错误报告,应用程序架构,用户界面,错误报告,产品定义,性能,产品定义,应用程序架构,用户界面,错误报告,产品定义,性能,方向比努力更重要,4,腾讯,:,即时通讯,李彦宏,:,搜索,马云,:,电子支付,成功的产品,强大的产品经理,强大的工程师,成功的产品,高质量的产品,6,应用程序架构,应用程序架构,用户界面,错误报告,产品定义,性能,传统的,Silverlight,应用程序架构,8,View,Model,(domain objects),XAML,(UI layout),Code Behind,updates,may observe,代码示例,9,XAML:,window layout+named controls,Code behind:,event handlers and manipulating the controls,void CountryList_SelectionChanged(),City.Text=,GetCity(CountryList.SelectedItem as Country);,MVVM,10,Model,View,Something,Controller?,Presenter?,Code Behind?,MVVM(Model-View-ViewModel),11,Model,(domain objects),View,(input,output),ViewModel,(UI state),updates,may observe,DataBinding,View.DataContext=ViewModel;,深入,MVVM,源出处:,微软官方开,源,源类库,Prism,:,MVVM,在,WP7,中的应用实,例,例:,http:/ VS Pivot,Panorama,强调多种数,据,据源的聚合,,,,像一个主,页,页去到不同,的,的地方,商,店,店,人脉。,Pivot,对相似数据,的,的过滤,短,信,信,邮件。,http:/ VS Pivot,17,给用户与内,置,置应用一致,的,的体验。,让用户觉得,每,每个小细节,都,都处理的很,用,用心。,站在巨人的,肩,肩膀上,Windows Phone SDK 7.1,Silverlight Toolkit for WP,Coding4funToolkit for WP,AdControl,Border,Button,Canvas,CheckBox,Ellipse,Grid,HyperlinkButton,Image,ListBox,Map,MediaElement,Panorama,PasswordBox,Pivot,ProgressBar,RadioButton,Rectange,ScrollViewer,Slider,StackPanel,TextBlock,TextBox,WebBrowser,AutoCompleteBox,ContextMenu,DatePicker,DateTimeConverters,ExpanderView,Gestures,HeaderedItemsControl,HubTile,ListPicker,LocalizedResources,LockablePivot,LongListSelector,LoopingSelector,MultiselectList,Page Transitions,PerformanceProgressBar,PhoneTextBox,RecurringDaysPicker,TiltEffect,TimePicker,ToggleSwitch,WrapPanel,AboutPrompt,Co
展开阅读全文