很早之前在项目中使用的软件架构模式,一直想着写一写加深自己对它的理解。但总是一天拖着一天,趁着现在闲,跟大家唠唠嗑这个东西。首先什么是 MVC(Model-View-Controller) 呢?不得不说这是一个有情怀的思想,它把前后端的代码进行一次极大的解耦。当然这跟我们平常见到的三层是两个完成不一...
分类:
Web程序 时间:
2015-05-04 15:24:06
阅读次数:
167
var app = angular.module("encodeDecode", []); app.controller("encodeDecodeCtrl", ($scope, str) => { $scope.encode = btoa(str); $scope.dec...
分类:
Web程序 时间:
2015-05-04 11:40:22
阅读次数:
255
QQ群:2423597857==============================46.LR启动controller报错“transactionmonitornotavailable”1.多是OS系统问题,修复试试或升级2.或修复LR试试47.Loadrunnber报错误:Error--memoryviolation:ExceptionACCESS_VIOLATIONreceived.的一种情况Postedon2011-01-051..
分类:
其他好文 时间:
2015-05-03 23:53:24
阅读次数:
329
一.使用字符串作为条件查询在Home/controller/UserController.class.php下插入where('id=1')->select()); }}这是最基本的调用方法,更详细点则是 var_dump($user->where('id=1 and user ...
分类:
数据库 时间:
2015-05-03 21:49:48
阅读次数:
257
一、一般过程 1 // 2 // YYViewController.h 3 // UITableView Controller 4 // 5 // Created by 孔医己 on 14-6-2. 6 // Copyright (c) 2014年 itcast. All rights re...
分类:
移动开发 时间:
2015-05-03 18:46:33
阅读次数:
123
模板暂时仅支持smarty,需要指定模板文件系统配置文件在supermvc文件夹下 sconfig.php修改项目目录下的conf下的config.php 会覆盖系统默认配置controller层 V层 支持 display方法 显示模板 assign 方法 给模板配...
分类:
Web程序 时间:
2015-05-03 17:16:05
阅读次数:
120
原文http://www.cnblogs.com/wendingding/p/3765031.htmliOS开发UI篇—以微博界面为例使用纯代码自定义cell程序编码全过程(一)一、storyboard的处理直接让控制器继承uitableview controller,然后在storyboard中把...
分类:
移动开发 时间:
2015-05-03 17:13:15
阅读次数:
203
JKLLockScreenViewControllerhttps://github.com/tiny2n/JKLLockScreenViewControllerOverviewIt is Lock Screen Controller on platform iOS.这是iOS平台上的锁屏控制器源码....
分类:
其他好文 时间:
2015-05-02 23:18:50
阅读次数:
261
第一步:在info.plist中添加一个字段:view controller -base status bar 设置为NO第二步:在#import "AppDelegate.m"里添加:- (BOOL)application:(UIApplication *)application didFinis...
分类:
其他好文 时间:
2015-05-02 23:18:01
阅读次数:
171
在组织大型项目的代码文件时,我们常用MVC的思想。MVC的概念讲起来非常简单,就和对象(object)一样。但是理解和应用起来却非常困难。今天我们就简单总结一下MVC设计理念。MVC(Model View Controller)模型(model)-视图(view)-控制器(controller...
分类:
移动开发 时间:
2015-05-02 19:28:57
阅读次数:
255