SlideShare une entreprise Scribd logo
1  sur  40
Télécharger pour lire hors ligne
•



•




•
•
•
•
•
•
•
•
•
B/S	
  &	
  C/S

                   RIA	
  



     <table>
   <div>




            HTML
              5
Silverlight

              
              



              
              
              
              
              
              


              
              



              
              

              
              
              
              
              
.Net   Silverlight
                           4.3M
50M
FPS




100
      0.4
                  500+
WebServices
H:pHandler
 RIAServise
“                 ”   	
  
        Silverlight       “        ”
           “IsolatedStorage”



Silverlight
                                                                            •
                                                           •
                                         •

                     Cross-­‐Domain	
  Policy	
  Files      clientaccesspolicy.xml
   h:p	
     h:ps socket-­‐resource
               Adobe	
  Flash	
                          crossdomain.xml
XAML
   System.Windows.Controls	
                 100
                  	
  System.Windows.Controls.	
  
                                    .Net	
  Framework
UserControl                            System.Threading
(System.Resources)
           System.Security
                          ADO.Net
(System.Windows.Media.AnimaUon)System.Linq
  System.ReflecUon               Linq
   System.Windows.Media.Effects
  System.Data.Services
                 System.IO WCF         XML
  System.ServiceModel
  System.Xml          JS	
  API        .Net	
  Framework
  System.Net	
  
  System.Windows.Interop	
   Java
Web QQ




 CRM

h:p://msdn.microso_.com/zh-­‐cn/silverlight/ff431226.aspx
h:p://www.silverlight.net/showcase/
Bing Map
WBS
-­‐
      •   •
3             1   2   1   4                 2


                                              /




UAT        Blend



 UAT         Blend
                                     TFS	
  2008
UML
Expression	
  
 Blend Sketch	
  
Flow
Silverlight
Silverlight




              Style="{StaUcResourc
               e	
  BlueBu:onStyle}"	
  
Silverlight
                    <UserControl/>
      Silverlight                                                    XAML




      Background,	
  Border,	
  Font,	
  IsEnabled,	
  Padding,	
  TabIndex,…



      LoadedEvent,	
  Height,	
  Width,	
  ActualHeight,	
  ActualWidth,	
  
      DataContext	
  ,	
  Style,	
  Tag,	
  Align,	
  SetBinding,…




      Visibility,Effect,	
  MouseWheelEvent,	
  Drag,	
  KeyDown,	
  
      MouseEvent	
  (CaptureMouse,	
  ReleaseMouseCapture),	
  
      AddHandler,	
  RemoveHandler,	
  UpdateLayout,	
  CacheMode,…
Silverlight
Silverlight



   xmlns:ux="clr-­‐namespace:PACSSLAPP.View.CommonControls“

   <ux:XDivid	
  Canvas.Le_="0"	
  Canvas.Top="0"	
  x:Name="DelDivid"	
  Canvas.ZIndex="100"	
  Visibility="Collapsed"	
  
   Opacity="0.5"/>

   public	
  double	
  AxisLength
   	
  	
  	
  	
  	
  	
  	
  	
  {
   	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  get	
  {	
  return	
  (double)GetValue(AxisLengthProperty);	
  }
   	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  set	
  {	
  SetValue(AxisLengthProperty,	
  value);	
  }
   	
  	
  	
  	
  	
  	
  	
  	
  }
   	
  	
  	
  	
  	
  	
  	
  	
  public	
  staUc	
  readonly	
  DependencyProperty	
  AxisLengthProperty	
  =
   	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  DependencyProperty.Register("AxisLength",	
  typeof(double),	
  typeof(XparameterAxis),
   	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  new	
  PropertyMetadata(OnAxisLengthChanged));
Silverlight




        Path
  this.Line.SetValue(Path.DataProperty,	
  pathData);
        MouseLe_Bu:onDownMouseMoveMouseLe_Bu:onUp
  UserControl.CaptureMouse();
  UserControl.ReleaseMouseCapture();
UI
  Presentation Layer


                                  BLLStrategy           BLL             BLLServices
Business Logic Layer




Data Access Layer                 DALFactory            IDAL            Model
public	
  class	
  DAL:	
  IDAL
{
	
  	
  	
  	
  	
  …
}
                                                SQLServer      Oracle
                                                DAL            DAL
