以上连接代码相当简单。
需要编写的第一个Python代码是数据库连接代码。
The first Python code you need to write is the database connection code.
这些技术是单独的组件,必须通过连接代码连接在一起。
These technologies are separate components that must be brought together by connecting code.
此外,任何到云计算连接的更改都涉及到代码更改。
Additionally, any change to the cloud computing connection involves a code change.
我将添加一些代码来查看当前的连接是否支持GZIP。
I will add some code to check if the current connection supports GZIP.
另一个有趣的区别是连接支持的代码。
The other interesting difference is the code for connection support.
这将导致在执行可利用的代码前任何连接尝试都失败。
This will cause any connection attempts to fail before the vulnerable code can be exercised.
该代码向对象添加了一个连接的名字和值。
在清单1中,可以看到打开不同连接类型的代码。
In Listing 1, you can see the code to open various connection types.
我提供的示例代码建立一个到DB2 的直接连接。
The sample code I have provided makes a direct connection to DB2.
不存在将连接保持在定制代码中的现成的方法。
There was no obvious way of keeping the connection persistent within custom code.
PHP代码所要做的第一件事情是连接数据库。
The first thing the PHP code does is connect to the database.
该模块的代码必须通过JNDI查找连接池。
The module's code must look up the connection pool through JNDI.
现在配置了数据库连接,应该编写一些代码。
Now that the database connections are configured, it's time to write some code.
为安全连接进行设置要多几行代码。
Setting up for a secure connection requires a couple more lines of code.
要编译并连接main代码,可以使用下面的命令行。
To compile and link the main code, use the following command line.
您会从代码中看到,send按钮和消息列表之间没有直接连接。
You'll note from the code that there is no direct connection between the send button and the message list.
用DB 2Connect将代码连接到数据。
如果您和我一样,喜欢在断开网络连接的情况下编写代码(例如在火车上或晚上在家里的电视机前),这将无法工作。
If, like me, you like to write code when you are disconnected; for example, on the train or late at night in the family room in front of the TV, they will not work.
两者都使用两个字符语言代码和两个字符的国家代码通过下划进行连接。
Both use a two character language and two character country code connected by an underscore.
连接到ESB是部署决策;应用程序源代码不会受到影响。
Connection to an ESB is a deployment decision; the application source code is unaffected.
此代码建立了与客户端的成功连接。
在许多连接器中,不同的条目类型需要不同的条目检索代码。
In many connectors, different item types will require different item retrieval code.
可以重构库代码创建更好的连接点模型。
Base code is refactored to create a better join point model.
连接示例的源代码。
例如,可以使用以下代码设置连接超时。
网络连接失败再以后没被显示使用PUK代码。
Network connection failure not shown anymore after using PUK code.
代码示例使用在应用程序配置文件中提供的连接字符串。
The code sample USES the connection string that is provided in the application config file.
代码示例使用在应用程序配置文件中提供的连接字符串。
The code sample USES the connection string that is provided in the application config file.
应用推荐