Welcome![Sign In][Sign Up]
Location:
Search - 接口类

Search list

[PHP用于 mysql 的php通用接口类

Description:

  php的Mysql低层接口发展到现在,已经有三种接口类型了,分别是:Mysql、Mysqli、PDO。Mysql属于最早期的Mysql数据库接口,不支持面向对象的调用方式。Mysqli及PDO开始都支持面向对象了。
  这三种接口的使用方式上都有些少差别,例如在fetch处理方式:
mysql:
 mysql_fetch_array($result, $link);
mysqli:
 mysqli_fetch_array($result, $link);
 或
 $result->fetch_array();
PDO:
 $result->fetch();  //处理单一数据
 $result->fetchAll(); //处理所有数据
 
  如果你最初使用了某个接口开发的系统,以后更改低层接口后(更换虚拟主机时,常碰到的问题),对系统的维护是项艰巨的任务。所以针对这种情况,特意写了三个类,把这三种接口方案都封装起来,实现统一的调用接品。

详细介绍,可以查看 http://www.dssz.net/78525_yong-yumysqldiphptong-yong-jie-kou-lei.html


Platform: | Size: 12238 | Author: dssz.net | Hits:

[ADO-ODBC一个增强的数据库类CDataSet

Description: 一个增强的数据库类CDataSet 因为MFC完全支持数据库应用程序的开发,所以大多数数据库应用都使用CDatabase和CRecordset类,并且类向导(Class Wizard)提供了快速简易的方式来使用这两个类。有一点不足的就是当应用程序涉及到多表数据库时,类向导将产生大量的关于记录集的源码文件使得工程(project)给人的感觉很混乱。 本文介绍如何使用一个模板记录集类来降低类向导所产生的记录集文件的数量,同时增强记录积类(CRecordset)的功能。这个模板记录集类叫做:CDataSet。它的主要目的是降低代码量,为数据对象数组提供一个接口。-an enhanced database category CDataSet because MFC fully support database application development, the majority of database applications used CDatabase and CRecordset class and category Wizard (Class Wizard) provides a fast and easy way to use these two categories. There is one point when the shortage of applications related to multi-table database, the wizard class will have a lot of records set on the source document makes the project (project) gives the impression that very confused. This paper describes how to use a template Records Set to reduce class wizard from the record set in the volume of documentation, while enhancing the plot record category (CRecordset) function. The template called Set Records : CDataSet. Its main purpose is to reduce the amount of code and data objects to p
Platform: | Size: 33635 | Author: 杨葶 | Hits:

[ADO-ODBCdbstep-0.2.0.tar

Description: Dbstep 是一个库,目标在需要访问数据库的C++开发者。它由一个接口类的通用集和一些用于通用数据源的驱动所组成-Dbstep is a library, goals need access to the database in the C developer. It is a kind of universal interface sets and some common data source for the driver formed
Platform: | Size: 20091 | Author: 杨子 | Hits:

[Other一个简单的DLL例子

Description: 用和com组件相关的知识比如 接口类,和类的实现等等相关的知识 实现加,减,乘,除. 对初学者认识一些组件的知识有非常好的参考价值.-com and use of knowledge related components such as interface type, and so on to achieve the kind of knowledge related achieve Canada, by, by, in addition. For beginners know some components of the knowledge have very good reference value.
Platform: | Size: 18901 | Author: 张君建 | Hits:

[Windows Develop多串口多线程工业控制实现(SerialPort类)

Description: 对SerialPort类进行了一些简单的修改,其中封装了操作串口复杂的一些串口操作。使用的时候可以直接通过它的一些简单的接口就可以完成各种外围设备的工作了。经测试,效果很好-right SerialPort category for some simple changes, packaged operating serial complexity of some serial operation. It can be used directly through some of its simple interface to be completed on the various external devices work. After tests with good results
Platform: | Size: 7464 | Author: 丁建军 | Hits:

[Communication通信接口类

Description: 这是一个综合了多种通信方式(RS232串口/TCP/UDP/E1)的通信接口类,它对外提供了统一的接口,使得开发人员不再需要关心通信编程的细节! 内部使用多线程,效率极高,并且经过了2年的使用,不断的得到维护,目前最新版本.-This is a combination of various means of communication (RS232 serial / TCP/UDP/E1) Communication Interface category, which offer a unified interface that allows developers no longer need to care about the details of the Communication Programming! The internal use of multithreading and efficient way, and after two years the use of continuously maintained that the latest version.
Platform: | Size: 16706 | Author: 戴维 | Hits:

[Embeded-SCM DevelopHID类的USB接口通信程序

Description:

VC编写的程序可以实现和HID类的USB接口通信


Platform: | Size: 49357 | Author: zipporchen | Hits:

[SourceCodemsword接口类

Description: msword接口类
Platform: | Size: 104041 | Author: yuyuxuxu521 | Hits:

[WEB Codejs表格翻页_APOLLO改进_改进为类_eval最终版

Description: /*------------------------------------------------------------------| | AjaxTablePage 1.01 | AJAX数组表格分页类 | |-------------------------------------------------------------------| | Copyright (c) 2009 Apollo Updated: 2009年2月5日9:44:56| | | | 调用方式: | var 自定义的全局变量名 = new AjaxTablePage("自定义全局变量名","表格的ID","翻页后运行的返回函数"); | 自定义的全局变量名.ioStr.DiyTH="表头1,表头2,.." | 自定义的全局变量名.ioStr.Diystr="第一行1第一行2,..|第二行..|.." | | 自定义的全局变量名.initialize(); | | | | 接口:每页记录数,表格头字符串,表格内容字符串 | | AJAX应用:适时获取新的字符串后设置上述接口再调用initialize()即可 | | 参考网上代码所写,变量名不是很规范。请见谅| | | |-------------------------------------------------------------------*/
Platform: | Size: 4645 | Author: xxapollo@qq.com | Hits:

[Communication更新版串口类库

Description: 这是一个封装得比较完整的串口类接口,支持同步、异步操作,使用简单高效,具有工业强度,我在BC, BCB, VC, BCBX, GCC下编译通过。-This a more comprehensive package in the category of serial interface, supports synchronous and asynchronous operation, the use of simple, effective and industrial strength, I BC, BCB, VC, BCBX, through the GCC compiler.
Platform: | Size: 4096 | Author: 刘云 | Hits:

[Communication通信接口类

Description: 这是一个综合了多种通信方式(RS232串口/TCP/UDP/E1)的通信接口类,它对外提供了统一的接口,使得开发人员不再需要关心通信编程的细节! 内部使用多线程,效率极高,并且经过了2年的使用,不断的得到维护,目前最新版本.-This is a combination of various means of communication (RS232 serial/TCP/UDP/E1) Communication Interface category, which offer a unified interface that allows developers no longer need to care about the details of the Communication Programming! The internal use of multithreading and efficient way, and after two years the use of continuously maintained that the latest version.
Platform: | Size: 16384 | Author: 戴维 | Hits:

[Other一个简单的DLL例子

Description: 用和com组件相关的知识比如 接口类,和类的实现等等相关的知识 实现加,减,乘,除. 对初学者认识一些组件的知识有非常好的参考价值.-com and use of knowledge related components such as interface type, and so on to achieve the kind of knowledge related achieve Canada, by, by, in addition. For beginners know some components of the knowledge have very good reference value.
Platform: | Size: 1940480 | Author: 张君建 | Hits:

[Linux-UnixMyLinuxThread5-25[1].tar

Description: LINUX 线程池源代码:Lock.cpp : 锁的操作 , 读锁可以并发 , 写锁独占. Queue.h : 队列的封装 , 队列的读和写都加了锁的保护. Socket.cpp : 套接口的简单封装. Thread.cpp : 线程的封装实现了些简单的线程停止,运行等功能 , 启动别的线程的时候需要继承次类. Worker.cpp : 用户接口类 , 用户需继承此类。 ListenThread.cpp(继承Thread.cpp) : 服务器监听线程.如果有客户端连接通知ThreadPool类,由ThreadPool类进行任务分派. TaskThread.cpp(继承Thread.cpp) : 具体任务类,负责接受客户端发送数据. ThreadPool.cpp (继承Thread.cpp) : 线程池类负责启动别的线程 , 并且进行线程调度。首先启动ListenThread.cpp类,如果有客户端 连接ListenThread.cpp类发送信号通知ThreadPool.cpp类,收到信号再分配给TaskThread.cpp类,进行处理。如果没有空闲任务类,动态再-LINUX source code of the thread pool
Platform: | Size: 10240 | Author: wsd | Hits:

[OthereDNA_.NET_接口_功能_说明_及示例

Description: eDNA在各个功能层面都提供了丰富的程序接口,为了便于用户使用.NET进行应用或者接口开发,本文将eDNA常用的API进行了封装,以便于用户在.NET平台下使用eDNA开发接口,封装时使用的语言是C#。 本文从功能的角度,按照如下图所示的命名空间结构对eDNA的开发接口进行了划分。下图中,浅蓝色图形代表一个.NET类(Class),白色图形则代表.NET的命名空间(Namespace)。本文出了给出eDNA各开发接口的.NET封装、其功能说明、参数说明、返回值说明之外,同时还给出了示例程序以及示例程序在不同情况下的输出和运行效果,以便于用户正确有效地使用eDNA接口函数所提供的功能,测试中使用的库文件为ezdnaapi.dll(2.3.21.23),EZDnaServApi.dll(1.4.0.4)。(EDNA provides rich program interfaces at all functional levels)
Platform: | Size: 1853440 | Author: sunlight | Hits:

[TCP/IP stack网络通信接口类

Description: C# TCP\UDP通信接口类实现,包括C#TCP&UDP服务器客户端代码。(C # TCP/UDP communication interface class implements)
Platform: | Size: 8192 | Author: Reddragon2010 | Hits:

[Windows Develop类与接口

Description: 实现C#编程中类与基类创建以及接口实现,在基类中定义字段,并在main函数中实现程序(Creation of interface between class and base class)
Platform: | Size: 36864 | Author: lemonyycx | Hits:

[OS Develop发个关于ArcEngine类库及常见接口解释的文档

Description: 整理了arcengine中常用的接口。便于查找。(ARCEngine interface.)
Platform: | Size: 584704 | Author: 叁枽 | Hits:

[Internet-Networkhttp

Description: 主要用于在c++中进行http同步请求的接口类,使用很简单,支持Get/Post请求方式(The interface class, which is mainly used in c++ for HTTP synchronization requests, is easy to use and supports the Get/Post request mode)
Platform: | Size: 1516544 | Author: fdghgfhgfh | Hits:

[Other门禁接口说明

Description: 门禁相关接口调用类,文档对接需要说明,建议看说明参考。(Access control-related interface call class, document docking needs explanation)
Platform: | Size: 279552 | Author: 王东好 | Hits:

[WEB Code工具类

Description: BeanFactory,以Factory结尾,表示它是一个工厂类(接口),用于管理Bean的一个工厂。在Spring中,BeanFactory是IOC容器的核心接口,它的职责包括:实例化、定位、配置应用程序中的对象及建立这些对象间的依赖。(BeanFactory, ending with Factory, indicates that it is a factory class (Interface) that is used to manage a factory of Bean. In Spring, BeanFactory is the core interface of the IOC container, and its responsibilities include: instantiating, locating, configuring objects in the application and establishing the dependencies between these objects.)
Platform: | Size: 1024 | Author: qchaha | Hits:
« 12 3 4 5 6 7 8 9 10 ... 50 »

CodeBus www.codebus.net