Time of Update: 2015-02-28
標籤: 1 <?php 2 3 error_reporting(E_ALL | E_STRICT); 4 5 class single{ 6 7 public $hash; 8 9 static protected $ins = null;10 11 final protected function __construct(){ //final 能被繼承,不能被重寫(防止子類重寫構造方法)12 $this->hash =
Time of Update: 2015-02-28
標籤:前端:以jquery為例:需要加入xhrFields: { withCredentials: true }, crossDomain:
Time of Update: 2015-02-28
標籤:tcp網路通訊NetworkComms網路通訊架構配套CodeSmith模板使用簡介NetworkComms網路通訊程式開發過程中,與資料庫的互動部分,很多代碼我們採用CodeSmith模板來產生。此套CodeSmith模板目前只支援sql server 資料庫模板: 【模板下載】分享我所使用的資料庫架構650) this.width=650;" src="http://images.cnitblog.com/blog/586310/201502/281139293143949
Time of Update: 2015-02-28
標籤:node.js一個檔案就是一個模組exports公開介面建立exports.js對外提供兩個共有介面:設定值,求平方var i;exports.set = function(num){//設定值 i=num; console.log("seti to "+i);}exports.square = function(){//求平方並輸出 i=Math.pow(i,2);
Time of Update: 2015-02-28
標籤:zhanhailiang 日期:2015-02-28安裝與配置下載php-5.6.6.tar.gz[[email protected]~/wade/git/billfeller.github.io/code]# wget wget http://cn2.php.net/distributions/php-5.6.6.tar.gz通過 --enable-opcache 開啟OPcache:./configure --prefix=/usr/local/php-5.6.6
Time of Update: 2015-02-28
標籤: 分析 主要還是運用CSS3的transition, animation,
Time of Update: 2015-02-28
標籤:function test(){ var text="index.aspx?test=1&ww=2&www=3"; var re = /\?(\w{1,}=\w{1,}&){1,}\w{1,}=\w{1,}/; //
Time of Update: 2015-02-28
標籤:謠言粉碎機前些日子發布的《用公用WiFi上網會危害銀行賬戶安全嗎?》,文中介紹了在使用HTTPS進行網路加密傳輸的一些情況,從回複來看,爭議還是有的。隨著網路越來越普及,應用越來越廣泛,一些網路安全問題也會越來越引起網民的關注,在這裡和大家一起聊聊TLS/SSL也就是我們常說的HTTPS,從原理到實際應用看清它到底是怎麼一回事,以及在使用HTTPS要注意哪些問題以及相關的安全技巧。網路安全是一個整體的事件,涉及到個人電腦的安全,協議的安全,傳輸資料的安全,以及軟體開發公司和網站的安全,單純
Time of Update: 2015-02-28
標籤:使用HttpSessionListener介面可監聽session的建立和失效session是在使用者第一次訪問頁面時建立在session逾時或調用request.getSession().invalidate()時失效因此利用HttpSessionListener介面可方便的做到幾個功能1、統計線上使用者2、限定帳號的同時登入個數3、記錄使用者退出時間以下是目前項目的代碼,實現的是限定帳號的同時登入個數public class MySessionListener implements
Time of Update: 2015-02-28
標籤:.NET 4 並行(多核)編程系列之一入門介紹 本系列文章將會對.NET 4中的並行編程技術(也稱之為多核編程技術)以及應用作全面的介紹。 本篇文章的議題如下: 1. 並行編程和多線程編程的區別。 2. 並行編程技術的利弊 3. 何時採用並行編程 系列文章連結: .NET 4 並行(多核)編程系列之一入門介紹 .NET 4 並行(多核)編程系列之二 從Task開始 .NET 4
Time of Update: 2015-02-28
標籤:項目各類的功能說明XMLUtils 載入xml模板,採用xstream將xml元素映射到java對象。PropertyUtils 載入properties檔案並替換properties和xml中的定義變數。ClassInfo 儲存java常用class類型的資訊,例如String.class等DomainClassInfo
Time of Update: 2015-02-28
標籤:效果預覽:http://runjs.cn/detail/vydinibc 帶左右箭頭的自動焦點圖:http://runjs.cn/detail/wr1d1kehhtml:<div class="recommend"> <div class="pic" id="fade"> <ul>
Time of Update: 2015-02-28
標籤: var x = 1; function addlink() { var linkdiv = document.getElementById("add1_0"); if (linkdiv.attributes.currentindex.value) { var tmp = linkdiv.attributes.currentindex.value;
Time of Update: 2015-02-28
標籤:學習MVC我做了一些筆記,在學習MVC之前呢,我們需要先瞭解和MVC一起使用的小夥伴們做事情要抓重點: 為什麼要學MVC MVC的好處 MVC如何使用,MVC的特點 MVC的原理
Time of Update: 2015-02-28
標籤:MVC中Model BLL層Model模型互轉一. 模型通常可以做2種:充血模型和失血模型,一般做法是模型就是模型,不具備方法來操作,只具有屬性,這種叫做失血模型(可能不準確);具備對模型一定的簡單操作方法,不只是有屬性的模型叫做充血模型,如下:using System;using System.Collections.Generic;using System.Linq;using System.Web;namespace MvcApplication1.Models{ ///
Time of Update: 2015-02-28
標籤:http://www.cnblogs.com/yazdao/archive/2010/12/06/1897742.html該博文是想用JS檢測瀏覽器是否出捲軸。 這邊想到一個比較取巧的方法,假如沒有出捲軸的時候,手工給增加一個滾動值會怎麼樣?程式上就是給body或documentElement的scrollLeft、scrollTop賦值,馬上動手實現了一下,結果跟我意想的差不多,呵呵瀏覽器在沒有出捲軸的時候,賦值後該值不會發生變化,始終是0。 另外擴充了一
Time of Update: 2015-02-28
標籤:-》MVC→請求 處理 相應原理:用戶端請求url→Controller→Model→Data Provider(sql server)
Time of Update: 2015-02-28
標籤:[ASP.NET 1.1]Global.asax.cs中的方法的含義 跟Request有關的放到後面一起說,先說其他的5個。 Application_Init:在每一個HttpApplication執行個體初始化的時候執行。 Application_Disposed:在每一個HttpApplication執行個體被銷毀之前執行。 Application_Error:所有沒有處理的錯誤都會導致這個方法的執行。
Time of Update: 2015-02-28
標籤:<input type="text" class="field" value="文字框" /><textarea name="words" class="field" cols="30" rows="10"></textarea><select name="age" class="field"> <option value="1">15</option> <option value="2">22
Time of Update: 2015-02-28
標籤:方法1:來源:http://www.lanrentuku.com/js/shipin-1022.html代碼:<!-- .flv格式 --><object class id="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="98%