UI
   Presentation Layer


                                                   BLLStrategy           BLL             BLLServices
Business Logic Layer




Data Access Layer                                  DALFactory            IDAL            Model
public	
  staUc	
  IDAL	
  CreateDAL()
{
	
  	
  	
  	
  	
  …
	
  	
  	
  	
  	
  return	
  (IDAL	
  )objType;
}                                                                SQLServer      Oracle
                                                                 DAL            DAL
UI
  Presentation Layer


                                      BLLStrategy           BLL             BLLServices
Business Logic Layer




Data Access Layer                     DALFactory            IDAL            Model
private	
  IDAL	
  dal;
dal	
  =	
  DataAccess.CreateDAL();
return	
  dal.get(ID);

                                                    SQLServer      Oracle
                                                    DAL            DAL
Silverlight                 BLLServices
Server               Server

                                   WCF
                                   (Httphandler,WebService…)

                     Command                      Model        View
Silverlight Client                                             (Xaml+Codebehind)




                                                  Controller

“              ”
Model
Server


                  Link or DLL


          Model
Browser
View
UI     (Xaml+Codebehind)



                    Binding
                    (One WayTwo Way...)

       Model
Data
Silverlight
Server                            Server.Core




                                  Silverlight
Browser                           Client.Core



                                  Command



         Silverlight
         Thread,	
  DispatchTimer,	
  BackgroundWorker,	
  ThreadPool
                                       EventHandler
AES
                           Silverlight
Server                     Server




                           Silverlight
Browser                    Client




         Silverlight                     	
  System.Security	
     AESX.
         509ASH1ASH256
Silverlight	
  Client	
  MVC	
  Architecture     Silverlight	
  Client	
  	
  MVVM	
  Architecture

           View                   View                      View                    View
      (Xaml+Codebehind)      (Xaml+Codebehind)         (Xaml+Codebehind)       (Xaml+Codebehind)




     Model                  Model                     View	
  Model           View	
  Model



                Controller&                           Domain                    Model
                Command                               Context
Silverlight XAP




MEF         XAP
JS         XAP



XAP        DLL
吴磊 - Silverlight企业级RIA
吴磊 - Silverlight企业级RIA

Contenu connexe

Tendances

Modern development paradigms
Modern development paradigmsModern development paradigms
Modern development paradigmsIvano Malavolta
 
CloudConnect 2011 - Building Highly Scalable Java Applications on Windows Azure
CloudConnect 2011 - Building Highly Scalable Java Applications on Windows AzureCloudConnect 2011 - Building Highly Scalable Java Applications on Windows Azure
CloudConnect 2011 - Building Highly Scalable Java Applications on Windows AzureDavid Chou
 
Oracle ADF Overview for Beginners
Oracle ADF Overview for BeginnersOracle ADF Overview for Beginners
Oracle ADF Overview for BeginnersJithin Kuriakose
 
HTML5: the new frontier of the web
HTML5: the new frontier of the webHTML5: the new frontier of the web
HTML5: the new frontier of the webIvano Malavolta
 
Life above the_service_tier_v1.1
Life above the_service_tier_v1.1Life above the_service_tier_v1.1
Life above the_service_tier_v1.1Ganesh Prasad
 
OpenAjax Alliance: Driving Ajax Standards and Interoperability
OpenAjax Alliance: Driving Ajax Standards and InteroperabilityOpenAjax Alliance: Driving Ajax Standards and Interoperability
OpenAjax Alliance: Driving Ajax Standards and Interoperabilityelliando dias
 
Lecture 19 dynamic web - java - part 1
Lecture 19   dynamic web - java - part 1Lecture 19   dynamic web - java - part 1
Lecture 19 dynamic web - java - part 1Д. Ганаа
 
Weblogic Server Overview Weblogic Scripting Tool
Weblogic Server Overview Weblogic Scripting ToolWeblogic Server Overview Weblogic Scripting Tool
Weblogic Server Overview Weblogic Scripting ToolGokhan Fazli Celik
 
All the Java ADF beginners need to know - part1
All the Java ADF beginners need to know - part1All the Java ADF beginners need to know - part1
All the Java ADF beginners need to know - part1Markus Eisele
 
Bd conf sencha touch workshop
Bd conf sencha touch workshopBd conf sencha touch workshop
Bd conf sencha touch workshopJames Pearce
 
