Writing Custom DB Engines  编写定制的DB引擎   FastReport can build reports not only with data sourced from a Delphi application but also from data sources (connections to DBs, queries) created within the report itself. FastReport comes with engines for ADO,…
摘要:简单介绍了如何编写一个FastReport的组件,并且注册到FastReport中使用.   Writing Custom Report Components 编写自定义报表组件 FastReport has a large number of components that can be placed on a report design page. They are: text, picture, line, geometrical figure, OLE, rich text, ba…
摘要:介绍如何编写自定义的控件,用在报表的窗体上(如Edit,Button等)   Writing Custom Common Controls 编写自定义控件 FastReport contains a set of common controls which can be placed on dialogue forms inside reports. They are as follows: FastReport包含以下控件,用于报表里的对话形式窗体. TfrxLabelControl T…
Writing Custom Wizards  编写自定义的向导   You can extend FastReport's functionality with the help of custom wizards. FastReport, for example, contains the standard "Report Wizard" which is called from the "File >|New-" menu item. There are…
Writing Component Editors  编写组件的编辑器   All common control editors (opened from a control's context menu or by double-clicking) create blank OnClick event handlers by default. This behavior can be altered by writing a custom editor. Also, the custom ed…
Writing Property Editors 编写属性编辑器   When you select a component in the designer its properties are displayed in the object inspector. You can create your own editor for any property. The "Font" property, for example, has an editor : if this prope…
 在开发IOS应用中,当你编写自定义的类时,你会发现很多的特殊场合.当你需要把自定义的行为和数据包装在一起时,自定义的类非常有用.在自定义的类中,你可以定义自己的存储.处理和显示数据的方法. 例如,IOS Clock应用中的World Clock面板.table view中的单元格需要显示比标准table view单元格更多的显示内容.这就是一个很好的机会来实现一个继承了UITableViewCell类的子类,用于在给定的table view单元格中显示更多的自定义内容.如果你正在设计自定义的类…
http://vitiy.info/writing-custom-protocol-for-nanomsg/ nanomsg is next version of ZeroMQ lib, providing smart cross-platform sockets for implementation of distributed architectures. Here you can find basic examples of included protocols (communicatio…
Using Custom Functions in a Report  在报表中使用自己义函数   FastReport has a large number of built-in standard functions for use in report designs. FastReport also allows custom functions to be written and used. Functions are added using the "FastScript"…
本周再来翻译一些技术文章,本次预计翻译三篇文章如下: 04.[译]使用Nuxt生成静态网站(Generate Static Websites with Nuxt) 05.[译]Web网页内容是如何影响电池功耗的(How Web Content Can Affect Power Usage) 06.[译]在现代JavaScript中编写异步任务(https://web.dev/off-main-thread/) 我翻译的技术文章都放在一个github仓库中,如果觉得有用请点击star收藏.我为什么…
本文转自:https://www.exceptionnotfound.net/writing-custom-middleware-in-asp-net-core-1-0/ One of the new features from ASP.NET Core 1.0 is the idea of Middleware. Middleware are components of an application that examine the requests responses coming in t…
当使用扩展的JavaScript库或者插件API的时候,将需要使用声明文件(.d.ts)来描述库的类型.本文内容将包括如何编写声明文件相关的一些高级概念,然后用一些例子来展示如何将各式各样的概念与声明文件的描述相匹配. 流程 写.d.ts最好是从库的说明文档开始,而不是代码.从说明文档开始可以保证思维不受实现细节的影响,并且比阅读JS代码容易理解.下面的例子假设是根据说明文档写的,并且提供调用代码. 命名空间 当定义接口(例如"options"对象)的时候,你可以选择是否将这些类型放入…
转自:https://www.terraform.io/docs/extend/writing-custom-providers.html 很详细,做为一个记录 In Terraform, a Provider is the logical abstraction of an upstream API. This guide details how to build a custom provider for Terraform. NOTE: This guide details steps t…
原文: https://www.exceptionnotfound.net/writing-custom-middleware-in-asp-net-core-1-0/ Middleware是ASP.NET Core 1.0的新特性.Middleware用来检测request和response的输入输出. 什么是Middleware? Middleware是用来检测request和response的组件.Pipeline如下: Middleware可以用来替代HttpModules和HttpHa…
I've had a little utility that I've been kicking around for some time now that I've found to be quite useful in my JavaScript application-building endeavors. It's a super-simple templating function that is fast, caches quickly, and is easy to use. I…
机房要裁撤, 原有的老业务机的mysql需要迁移到新的. 方案1: 全量打包拷贝data目录, 发现拷过去各种毛病 方案2: mysqldump逻辑导出解决问题 新的db刚安装好. 步骤记录下. # 备份 mysqldump -uroot -A -B -R >/tmp/mysqlbak_$(date +%F).sql # 导入用source # 创建用户名授权 create database cube; grant all on maotaidb.* to maotai@'%' identifi…
韩梦飞沙  韩亚飞  313134555@qq.com  yue31313  han_meng_fei_sha ======= db 中文 版 navicat 中文 ======= NavicatforMySQL(64bit)简体中文版下载_NavicatforMy. 这个 有的db 打不开. ======…
5月数据库排名: http://geek.csdn.net/news/detail/196118 另外这篇文章里面提到了一些内嵌式数据库: http://blog.csdn.net/leagoal/article/details/5705094 sqlite apache derby hsqldb ms access oracle berkeley db db4o…
scriban Scriban是一种快速.强大.安全和轻量级的文本模板语言和.NET引擎,具有解析liquid模板的兼容模式 Github https://github.com/lunet-io/scriban#readme 目录 [翻译]Scriban是一种快速.强大.安全和轻量级的文本模板语言和.NET引擎,具有解析liquid模板的兼容模式 [翻译] Scriban language [翻译]Scriban runtime // Parse a scriban template var t…
思考: 提起分页查询,想必任何一个开发人员(不论是新手还是老手)都能快速编码实现,实现原理再简单不过,无非就是写一条SELECT查询的SQL语句,ORDER BY分页排序的字段, 再结合limit (页码-1),每页记录数,这样即可返回指定页码的分页记录,类似SQL如下所示: select * from table where 查询条件 order by id limit 100,100; -- 这里假设是第2页(limit 第1个值从0开始),每页100条 那如果是想将多张表的记录合并一起进行…
Code Project精彩系列(转)   Code Project精彩系列(转)   Applications Crafting a C# forms Editor From scratch http://www.codeproject.com/csharp/SharpFormEditorDemo.asp 建立一个类似C#的环境, 实现控件拖拉,属性 Packet Capture and Analayzer 网络封包截获 http://www.codeproject.com/csharp/pa…
What is Hamcrest? 什么是Hamcrest?   Hamcrest is a library of matchers, which can be combined in to create flexible expressions of intent in tests. They've also been used for other purposes.   Hamcrest 是一个为了测试为目的,且能组合成灵活表达式的匹配器类库.他们也被用于其他用途. Source To bu…
Jersey是JAX-RS(JavaAPI for RESTful Service)标准的一个实现,用于开发RESTful Web Application.可以参考JAX-RS的介绍(http://www.cnblogs.com/pixy/p/4838268.html),其中的用法适用于JAX-RS标准的所有实现版本. 本文只介绍Jersey MVC的使用. Jersey定义了一个Viewable的类,当资源方法返回的是Viewable对象时,就代表我们想要把结果转换成视图(MVC模式).也就是…
简介 什么是Mybatis MyBatis 是一款优秀的持久层框架 它支持自定义 SQL.存储过程以及高级映射. MyBatis 免除了几乎所有的 JDBC 代码以及设置参数和获取结果集的工作. MyBatis 可以通过简单的 XML 或注解来配置和映射原始类型.接口和 Java POJO(Plain Old Java Objects,普通老式 Java 对象)为数据库中的记录. MyBatis 本是apache的一个开源项目iBatis, 2010年这个项目由apache software f…
转自:https://petersouter.xyz/writing-and-playing-with-custom-terraform-providers/ I’ve been digging deeper on Terraform. It’s something I’ve tinkered with in the past, but I’ve not really sat down to really use it in anger and try and tie a large proje…
编写你的第一个 Django app,第二部分(Page 7)转载请注明链接地址 本教程上接前面的教程.我们会配置数据,创建你的第一个 model,并对Django 自动生成的 admin 站点进行快速的介绍. 数据库设置 现在,打开 mysite/settings.py.它是一个带有模块级变量的普通 Python 模块,也是 Django 的配置文件. 默认情况下,配置中使用的是 SQLite,如果你是一个数据库新手,或者你只是对 Django 刚兴趣儿想尝试一下,这是最简单的选择.Pytho…
1. Introducing the ADO.NET Entity Framework ado.net entity framework 介绍 1 The Entity Relationship Model: Programming Against a Model,Not the Database 实体关系模型:使用模型编程,而非数据库 2 The Entity Data Model: A Client-Side Data Model 试题对象模型:客户端对象模型 3 Entities: Blu…
书籍出处:https://www.packtpub.com/web-development/django-example 原作者:Antonio Melé (译者@ucag 注:哈哈哈,第九章终于来啦.这是在线商店的最后一章,下一章将会开始一个新的项目.所以这一章的内容会偏难,最难的是推荐引擎的编写,其中的算法可能还需要各位好好的推敲,如果看了中文的看不懂,大家可以去看看英文原版的书以及相关的文档.最近我也在研究机器学习,有兴趣的大家可以一起交流哈~) (审校@夜夜月:大家好,我是来打酱油的~,…
书籍出处:https://www.packtpub.com/web-development/django-example 原作者:Antonio Melé (译者注:翻译本章过程中几次想放弃,但是既然都到第十章了,怎么能放弃!) 第十章 创建一个在线学习平台(e-Learning Platform) 在上一章,你添加国际化到你的在线商店项目中.你还构建了一个优惠券系统和一个商品推荐引擎.在这章中,你会创建一个新项目.你将构建一个在线学习平台创建一个定制内容管理系统. 在这章中,你会学习以下操作:…
翻译自官网flume1.8用户指南,原文地址:Flume 1.8.0 User Guide 篇幅限制,分为以下5篇: [翻译]Flume 1.8.0 User Guide(用户指南) [翻译]Flume 1.8.0 User Guide(用户指南) source [翻译]Flume 1.8.0 User Guide(用户指南) Sink [翻译]Flume 1.8.0 User Guide(用户指南) Channel [翻译]Flume 1.8.0 User Guide(用户指南) Proces…