参考资料SaeVCode api 文档使用教程所有的验证码原理都是生成一个vcode字符串,存到session中,和用户的输入进行比较判断,以下是一个使用验证码服务的完整实例:首页index.htmlSae Vcode demo ...
分类:
移动开发 时间:
2015-10-23 11:54:47
阅读次数:
307
参考阅读sae storage api 文档Storage 说明文档Storage 大文件上传说明storage是什么?因为sae禁用了代码环境的本地读写,但是在网站运行的过程中,必定会出现文件的读写,附件保存问题,此时就该存取storage出场了,storage代替了常规的upload目录~怎么在...
分类:
移动开发 时间:
2015-10-23 11:51:32
阅读次数:
277
Memcache是一个高性能的分布式的内存对象缓存系统,通过在内存里维护一个统一的巨大的hash表,它能够用来存储各种格式的数据,包括图像、视频、文件以及数据库检索的结果等。简单的说就是将数据调用到内存中,然后从内存中读取,从而大大提高读取速度。sae同样提供memcache 缓存服务。如何开启SA...
分类:
移动开发 时间:
2015-10-23 11:41:05
阅读次数:
282
Prepared Query 是提供给Ado.net等工具的一种查询方式,能够复用执行计划,Prepared Query 不是TSQL 语言的功能。The SQL Server relational engine introduces full support for preparing SQL s...
分类:
数据库 时间:
2015-10-22 21:20:18
阅读次数:
403
上次我们的express已经安装好了接下来我们修改渲染引擎为html// view engine setupapp.set('views', path.join(__dirname, 'views'));app.set('view engine', 'html');app.engine('.html...
分类:
其他好文 时间:
2015-10-22 13:49:41
阅读次数:
131
Mysql5.7.9原生JSON格式支持 创建表 create?table?news?(uid?int?auto_increment,?data?json,?primary?key(uid))engine?innodb; 插入数据 insert?into?news?values?(NULL,‘{"name":"tester","mail...
分类:
数据库 时间:
2015-10-22 12:38:49
阅读次数:
388
1. create database yyzc; show database yyzc;z drop database yyzc;2. show engines; show variables like 'have %'; Alter table user engine=my...
分类:
数据库 时间:
2015-10-22 12:15:19
阅读次数:
218
vim /usr/local/logstash/etc/hello_search.conf输入下面:input { stdin { type => "human" }}output { stdout { codec => rubydebug } elasticsearch { ...
分类:
其他好文 时间:
2015-10-21 12:36:53
阅读次数:
385
genymotion Unable to load VirtualBox engine 某种解决办法
分类:
其他好文 时间:
2015-10-21 10:37:12
阅读次数:
288
xcode6是没有问题的在利用JavaScriptCore与H5交互时出现异常提示:This application is modifying the autolayout engine from a background thread, which can lead to engine corru...
分类:
移动开发 时间:
2015-10-20 19:27:46
阅读次数:
290