Mike Taulty MIX10 Silverlight 4 Patterns Frameworks
Mike Taulty MIX10 Silverlight 4 Patterns FrameworksMike Taulty MIX10 Silverlight 4 Patterns Frameworks
Mike Taulty MIX10 Silverlight 4 Patterns Frameworksukdpe
 
Build and Deploy LightSwitch Application on Windows Azure
Build and Deploy LightSwitch Application on Windows AzureBuild and Deploy LightSwitch Application on Windows Azure
Build and Deploy LightSwitch Application on Windows AzureK.Mohamed Faizal
 

Tendances (20)

Modern development paradigms
Modern development paradigmsModern development paradigms
Modern development paradigms
 
CloudConnect 2011 - Building Highly Scalable Java Applications on Windows Azure
CloudConnect 2011 - Building Highly Scalable Java Applications on Windows AzureCloudConnect 2011 - Building Highly Scalable Java Applications on Windows Azure
CloudConnect 2011 - Building Highly Scalable Java Applications on Windows Azure
 
Oracle ADF Overview for Beginners
Oracle ADF Overview for BeginnersOracle ADF Overview for Beginners
Oracle ADF Overview for Beginners
 
HTML5: the new frontier of the web
HTML5: the new frontier of the webHTML5: the new frontier of the web
HTML5: the new frontier of the web
 
Anypoint data gateway
Anypoint data gatewayAnypoint data gateway
Anypoint data gateway
 
[2015/2016] Backbone JS
[2015/2016] Backbone JS[2015/2016] Backbone JS
[2015/2016] Backbone JS
 
struts
strutsstruts
struts
 
Life above the_service_tier_v1.1
Life above the_service_tier_v1.1Life above the_service_tier_v1.1
Life above the_service_tier_v1.1
 
OpenAjax Alliance: Driving Ajax Standards and Interoperability
OpenAjax Alliance: Driving Ajax Standards and InteroperabilityOpenAjax Alliance: Driving Ajax Standards and Interoperability
OpenAjax Alliance: Driving Ajax Standards and Interoperability
 
Lecture 19 dynamic web - java - part 1
Lecture 19   dynamic web - java - part 1Lecture 19   dynamic web - java - part 1
Lecture 19 dynamic web - java - part 1
 
jsf2 Notes
jsf2 Notesjsf2 Notes
jsf2 Notes
 
Aspnet
AspnetAspnet
Aspnet
 
Unit 07: Design Patterns and Frameworks (3/3)
Unit 07: Design Patterns and Frameworks (3/3)Unit 07: Design Patterns and Frameworks (3/3)
Unit 07: Design Patterns and Frameworks (3/3)
 
Weblogic Server Overview Weblogic Scripting Tool
Weblogic Server Overview Weblogic Scripting ToolWeblogic Server Overview Weblogic Scripting Tool
Weblogic Server Overview Weblogic Scripting Tool
 
Intro lift
Intro liftIntro lift
Intro lift
 
All the Java ADF beginners need to know - part1
All the Java ADF beginners need to know - part1All the Java ADF beginners need to know - part1
All the Java ADF beginners need to know - part1
 
Ziad Resume_New
Ziad Resume_NewZiad Resume_New
Ziad Resume_New
 
Bd conf sencha touch workshop
Bd conf sencha touch workshopBd conf sencha touch workshop
Bd conf sencha touch workshop
 
Mike Taulty MIX10 Silverlight 4 Patterns Frameworks
Mike Taulty MIX10 Silverlight 4 Patterns FrameworksMike Taulty MIX10 Silverlight 4 Patterns Frameworks
Mike Taulty MIX10 Silverlight 4 Patterns Frameworks
 
Build and Deploy LightSwitch Application on Windows Azure
Build and Deploy LightSwitch Application on Windows AzureBuild and Deploy LightSwitch Application on Windows Azure
Build and Deploy LightSwitch Application on Windows Azure
 

En vedette

Apostila caracol 2 de simone helen drumond
Apostila caracol 2 de simone helen drumondApostila caracol 2 de simone helen drumond
Apostila caracol 2 de simone helen drumondSimoneHelenDrumond
 
Joining GEA As An Expert
Joining GEA As An ExpertJoining GEA As An Expert
Joining GEA As An ExpertVal Slastnikov
 
