1.定义单入口文件(index.php)在单入口index.php中不定义这两项时,会生成编译缓存文件~runtime.phpdefine('RUNTIME_PATH','./App/Temp/'); //定义编译目录define('APP_DEBUG',TRUE); //...
分类:
Web程序 时间:
2015-01-27 21:39:52
阅读次数:
158
ThinkPHP和jQuery EasyUI这两个都是不错的框架,现在要把它两个整合到一块,做个简单的Ajax调用查询。在ThinkPHP模板中引入EasyUI的相关文件,然后设置按钮3的调用: easyui app Bu...
分类:
Web程序 时间:
2015-01-27 13:04:18
阅读次数:
134
1. jquery file upload 下载
jquery file upload Demo 地址:https://blueimp.github.io/jQuery-File-Upload/
jquery file upload 下载 地址:https://github.com/blueimp/jQuery-File-Upload/tags
jquery file uploa...
分类:
Web程序 时间:
2015-01-27 00:36:39
阅读次数:
326
网上通用解决方法的配置如下:server { ... location / { index index.htm index.html index.php; #访问路径的文件不存在则重写URL转交给ThinkPHP处理 if (!-e $request...
分类:
Web程序 时间:
2015-01-26 20:43:00
阅读次数:
122
场景:使用Spark Streaming接收实时数据与关系型数据库中的表进行相关的查询操作;使用技术:Spark Streaming + Spark JDBC External DataSources代码雏形:package com.luogankun.spark.streamingimport o...
分类:
数据库 时间:
2015-01-26 15:03:00
阅读次数:
275
getController($module);foreach($all_controlleras$controller) {$controller_name=$controller;$all_action=$this->getAction($module,$controller_name);fore...
分类:
Web程序 时间:
2015-01-26 11:33:12
阅读次数:
233
一、关于LINQLINQ 英文全称是“Language-Integrated Query”,中文为“语言集成查询”,它是微软首席架构师、Delphi 之父和C# 之父——Anders Hejlsberg 提出的并由其团队着力打造的一组用于c#和Visual Basic语言的扩展,为 C# 和 V.....
分类:
其他好文 时间:
2015-01-24 22:34:14
阅读次数:
196
Jquery Miniui JS 兼容IE6+的浏览器,非常适合在企业内部使用。管理系统等都非常方便。在企业内部正在使用的是前期asp.net +fineui实现的管理系统。经过了几年的实践检验。目前准备采用thinkphp+Jquery Miniui 重新做一个轮子,再来一套!功能模块:1、组织架...
分类:
Web程序 时间:
2015-01-24 21:20:20
阅读次数:
339
1.数据库连接,需要连接没有数据表前缀 如下,第二个参数必须为null,我之前写的是’’,结果给我默认加了前缀 $User = M('User',Null,'DB_CONFIG2'); 2.AJAX获取url上pathinfo参数 $this->_request(paramname);
分类:
Web程序 时间:
2015-01-24 15:48:36
阅读次数:
171
getController($module); foreach ($all_controller as $controller) { $controller_name = $controller; $all_actio...
分类:
Web程序 时间:
2015-01-23 22:50:26
阅读次数:
175