07 2012 档案

css3 HTML5 效果
摘要:1 css3 机器人<!DOCTYPE html> <html> <head> <title>纯css打造安卓机器人</title> <style type="text/css"> body { font-family:"Lucida Sans Unicode"; font-size:14px; color:#4b4b4b; text-align:center; } * { padding:0px; margin:0px; } #container { position:relati 阅读全文

posted @ 2012-07-31 20:39 imihiro 阅读(334) 评论(0) 推荐(0)

DHTML 动态效果100例
摘要:DHTML= Dynamic 页面= html+js+css实现动态效果 阅读全文

posted @ 2012-07-28 15:17 imihiro 阅读(253) 评论(0) 推荐(0)

Web 前端工程师的 15项课程, 必须掌握的功夫
摘要:15门课必备素质http://www.cn-cuckoo.com/2010/01/08/how-nicholas-c-zakas-interviewing-the-front-end-engineer-1332.html 阅读全文

posted @ 2012-07-25 08:15 imihiro 阅读(354) 评论(0) 推荐(0)

市场说 Web前端工程师的3项素质
摘要:(1)DOM基础知识(2)内功、对浏览器的理解(3)自学、关注热点 阅读全文

posted @ 2012-07-24 22:53 imihiro 阅读(239) 评论(0) 推荐(0)

易点CMS 安装
摘要:以SQLServer版本为例(1)解压得到“系统文件”目录,在IIS中发布系统目录。(2)右键“系统文件”添加用户Asp.NET账户,并且赋予“修改”和“写入”的权限。(3)访问网站/install(4)添加数据库连接。 >在本地sqlserver中新建数据库,添加用户名和密码。然后测试连接 >在安装页面上添加后台登陆名和密码。(5)完成安装。 访问页面就可看到网站效果。 阅读全文

posted @ 2012-07-23 11:36 imihiro 阅读(625) 评论(0) 推荐(0)

Apache 发布网站
摘要:叫网站目录拷贝 到 DocumentRoot目录下即可。默认的DocumentRoot是 Apache\htdocs.修改方式: 在Apache\conf\httpd.conf 文件,修改DocumentRoot即可 阅读全文

posted @ 2012-07-23 10:48 imihiro 阅读(802) 评论(0) 推荐(0)

Apache 安装
摘要:1.Apache安装在官网上下载。安装即可, 两个要点 1.1 ServerName 要写计算机的名称(网络域名和邮箱默认即可)1.2 Custom安装中,勾选上 BuildHeaders and Libraries 安装后后,状态栏显示Apache已经启动 . 访问localhost如下,则 Apache安装成功. 1.2 Apache的常见配置 Apache/conf/httpd.conf 就是Apache的配置文件。 1.2.1 配置发布目录 DocumentRoot## DocumentRoot: The directory out of which you will ser... 阅读全文

posted @ 2012-07-23 10:31 imihiro 阅读(236) 评论(0) 推荐(0)

PHP+Apache+MYSQL 构建网站
摘要:PHP: 服务端脚本语言 PHP运行环境(需要安装). 支持的OS: 5.4(含)之前支持winxp和winserver,之后的不再支持Apache: web服务发布软件 开发者:伊利诺伊大学 国家计算机实验室 大小:12.4M (2012的2.4版) 支持的OS:Linux,win,Unix 市场地位:安全性、稳定性最强,最流行的网站发布软件。 费用:免费、开源 官网:http://httpd.apache.orgApache发布网站: (1)右下角,确定Apache已经开启 (2)把网站目录拷贝到Apac... 阅读全文

posted @ 2012-07-23 08:59 imihiro 阅读(463) 评论(1) 推荐(0)

css 调试技巧
摘要:(1)样式调整 开发人员工具-->脚本-->启动调试HTML-->属性 进行调试,可以即时看到界面效果(2) js脚本调试 阅读全文

posted @ 2012-07-21 15:23 imihiro 阅读(313) 评论(0) 推荐(0)

css 选择器
摘要:>id #>class .>属性 [属性名] [属性名=属性值]>子元素 >>兄弟元素选择 本 + 兄弟//备注:之渲染兄弟>伪类 :before (选择前一个元素) :after(选择后一个元素) :first-line (首行文本) :first-letter(首字母) 阅读全文

posted @ 2012-07-21 12:58 imihiro 阅读(157) 评论(0) 推荐(0)

css 主页模版 搜索技巧
摘要:google-->css template don't open link from google,they may be prevented by firewall. Instead Copy the url, paste, then link the foreign web sites. 阅读全文

posted @ 2012-07-20 09:00 imihiro 阅读(172) 评论(0) 推荐(0)

SQL Server 数据类型(char,nchar, varchar, nvarchar比较)
摘要:http://blog.eray.cn/2007/05/about-sql-server-char-type.html 阅读全文

posted @ 2012-07-19 16:52 imihiro 阅读(205) 评论(0) 推荐(0)

HTML Table 固定列宽,实现excel表格效果
摘要:(1)获取行号<table><tr onmouseover ="showIndex(this)"><td>1</td></tr><tr onmouseover ="showIndex(this)"><td>2</td></tr><tr onmouseover ="showIndex(this)"><td>3</td></tr><tr onmouseover ="sh 阅读全文

posted @ 2012-07-19 14:57 imihiro 阅读(10328) 评论(0) 推荐(0)

css 牛人blog
摘要:http://cage.8cuo.org/?p=63 阅读全文

posted @ 2012-07-18 16:37 imihiro 阅读(152) 评论(0) 推荐(0)

css height
摘要:一、height原文链接:http://www.divcss5.com/>设置高度(像素)>高度自适应>高度固定,隐藏超出的内容(1)//未提用百分比设置.clsTest{height:50px;}<div class="clsTest">Text for Test</div>(2) height:auto (或者不设置height属性)(3) height:50px; overflow:hidden;二、width>百分比设置宽度>宽度上限(max-width)三、border (边框)border-style:sol 阅读全文

posted @ 2012-07-18 11:32 imihiro 阅读(173) 评论(0) 推荐(0)

C# List.Sort() 排序; DataView 对DataTable 排序
摘要:List<string> sortedHeight = new List<string>(); foreach (var cs in contourDoc.SelectNodes("Xml/ContourSet")) { XmlElement tempEle = cs as XmlElement; sortedHeight.Add(tempEle.Attributes["height"].Value); } sortedHeight.Sor... 阅读全文

posted @ 2012-07-13 17:23 imihiro 阅读(2487) 评论(0) 推荐(0)

C# 语言特性(继承)
摘要:(1)只能继承1个基类, 可继承多个接口 阅读全文

posted @ 2012-07-13 16:39 imihiro 阅读(157) 评论(0) 推荐(0)

AE Contour和ContourAsPolyline
摘要:转自http://www.cnblogs.com/cglNet/archive/2011/03/03/1970061.html感谢cglNet分享(1)ISurfaceOp.Contour 根据DEM生成等高线图层: private void button1_Click(object sender, EventArgs e) { //得到Raster ILayer tLayer=this.axMapControl1.get_Layer(0); IRasterLayer tRasterLayer=(IRa... 阅读全文

posted @ 2012-07-13 15:06 imihiro 阅读(1022) 评论(0) 推荐(1)

MVC EF 建立表关联, 关联查询实现
摘要:例1:>Model中体现1对多>DbContext两个表都已声明>Controller中使用Include("表名")即可//效果示意:例2:显示Album表字段 关联到 Genre和Artist字段 阅读全文

posted @ 2012-07-13 11:29 imihiro 阅读(21001) 评论(2) 推荐(2)

C# Keyword(base,protected, override,....)
摘要:(1)protected The protected keyword is a member access modifier. A protected member is accessible from within the class in which it is declared, and from within any class derived from the class that declared this member. //proteted修饰的方法 (本类 和 派生类 内部可访问)class A { protected int x = 123;}class B : A {.. 阅读全文

posted @ 2012-07-13 08:51 imihiro 阅读(844) 评论(0) 推荐(0)

MVC Music Sotre -2
摘要:七、使用EF快速完成CRUD功能(1)新建Artist,Genre,Album3个类,用属性显示3张表的关联(2)添加DbContext类(对应数据库),添加DbSet<Model>(对应表)>画出数据库设计图(表、表间关系),手动、UML、SQL的工具均可>添加Album、Genre、Artist类,和DbContext类 public class DbMusicContext:DbContext //相当于数据库 { public DbSet<Album> Albums { get; set; } //Album表 public DbSet<Gen 阅读全文

posted @ 2012-07-13 08:22 imihiro 阅读(2452) 评论(0) 推荐(0)

MVC Music Store
摘要:一、Url映射到Controller ActionResult(Method)(1)添加StoreController public class StoreController : Controller { // // GET: /Store/ //public ActionResult Index() //{ // return View(); //} public string Index(string name) //... 阅读全文

posted @ 2012-07-12 21:29 imihiro 阅读(1120) 评论(0) 推荐(0)

ArcObject GP 所有分析
摘要:You can execute any ArcToolbox tool or model via ArcObjects using the Geoprocessing library: http://edndoc.esri.com/arcobjects/9.2/CPP_VB6_VBA_VCPP_Doc/COM/gp/Using%20Geoprocessing%20Tools%20in%20VB.pdf 阅读全文

posted @ 2012-07-12 10:16 imihiro 阅读(463) 评论(0) 推荐(0)

五大浏览器对 HTML5 CSS3的支持 (2012-07)
摘要:CSFOI Chrome 和Safari 的支持最好。 (Safari仅适用于起初仅用于 Mac OS系统,现已有Win版本) FireFox 和 Opera次之 IE9 正在最后(完善中) 阅读全文

posted @ 2012-07-12 09:06 imihiro 阅读(160) 评论(0) 推荐(0)

泥壁鲁(80后 Kevin Yang from ChengDu) 银河帝国 海岛帝国 2012-4月 北美销售额 114w$ IOS(国内前10)
摘要:http://tech.ifeng.com/mi/detail_2012_07/11/15937438_0.shtml//全球: 苹果 AppStore的年销售额是30Y$ 月销售额2.5Y$。 若Com的销售额能到1kw $,近 No.1 阅读全文

posted @ 2012-07-11 21:42 imihiro 阅读(201) 评论(0) 推荐(0)

ArcGIS Surface Analysis-->Contour Error
摘要://解决方式: 在ArcCatlog中右键Raster-->Calculate Statistics 阅读全文

posted @ 2012-07-11 09:48 imihiro 阅读(815) 评论(0) 推荐(0)

AE Map导出成emf图片
摘要://emf图片 印刷业使用的图片格式。几乎所有图片软件都可打开http://bbs.esrichina-bj.cn/ESRI/viewthread.php?tid=56421 阅读全文

posted @ 2012-07-10 17:21 imihiro 阅读(291) 评论(0) 推荐(0)

为何断点不停 Application_Start()方法
摘要:原因:启动调试Development Server已经启动。解决方式:停止右下角的Development Server,重新生成. F5 阅读全文

posted @ 2012-07-10 06:09 imihiro 阅读(626) 评论(0) 推荐(0)

MVC Tutorial Movie DIY
摘要:Razor cshtmlRazor cshtmlRazor即cshtml,是MVC的视图设计引擎.view 目录下的 _ViewStart.cshtml @{ Layout = "~/Views/Shared/_Layout.cshtml";}指定模板页 (即把_Layout.cshtml作为母页)sample列表>MovieStorehttp://www.asp.net/mvc/tutorials/mvc-4/getting-started-with-aspnet-mvc4/adding-a-model(3)index.cshtml (显示列表的Razor页)> 阅读全文

posted @ 2012-07-08 10:49 imihiro 阅读(971) 评论(0) 推荐(0)

MVC vs Aspx
摘要:http://weblogs.asp.net/shijuvarghese/archive/2008/07/09/asp-net-mvc-vs-asp-net-web-form.aspx 阅读全文

posted @ 2012-07-07 23:43 imihiro 阅读(206) 评论(0) 推荐(0)

Razor cshtml页面 的 特性
摘要:http://blog.joycode.com/scottgu/archives/2010/07/20/116030.joyRazor 开发者 介绍Razor的特性 阅读全文

posted @ 2012-07-07 16:12 imihiro 阅读(297) 评论(0) 推荐(0)

IIS7 MVC网站生成、发布
摘要:(1)生成。 确保System.Web.Mvc.dll在bin目录下(2)发布网站到文件系统(3)在IIS中为网站添加应用程序池(一个虚拟目录,一个应用程序池)(4)添加在默认网站下添加虚拟目录(5)转换为应用程序至此,部署完毕 阅读全文

posted @ 2012-07-07 09:29 imihiro 阅读(14512) 评论(1) 推荐(0)

MVC 4 教程
摘要:MVC4 前件:visual studio10 sp1http://www.asp.net/mvc/tutorials/mvc-4/getting-started-with-aspnet-mvc4/intro-to-aspnet-mvc-4(by Rick Anderson)Music Store (byJon Galloway)http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-1http://ofps.oreilly.com/titles/9781449320317/ch_Intro.html(600P 阅读全文

posted @ 2012-07-06 15:43 imihiro 阅读(1011) 评论(0) 推荐(0)

Entity Framework 常用类
摘要:(1)DbContext (Entity FrameWork 5.0)(数据库的CRUD操作)(2)DbSet Represents a typed entity set that is used to perform create, read, update, and delete operations. DbSet is not publicly constructible and can only be created from a DbContext instance. (表的CRUD操作) 阅读全文

posted @ 2012-07-06 14:26 imihiro 阅读(334) 评论(0) 推荐(0)

MVC3 快速构建 影片信息网站; 字符和byte[]的相互转换
摘要:(1)新建ASP.NET MVC3 Application-->选择Internet Application 模版。 (需要.NET Framework 4.0, 并安装Visual Studio 2010)(2)在Model目录下添加类Movie.cs。 包含Movie Model和 Movie DbContext 两个类。(需要使用Entity Framework,该框架包含在vs 2010中) 代码如下namespace MVC3_Application.Models{ public class Movie { public int ID { get; set;... 阅读全文

posted @ 2012-07-06 13:59 imihiro 阅读(449) 评论(0) 推荐(0)

SQLServer Compact 简介
摘要:Microsoft SQL Server Compact 4.0 是一种免费的嵌入式数据库,软件开发人员可以使用它来构建 ASP.NET 网站和 Windows 桌面应用程序。SQL Server Compact 4.0 的优点是:占用的空间小,支持在应用程序文件夹中专门部署其二进制文件,轻松地使用 Visual Studio 和 WebMatrix 进行应用程序开发,以及无缝地将架构和数据迁移到 SQL Server。安装: 使用MS 的WPI(WebPlatform Installer) 安装 即可文件: 后缀名是.sdf sdf文件不能用SQLServer 附加到数据库 安装了SQLSe 阅读全文

posted @ 2012-07-06 13:42 imihiro 阅读(1454) 评论(0) 推荐(0)

Entity Framework (先创建数据库Model类,以及操作数据库的方法。 最后从代码生成数据库和数据库模型)
摘要:The Entity Framework (often referred to as EF) supports a development paradigm called Code First. Code First allows you to create model objects by writing simple classes. (These are also known as POCO classes, from "plain-old CLR objects.") You can then have the database created on the fly 阅读全文

posted @ 2012-07-06 13:29 imihiro 阅读(336) 评论(0) 推荐(0)

ASP.NET aspx页面中 写C#脚本; ASP.NET 指令(<%@%>);
摘要:<h2>Welcome</h2> <ul> <% for (int i = 0; i <= Convert.ToInt32(ViewData["numtime"]); i++) {%> <li><%= ViewData["Message"].ToString() %></li> <% } %> </ul>"{" 是语言的一部分,肯定要写在 <%%>中二、ASP.NET 指令(<%@%>)Master 阅读全文

posted @ 2012-07-05 15:07 imihiro 阅读(16370) 评论(0) 推荐(0)

ASP.NET MVC
摘要:Model:数据和业务规则 data and business rulesView: 结果展示 output and representationController: 把用户输入 转变成 Model能处理的数据访问localhost/Home/index.aspx,实际机制:HomeControl.cs中的 Action index;返回机制:返回Views/Controller/index.aspx总结:请求aspx时,是请求control类下的action方法 返回views时,是返回View目录下的Control类的action.aspx.入门文章C1http://www.cnblog 阅读全文

posted @ 2012-07-04 22:04 imihiro 阅读(466) 评论(0) 推荐(0)

Asp.NET DevelopmentServer 固定端口号
摘要:2010-09-07 10:20ASP.NET Development Server 固定端口号用 ASP.NET Development Server 运行文件系统网站时,默认情况下在随机选择的 localhost 端口上调用 Web 服务器。例如,如果要测试名为 MyPage.aspx 的页,则在 ASP.NET Development Server 上运行该页时,该页的 URL 可能是:http://localhost:31544/MyPage.aspx如果要在特定端口上运行 ASP.NET Development Server,可以为此相应地配置服务器。注意 Visual Web De 阅读全文

posted @ 2012-07-02 23:56 imihiro 阅读(4192) 评论(0) 推荐(1)