Top 10 Predictions for Mobile Industry in Korea
Top 10 Predictions for Mobile Industry in KoreaTop 10 Predictions for Mobile Industry in Korea
Top 10 Predictions for Mobile Industry in KoreaJonathan Jeon
 
Mosquitão da dengue simone helen drumond
Mosquitão da dengue simone helen drumondMosquitão da dengue simone helen drumond
Mosquitão da dengue simone helen drumondSimoneHelenDrumond
 
CHED Certification
CHED CertificationCHED Certification
CHED Certificationbong_guevara
 
Ata de reunião 003
Ata de reunião 003Ata de reunião 003
Ata de reunião 003ufescaenq
 
Kate mather fmp schedule 14.01.13
Kate mather fmp schedule 14.01.13Kate mather fmp schedule 14.01.13
Kate mather fmp schedule 14.01.13Taikusproductions
 
Het nieuwe communiceren
Het nieuwe communicerenHet nieuwe communiceren
Het nieuwe communicerenPeter Ros
 
Rencana Pembangunan Jangka Menengah Daerah 2010-2015
Rencana Pembangunan Jangka Menengah Daerah 2010-2015Rencana Pembangunan Jangka Menengah Daerah 2010-2015
Rencana Pembangunan Jangka Menengah Daerah 2010-2015Dadang Solihin
 
Windows 7 Deployment_Yudi Mudjiprasetyo
Windows 7 Deployment_Yudi MudjiprasetyoWindows 7 Deployment_Yudi Mudjiprasetyo
Windows 7 Deployment_Yudi MudjiprasetyoYudi Mudjiprasetyo
 

En vedette (20)

Apostila caracol 2 de simone helen drumond
Apostila caracol 2 de simone helen drumondApostila caracol 2 de simone helen drumond
Apostila caracol 2 de simone helen drumond
 
BUAT NPIK-SEPATU EXPRESS
BUAT NPIK-SEPATU EXPRESSBUAT NPIK-SEPATU EXPRESS
BUAT NPIK-SEPATU EXPRESS
 
Urus pendirian cv
Urus pendirian cvUrus pendirian cv
Urus pendirian cv
 
BUAT NPIK-ELEKTRONIK
BUAT NPIK-ELEKTRONIKBUAT NPIK-ELEKTRONIK
BUAT NPIK-ELEKTRONIK
 
P7
P7P7
P7
 
Joining GEA As An Expert
Joining GEA As An ExpertJoining GEA As An Expert
Joining GEA As An Expert
 
Top 10 Predictions for Mobile Industry in Korea
Top 10 Predictions for Mobile Industry in KoreaTop 10 Predictions for Mobile Industry in Korea
Top 10 Predictions for Mobile Industry in Korea
 
Mosquitão da dengue simone helen drumond
Mosquitão da dengue simone helen drumondMosquitão da dengue simone helen drumond
Mosquitão da dengue simone helen drumond
 
CHED Certification
CHED CertificationCHED Certification
CHED Certification
 
10 varonil grupo 1
10 varonil grupo 110 varonil grupo 1
10 varonil grupo 1
 
SMA Tech Transcript
SMA Tech TranscriptSMA Tech Transcript
SMA Tech Transcript
 
Ata de reunião 003
Ata de reunião 003Ata de reunião 003
Ata de reunião 003
 
CV-INA, d.d.-NRM
CV-INA, d.d.-NRMCV-INA, d.d.-NRM
CV-INA, d.d.-NRM
 
Kate mather fmp schedule 14.01.13
Kate mather fmp schedule 14.01.13Kate mather fmp schedule 14.01.13
Kate mather fmp schedule 14.01.13
 
Het nieuwe communiceren
Het nieuwe communicerenHet nieuwe communiceren
Het nieuwe communiceren
 
Rencana Pembangunan Jangka Menengah Daerah 2010-2015
Rencana Pembangunan Jangka Menengah Daerah 2010-2015Rencana Pembangunan Jangka Menengah Daerah 2010-2015
Rencana Pembangunan Jangka Menengah Daerah 2010-2015
 
Recommendation letter
Recommendation letterRecommendation letter
Recommendation letter
 
Cuadernillo
CuadernilloCuadernillo
Cuadernillo
 
Windows 7 Deployment_Yudi Mudjiprasetyo
Windows 7 Deployment_Yudi MudjiprasetyoWindows 7 Deployment_Yudi Mudjiprasetyo
Windows 7 Deployment_Yudi Mudjiprasetyo
 
