元数据代码提示不仅仅只能用于Potomac框架。
The metadata code hinting isn't just limited to our Potomac framework.
下面将对伪元数据代码和结果数据图结构进行简要的介绍。
A quick description of the pseudo-metadata code and the resulting data graph structure is provided below.
Chris:SourceMate与Potomac的集成是通过元数据代码提示实现的。
Chris: The integration between SourceMate and Potomac is provided via metadata code hinting.
用户只需将该配置文件导入到SourceMate中就可以获得这些框架的元数据代码提示与验证功能。
Once a user just imports that file into SourceMate, they get metadata code hinting (and validation) on those framework tags as well.
在第2部分中,我们将重点讨论具体编码技术和可以用来优化JDBCDMS和元数据代码性能的最佳实践。
In Part 2, we will focus on specific coding techniques and best practices that you can use to optimize the performance of your JDBC DMS and metadata code.
这是一场建立了稳定势头的运动:呼吁让研究数据、软件代码和实验方法公开和透明。
It is a movement building steady momentum: a call to make research data, software code and experimental methods publicly available and transparent.
通过这种技巧,您可以支持新的数据类型,而不用更改任何代码。
With this technique, you can support new data types without changing your code at all.
极大地减少用于数据转换和异常处理的繁琐代码,从而专注于核心业务逻辑。
Significant reduction of tedious code for data conversion and exception handling, allowing you to focus on core business logic.
作为练习,您可以对代码进行重构以将数据访问函数分离到单独的文件中。
You can refactor the code to isolate the data access functions into a separate file as homework.
这样就在没有更改任何代码的情况下添加了对新数据类型的支持。
That adds support for a new data type without changing a line of code.
最容易想到的方法是自己编写数据集成代码,但这种方法会让您花费超乎想象的时间和精力。
The most obvious approach -- write the data integration code yourself -- may cost you more time and effort than you think.
从本质上说,用于进行这种数据组织的代码应该是可移植的。
The code for such data organization, by its very nature, should be portable.
但是,一般来说,最好不要在同一个应用程序中把XML响应和纯文本响应混合使用;保持单一数据格式可以让代码抽象和重用更加简单。
Generally, though, it's best not to mix and match XML responses and plain-text responses in the same application; sticking to a single data format makes code abstraction and reuse simpler.
在编写要在各种不同数据服务器(或提供程序)中重用的应用程序代码时,这一点尤其有用。
This is especially useful when you are writing application code to be reused with a variety of data servers (or providers).
“我熟悉的这两种情况不涉及公开数据或代码。”他说。
"The two cases I'm familiar with didn't involve open data or code," he says.
“我最近听说,接受开放数据和代码的想法让传统学者感到不适。”Ram说道。
"I've heard this recently that embracing the idea of open data and code makes traditional academics uncomfortable," says Ram.
如果数据访问代码捕获了一个异常,不要忽略它。
If your data access code catches an exception, do not ignore it.
取出数据的代码与此类似,见清单3。
The code for popping data out is similar, as Listing 3 shows.
它将允许您查看程序和装入模块中的数据和代码。
It will let you view data and code in your programs and in the loaded modules.
当然,我们必须以适当的数据访问代码来表达这种业务请求。
Of course, we had to express this business request in appropriate data access code.
比如,如果数据绑定代码有输入,输入就来自一个端点。
For example, if your data binding code gets input, that input comes from an endpoint.
处理检索单个时间点数据的代码应该是类似的。
Code to handle the case of retrieving data for a single time point would be similar.
清单6. stateInfo数据结构代码示例
为了确定BLOB中的数据的代码页,有一定的规则。
In order to determine the code page of data inside the BLOB, there are certain rules.
清单3:向不同客户端推送数据的代码。
使用强类型对象作为参数从而结合数据与代码,暗示了一种特定行为。
Using strongly typed objects as parameters, thereby combining data and code, implies a specific behavior.
它是基于REST风格设计的,所以您可以使用任何用来从URL请求数据的代码。
It is very RESTfully designed, so you can use any code that can request data from a URL.
是的,您可能不得不撰写净化导入数据的代码,但这是工作的本质。
Yes, you'll likely have to write code which cleanses the incoming data, but that's the nature of the work.
它可以透明地管理比内存大得多的数据和代码(兆兆字节级别)。
It can transparently manage a much larger amount (terabytes) of data and code than will fit in memory.
额外的数据类型检查代码是不必要的。
应用推荐