• sliverlight 4.0 database solution and Q&As


    why we choose Mysql?

       In the implement of taichi System,we choose MySQL database,because our background program is Joomla v1.5, which just supports MySQL database。Before we use Visual Studio 2010 and MySQL database,firstly,we install mysql-connector-net-6.5.4.msi(download here http://dev.mysql.com/downloads/connector/net/),which is a database driver program. then,add an item named "ADO.NET entity data model" at the node named "*.Web". now we add the database model.

    use commend line to recovery database of Mysql v5.0

    this  introducts how to import sql files by cmd, very easy.

    1、open mysql'bin directory
    cd D:\xampp\mysql\bin

    2、then input user and password informantion
    D:\xampp\mysql\bin>mysql -u root -p
    Enter password: *******

    3、then use database name 
    mysql> use rrxl

    4、finally, import database
    mysql>source d:\1.sql

    reference http://www.weste.net/2011/6-14/75524.html

    how to install vs2010 +silverlight4.0 environment? (需要在 regedit中补全注册表值2052 and 1033)

    Firstly, we must install the  vs2010 professional version, because we need some expecial class packages.Then we use the update method(the last) to install Silverlight4_Tools.exe.

    reference:http://www.cnblogs.com/Chinasf/archive/2010/05/30/1747710.html

    WCF RIA Services

    WCF RIA Services simplifies the development of n-tier solutions for Rich Internet Applications (RIA), such as Silverlight applications. A common problem when developing an n-tier RIA solution is coordinating application logic between the middle tier and the presentation tier. To create the best user experience, you want your RIA Services client to be aware of the application logic that resides on the server, but you do not want to develop and maintain the application logic on both the presentation tier and the middle tier. RIA Services solves this problem by providing framework components, tools, and services that make the application logic on the server available to the RIA Services client without requiring you to manually duplicate that programming logic. You can create a RIA Services client that is aware of business rules and know that the client is automatically updated with latest middle tier logic every time that the solution is re-compiled.

    The following illustration shows a simplified version of an n-tier application. RIA Services focuses on the box between the presentation tier and the data access layer (DAL) to facilitate n-tier development with a RIA Services client.

    RIA Services n-tier application

    RIA Services adds tools to Visual Studio 2010 that enable linking client and server projects in a single solution and generating code for the client project from the middle-tier code. The framework components support prescriptive patterns for writing application logic so that it can be reused on the presentation tier. Services for common scenarios, such as authentication and user settings management, are provided to reduce development time.

    references:

    http://www.cnblogs.com/flyinghigher/archive/2012/06/21/2557541.html

    http://msdn.microsoft.com/en-us/library/ee707376(v=vs.91).aspx

    next

    we should new a vs solution ,include all taichi system files.

  • 相关阅读:
    Makefile编写基础知识总结
    Linux开发基础篇开发环境搭建
    较常用的Linux 命令技巧
    Linux socket实现非阻塞型通信
    VirtualBox linux 挂载共享Windows文件夹
    Struts2 注解基础
    DB2 Error Code: 1218, SQL State: 57011
    半小时内使用vim的常用命令,以及平时使用的感慨
    vim的一些配置。
    link的属性media的用处
  • 原文地址:https://www.cnblogs.com/nurbs/p/2579510.html
Copyright © 2020-2023  润新知