Artifacts
ArtifactsArtifacts
Artifacts
 

Similaire à 吴磊 - Silverlight企业级RIA

Microsoft Silverlight
Microsoft SilverlightMicrosoft Silverlight
Microsoft SilverlightAditya Thatte
 
Parallel minds silverlight
Parallel minds silverlightParallel minds silverlight
Parallel minds silverlightparallelminder
 
XPages: The Next Step In Your Life As A Notes Developer
XPages: The Next Step In Your Life As A Notes DeveloperXPages: The Next Step In Your Life As A Notes Developer
XPages: The Next Step In Your Life As A Notes DeveloperPeter Presnell
 
Silverlight Document Search Engine
Silverlight Document Search EngineSilverlight Document Search Engine
Silverlight Document Search EngineMustata Bogdan
 
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...rsnarayanan
 
Connect + Docker + AWS = Bitbucket Pipelines
Connect + Docker + AWS = Bitbucket PipelinesConnect + Docker + AWS = Bitbucket Pipelines
Connect + Docker + AWS = Bitbucket PipelinesAtlassian
 
Silverlight Framework Architecture By Satyen
Silverlight Framework Architecture By SatyenSilverlight Framework Architecture By Satyen
Silverlight Framework Architecture By SatyenSatyen Pandya
 
Silverlight development
Silverlight developmentSilverlight development
Silverlight developmentAnurag Gupta
 
Creating Great Applications in SharePoint 2010 with Silverlight 4
Creating Great Applications in SharePoint 2010 with Silverlight 4Creating Great Applications in SharePoint 2010 with Silverlight 4
Creating Great Applications in SharePoint 2010 with Silverlight 4Boston Area SharePoint Users Group
 
Modern Architectures with Spring and JavaScript
Modern Architectures with Spring and JavaScriptModern Architectures with Spring and JavaScript
Modern Architectures with Spring and JavaScriptmartinlippert
 
WAD - WaveMaker tutorial
WAD - WaveMaker tutorial WAD - WaveMaker tutorial
WAD - WaveMaker tutorial marina2207
 
WaveMaker tutorial with Flash
WaveMaker tutorial with FlashWaveMaker tutorial with Flash
WaveMaker tutorial with Flashmarina2207
 
Mike Taulty MIX10 Silverlight Frameworks and Patterns
Mike Taulty MIX10 Silverlight Frameworks and PatternsMike Taulty MIX10 Silverlight Frameworks and Patterns
Mike Taulty MIX10 Silverlight Frameworks and Patternsukdpe
 
FATC UK - Real time collaborative Flex apps
FATC UK - Real time collaborative Flex appsFATC UK - Real time collaborative Flex apps
FATC UK - Real time collaborative Flex appsMichael Chaize
 
Silverlight 2 with Visual Studio 2008 and Expression Blend
Silverlight 2 with Visual Studio 2008 and Expression BlendSilverlight 2 with Visual Studio 2008 and Expression Blend
Silverlight 2 with Visual Studio 2008 and Expression BlendCaleb Jenkins
 
PPT with Flash ry
PPT with Flash ryPPT with Flash ry
PPT with Flash rymarina2207
 

Similaire à 吴磊 - Silverlight企业级RIA (20)

Microsoft Silverlight
Microsoft SilverlightMicrosoft Silverlight
Microsoft Silverlight
 
Parallel minds silverlight
Parallel minds silverlightParallel minds silverlight
Parallel minds silverlight
 
XPages: The Next Step In Your Life As A Notes Developer
XPages: The Next Step In Your Life As A Notes DeveloperXPages: The Next Step In Your Life As A Notes Developer
XPages: The Next Step In Your Life As A Notes Developer
 
Silverlight Document Search Engine
Silverlight Document Search EngineSilverlight Document Search Engine
Silverlight Document Search Engine
 
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
 
Basics of Silverlight 1
Basics of Silverlight 1Basics of Silverlight 1
Basics of Silverlight 1
 
Connect + Docker + AWS = Bitbucket Pipelines
Connect + Docker + AWS = Bitbucket PipelinesConnect + Docker + AWS = Bitbucket Pipelines
Connect + Docker + AWS = Bitbucket Pipelines
 
