当几乎每一个对象都有一个计算机或有一个可连接到计算机的标签,获取信息将只是一件小事:“谁做了那条裙子?”
When almost every object either contains a computer or can have a TAB attached to it, obtaining information will be trivial: "Who made that dress?"
建立到MySQL数据库的OD BC连接,从数据库获取给定帐户持有人的当前帐户数据,并将这些信息存储在一个关联数组中。
An ODBC connection is made to the MySQL database and the current account data for the given account holder is fetched from the database and stored in an associative array.
测试并不通过连接真正的服务器来获取最新的汇率信息,而是连接一个mock服务器,它总是返回相同的汇率。
Instead of connecting to a real server that provides up-to-the-minute exchange-rate information, the test connects to a mock server that always returns the same exchange rate.
应用推荐