ThinkPHP是国内非常火的一个轻量级框架,采用MVC模式,结构写的非常好,今天大象带大家走一下ThinkPHP框架系统运行流程,我将跟随ThinkPHP的执行进行代码讲解,第一课,先讲解URL路由解析一、ThinkPHP框架目录/test/index.php//项目入口文件/ThinkPHP/T...
分类:
Web程序 时间:
2014-06-12 18:48:29
阅读次数:
463
原题地址:https://oj.leetcode.com/problems/jump-game/题意:Given
an array of non-negative integers, you are initially positioned at the first
index of the arr...
分类:
编程语言 时间:
2014-06-12 18:04:54
阅读次数:
540
原题地址:https://oj.leetcode.com/problems/jump-game-ii/题意:Given
an array of non-negative integers, you are initially positioned at the first
index of the ...
分类:
编程语言 时间:
2014-06-12 17:38:49
阅读次数:
323
问题:在逻辑中使用了,
QAbstractItemView::setRootIndex(const QModelIndex & index),第一次设置生效, view
进入了model 中指定的item, view 内只显示该item内部的children items. 这个效果是我要的.bug:...
分类:
其他好文 时间:
2014-06-12 16:42:56
阅读次数:
266
MySQL的锁: MySQL内部有很多种类的锁,按照用途不同,可以分为两类: 1.
保护内存结构的锁 server层对于线程共享的变量,基本上使用mutex,rwlock来做保护。 innodb层会增加使用spinlock自旋锁 2.
提供或者保...
分类:
数据库 时间:
2014-06-12 13:27:02
阅读次数:
293