Silverlight Framework Architecture By Satyen
Silverlight Framework Architecture By SatyenSilverlight Framework Architecture By Satyen
Silverlight Framework Architecture By Satyen
 
Silverlight development
Silverlight developmentSilverlight development
Silverlight development
 
Silverlight development
Silverlight developmentSilverlight development
Silverlight development
 
Creating Great Applications in SharePoint 2010 with Silverlight 4
Creating Great Applications in SharePoint 2010 with Silverlight 4Creating Great Applications in SharePoint 2010 with Silverlight 4
Creating Great Applications in SharePoint 2010 with Silverlight 4
 
Modern Architectures with Spring and JavaScript
Modern Architectures with Spring and JavaScriptModern Architectures with Spring and JavaScript
Modern Architectures with Spring and JavaScript
 
WAD - WaveMaker tutorial
WAD - WaveMaker tutorial WAD - WaveMaker tutorial
WAD - WaveMaker tutorial
 
WaveMaker tutorial with Flash
WaveMaker tutorial with FlashWaveMaker tutorial with Flash
WaveMaker tutorial with Flash
 
Deltacloud API
Deltacloud APIDeltacloud API
Deltacloud API
 
Mike Taulty MIX10 Silverlight Frameworks and Patterns
Mike Taulty MIX10 Silverlight Frameworks and PatternsMike Taulty MIX10 Silverlight Frameworks and Patterns
Mike Taulty MIX10 Silverlight Frameworks and Patterns
 
FATC UK - Real time collaborative Flex apps
FATC UK - Real time collaborative Flex appsFATC UK - Real time collaborative Flex apps
FATC UK - Real time collaborative Flex apps
 
Silverlight 2 with Visual Studio 2008 and Expression Blend
Silverlight 2 with Visual Studio 2008 and Expression BlendSilverlight 2 with Visual Studio 2008 and Expression Blend
Silverlight 2 with Visual Studio 2008 and Expression Blend
 
PPT with Flash ry
PPT with Flash ryPPT with Flash ry
PPT with Flash ry
 
WaveMaker Presentation
WaveMaker PresentationWaveMaker Presentation
WaveMaker Presentation
 

Plus de d0nn9n

腾讯大讲堂:62 拇指下的精彩(手机qq交互设计经验分享)
腾讯大讲堂:62 拇指下的精彩(手机qq交互设计经验分享)腾讯大讲堂:62 拇指下的精彩(手机qq交互设计经验分享)
腾讯大讲堂:62 拇指下的精彩(手机qq交互设计经验分享)d0nn9n
 
腾讯大讲堂:55 企业法律风险防范
腾讯大讲堂:55 企业法律风险防范腾讯大讲堂:55 企业法律风险防范
腾讯大讲堂:55 企业法律风险防范d0nn9n
 
腾讯大讲堂:56 qzone安全之路
腾讯大讲堂:56 qzone安全之路腾讯大讲堂:56 qzone安全之路
腾讯大讲堂:56 qzone安全之路d0nn9n
 
腾讯大讲堂:59 数据蕴含商机,挖掘决胜千里
腾讯大讲堂:59 数据蕴含商机,挖掘决胜千里腾讯大讲堂:59 数据蕴含商机,挖掘决胜千里
腾讯大讲堂:59 数据蕴含商机,挖掘决胜千里d0nn9n
 
腾讯大讲堂:57 超级qq的千万之路
腾讯大讲堂:57 超级qq的千万之路 腾讯大讲堂:57 超级qq的千万之路
腾讯大讲堂:57 超级qq的千万之路 d0nn9n
 
蔡学镛 Rebol漫谈
蔡学镛   Rebol漫谈蔡学镛   Rebol漫谈
蔡学镛 Rebol漫谈d0nn9n
 
赵泽欣 - 淘宝网前端应用与发展
赵泽欣 - 淘宝网前端应用与发展赵泽欣 - 淘宝网前端应用与发展
赵泽欣 - 淘宝网前端应用与发展d0nn9n
 
Yanggang wps
Yanggang wpsYanggang wps
Yanggang wpsd0nn9n
 
熊节 - 软件工厂的精益之路
熊节 - 软件工厂的精益之路熊节 - 软件工厂的精益之路
熊节 - 软件工厂的精益之路d0nn9n
 
