PHP 测试对象库 Samsui

码农软件 · 软件分类 · 常用工具包 · 2019-08-16 22:12:02

软件介绍

Samsui 是一个用于建立对构建你的应用程序测试数据有用的 PHP 对象库。通过 Samsui,你可以快速建立原型应用,产生你测试原型所需要的数据。

示例代码:

use Samsui\Factory;

$factory = new Factory();

// define an object quickly
$factory->define('person')
    ->sequence('personId')
    ->attr('firstName', 'James')
    ->attr('lastName', 'Clark')
    ->attr('email', function ($i, $o) {
        return strtolower($o->firstName . '.' . $o->lastName . '@example.com');
    })
    ->attr('createdTime', function () {
        return time();
    });

本文地址:https://www.codercto.com/soft/d/12525.html

jQuery

jQuery

Earle Castledine、Craig Sharkie / SitePoint / 2010-02-28 / USD 39.95

jQuery: Novice to Ninja is a compilation of best-practice jQuery solutions to meet the most challenging JavaScript problems. In this question-and-answer book on jQuery, you'll find a cookbook of ready......一起来看看 《jQuery》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

在线进制转换器
在线进制转换器

各进制数互转换器

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具