GaufrettePHP文件系统抽象层
Gaufrette 提供了一个文件系统的抽象层的PHP5库。它使得以相同方式操控本地文件,FTP服务器,亚马逊 S3等等。它允许你开发程序时,不用了解未来你将怎么访问你的文件。
示例代码:
<?php use Gaufrette\Filesystem; use Gaufrette\Adapter\Ftp as FtpAdapter; use Gaufrette\Adapter\Local as LocalAdapter; use Gaufrette\Adapter\Cache as CacheAdapter; // Locale Cache-Directory (e.g. '%kernel.root_dir%/cache/%kernel.environment%/filesystem') with create = true $local = new LocalAdapter($cacheDirectory, true); // FTP Adapter with a defined root-path $ftp = new FtpAdapter($path, $host, $username, $password, $port); // Cached Adapter with 3600 seconds time to live $cachedFtp = new CacheAdapter($ftp, $local, 3600); $filesystem = new Filesystem($cachedFtp);
评论
GaufrettePHP文件系统抽象层
Gaufrette提供了一个文件系统的抽象层的PHP5库。它使得以相同方式操控本地文件,FTP服务器,亚马逊S3等等。它允许你开发程序时,不用了解未来你将怎么访问你的文件。示例代码:<?phpu
GaufrettePHP文件系统抽象层
0
PyFilesystemPython 文件系统抽象层
PyFilesystem 是一个为所有文件系统提供的通用 Pythonic接口。它是文件系统的抽象层,任何包含文件和目录的东西(硬盘,压缩文件,FTP服务器等等)都可以封装成一个共同的接口。使用这个模
PyFilesystemPython 文件系统抽象层
0
PyFilesystemPython 文件系统抽象层
PyFilesystem 是一个为所有文件系统提供的通用 Pythonic 接口。它是文件系统的抽象
PyFilesystemPython 文件系统抽象层
0
AferoGo 的文件系统抽象
Afero是一个文件系统框架,提供一个简单、统一和通用的API和任何文件系统进行交互,作为抽象层还提供了界面、类型和方法。Afero的界面十分简洁,设计简单,舍弃了不必要的构造函数和初始化方法。Afe
AferoGo 的文件系统抽象
0
DBSlayer数据库抽象层
DBSlayer是一个轻量级的用于高负荷的网站的数据库抽象层,基于HTTP+JSON协议,当你需要一个可伸缩的连接池时,你会需要用到DBSplayer。DBSlayer采用C语言编写,具有非常高的性能
DBSlayer数据库抽象层
0
Ygloo-yosal雅虎操作系统抽象层
Ygloo-yosal(YahooOperatingSystemAbstractionLayer)提供了一个API来抽象系统功能,以便开发能够移植到多个平台的库。
Ygloo-yosal雅虎操作系统抽象层
0