谢恩伟 - 微软在云端
谢恩伟 - 微软在云端谢恩伟 - 微软在云端
谢恩伟 - 微软在云端d0nn9n
 
去哪儿平台技术
去哪儿平台技术去哪儿平台技术
去哪儿平台技术d0nn9n
 
Tom - Scrum
Tom - ScrumTom - Scrum
Tom - Scrumd0nn9n
 
Tim - FSharp
Tim - FSharpTim - FSharp
Tim - FSharpd0nn9n
 
Tiger oracle
Tiger oracleTiger oracle
Tiger oracled0nn9n
 
Paulking groovy
Paulking groovyPaulking groovy
Paulking groovyd0nn9n
 
Paulking dlp
Paulking dlpPaulking dlp
Paulking dlpd0nn9n
 
Patrick jcp
Patrick jcpPatrick jcp
Patrick jcpd0nn9n
 
Nick twitter
Nick twitterNick twitter
Nick twitterd0nn9n
 
Marc facebook
Marc facebookMarc facebook
Marc facebookd0nn9n
 
Kane debt
Kane debtKane debt
Kane debtd0nn9n
 

Plus de d0nn9n (20)

腾讯大讲堂:62 拇指下的精彩(手机qq交互设计经验分享)
腾讯大讲堂:62 拇指下的精彩(手机qq交互设计经验分享)腾讯大讲堂:62 拇指下的精彩(手机qq交互设计经验分享)
腾讯大讲堂:62 拇指下的精彩(手机qq交互设计经验分享)
 
腾讯大讲堂:55 企业法律风险防范
腾讯大讲堂:55 企业法律风险防范腾讯大讲堂:55 企业法律风险防范
腾讯大讲堂:55 企业法律风险防范
 
腾讯大讲堂:56 qzone安全之路
腾讯大讲堂:56 qzone安全之路腾讯大讲堂:56 qzone安全之路
腾讯大讲堂:56 qzone安全之路
 
腾讯大讲堂:59 数据蕴含商机,挖掘决胜千里
腾讯大讲堂:59 数据蕴含商机,挖掘决胜千里腾讯大讲堂:59 数据蕴含商机,挖掘决胜千里
腾讯大讲堂:59 数据蕴含商机,挖掘决胜千里
 
腾讯大讲堂:57 超级qq的千万之路
腾讯大讲堂:57 超级qq的千万之路 腾讯大讲堂:57 超级qq的千万之路
腾讯大讲堂:57 超级qq的千万之路
 
蔡学镛 Rebol漫谈
蔡学镛   Rebol漫谈蔡学镛   Rebol漫谈
蔡学镛 Rebol漫谈
 
赵泽欣 - 淘宝网前端应用与发展
赵泽欣 - 淘宝网前端应用与发展赵泽欣 - 淘宝网前端应用与发展
赵泽欣 - 淘宝网前端应用与发展
 
Yanggang wps
Yanggang wpsYanggang wps
Yanggang wps
 
熊节 - 软件工厂的精益之路
熊节 - 软件工厂的精益之路熊节 - 软件工厂的精益之路
熊节 - 软件工厂的精益之路
 
谢恩伟 - 微软在云端
谢恩伟 - 微软在云端谢恩伟 - 微软在云端
谢恩伟 - 微软在云端
 
去哪儿平台技术
去哪儿平台技术去哪儿平台技术
去哪儿平台技术
 
Tom - Scrum
Tom - ScrumTom - Scrum
Tom - Scrum
 
Tim - FSharp
Tim - FSharpTim - FSharp
Tim - FSharp
 
Tiger oracle
Tiger oracleTiger oracle
Tiger oracle
 
Paulking groovy
Paulking groovyPaulking groovy
Paulking groovy
 
Paulking dlp
Paulking dlpPaulking dlp
Paulking dlp
 
Patrick jcp
Patrick jcpPatrick jcp
Patrick jcp
 
Nick twitter
Nick twitterNick twitter
Nick twitter
 
Marc facebook
Marc facebookMarc facebook
Marc facebook
 
Kane debt
Kane debtKane debt
Kane debt
 

Dernier

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 

Dernier (20)

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 

吴磊 - Silverlight企业级RIA

  • 1.
  • 5.
  • 6. B/S  &  C/S RIA   <table> <div> HTML 5
  • 7. Silverlight                 
  • 8. .Net Silverlight 4.3M 50M
  • 9.
  • 10. FPS 100 0.4 500+
  • 12. ”   Silverlight “ ” “IsolatedStorage” Silverlight • • • Cross-­‐Domain  Policy  Files clientaccesspolicy.xml h:p   h:ps socket-­‐resource Adobe  Flash   crossdomain.xml
  • 13. XAML System.Windows.Controls   100  System.Windows.Controls.   .Net  Framework UserControl System.Threading (System.Resources) System.Security ADO.Net (System.Windows.Media.AnimaUon)System.Linq System.ReflecUon Linq System.Windows.Media.Effects System.Data.Services System.IO WCF XML System.ServiceModel System.Xml JS  API .Net  Framework System.Net   System.Windows.Interop   Java
  • 14.
  • 17. WBS -­‐ • •
  • 18. 3 1 2 1 4 2 / UAT Blend UAT Blend TFS  2008
  • 19. UML
  • 20. Expression   Blend Sketch   Flow
  • 21.
  • 23. Silverlight Style="{StaUcResourc e  BlueBu:onStyle}"  
  • 24. Silverlight <UserControl/> Silverlight XAML Background,  Border,  Font,  IsEnabled,  Padding,  TabIndex,… LoadedEvent,  Height,  Width,  ActualHeight,  ActualWidth,   DataContext  ,  Style,  Tag,  Align,  SetBinding,… Visibility,Effect,  MouseWheelEvent,  Drag,  KeyDown,   MouseEvent  (CaptureMouse,  ReleaseMouseCapture),   AddHandler,  RemoveHandler,  UpdateLayout,  CacheMode,…
  • 26. Silverlight xmlns:ux="clr-­‐namespace:PACSSLAPP.View.CommonControls“ <ux:XDivid  Canvas.Le_="0"  Canvas.Top="0"  x:Name="DelDivid"  Canvas.ZIndex="100"  Visibility="Collapsed"   Opacity="0.5"/> public  double  AxisLength                {                        get  {  return  (double)GetValue(AxisLengthProperty);  }                        set  {  SetValue(AxisLengthProperty,  value);  }                }                public  staUc  readonly  DependencyProperty  AxisLengthProperty  =                        DependencyProperty.Register("AxisLength",  typeof(double),  typeof(XparameterAxis),                            new  PropertyMetadata(OnAxisLengthChanged));
  • 27. Silverlight Path this.Line.SetValue(Path.DataProperty,  pathData); MouseLe_Bu:onDownMouseMoveMouseLe_Bu:onUp UserControl.CaptureMouse(); UserControl.ReleaseMouseCapture();
  • 28. UI Presentation Layer BLLStrategy BLL BLLServices Business Logic Layer Data Access Layer DALFactory IDAL Model public  class  DAL:  IDAL {          … } SQLServer Oracle DAL DAL
  • 29. UI Presentation Layer BLLStrategy BLL BLLServices Business Logic Layer Data Access Layer DALFactory IDAL Model public  staUc  IDAL  CreateDAL() {          …          return  (IDAL  )objType; } SQLServer Oracle DAL DAL
  • 30. UI Presentation Layer BLLStrategy BLL BLLServices Business Logic Layer Data Access Layer DALFactory IDAL Model private  IDAL  dal; dal  =  DataAccess.CreateDAL(); return  dal.get(ID); SQLServer Oracle DAL DAL
  • 31. Silverlight BLLServices Server Server WCF (Httphandler,WebService…) Command Model View Silverlight Client (Xaml+Codebehind) Controller “ ”
  • 32. Model Server Link or DLL Model Browser
  • 33. View UI (Xaml+Codebehind) Binding (One WayTwo Way...) Model Data
  • 34. Silverlight Server Server.Core Silverlight Browser Client.Core Command Silverlight Thread,  DispatchTimer,  BackgroundWorker,  ThreadPool EventHandler
  • 35. AES Silverlight Server Server Silverlight Browser Client Silverlight  System.Security   AESX. 509ASH1ASH256
  • 36. Silverlight  Client  MVC  Architecture Silverlight  Client    MVVM  Architecture View View View View (Xaml+Codebehind) (Xaml+Codebehind) (Xaml+Codebehind) (Xaml+Codebehind) Model Model View  Model View  Model Controller& Domain Model Command Context
  • 38. JS XAP XAP DLL