ruby on rails培训交流

ruby on rails招聘 南京威明顿信息08年07月22日

七月 22nd, 2008

南京威明顿信息系统有限公司
Ruby软件工程师
工作地点: 南京市 招聘人数: 10
工作年限: 一年以上
外语要求: 英语 良好
日语 一般 学 历: 本科

职位描述:
Ruby软件工程师
基本要求:
1、本科以上学历,计算机及其相关专业
2、具有较强的自学和创新能力,对新技术的快速掌握能力。热爱程序, 热爱设计, 热爱编写美丽的代码,热爱学习跟踪最新的开源项目。
3、能承受工作压力,具有较好的团队合作能力和沟通能力
4、英语四级以上,能够熟练阅读相关英文文档

职位要求:
1、1年以上ruby实际开发经验,熟悉rails
2、熟悉Xml、Web Service、SOAP 等协议,有XML、Web Service实际开发经验者优先
3、有Linux,Mysql,Apache等相关应用及开发经验;了解HTML、DIV+CSS、Javascript、AJAX等网络语言和技术
4、熟悉eclipse(其他IDE),SVN等开发环境
5、熟悉SOA协议,有SOA架构经验优先
**主要从事海外项目开发,日语或英语口语优秀者可派驻日本或美国驻地开发**

ruby on rails招聘 南京昆仑移科科技08年07月22日

七月 22nd, 2008

北京昆仑移科科技发展有限公司南京研发中心
Ruby On Rails 互联网开发人员
工作地点: 南京市
招聘人数: 若干 工作年限: 一年以上
学 历: 大专
职位描述:
熟悉Ruby On Rails软件系统架构,熟悉MVC架构,

iphone web开发唯一发现的一本书

七月 21st, 2008

作者:Richard Wagner
在老外网站上发现的(Professional+iPhone+and+iPod+Touch+Programming.pdf),PDF电子文档居然还收费..晕倒 ,Google一下(顺便提下:狗狗使用新的域名www.g.cn好些日子-不错 我很喜欢 我挺你,让我从百度www.baidu.com 转型到狗狗上找东西,就是冲着你的域名短~~忽忽  让我少打两个字母,狗狗买这个域名值了 相信不少人都和我一样的,要是百度也弄个www.b.cn 哪就好咯 不过这个www.b.cn好些被某些令人讨厌的抢注机构给K了。)
果然强大一下就找到了下载的地方 。

现在转到本网站来 希望朋友们直接右击下载,不要使用迅雷等p2p软件下载。  http://www.roredu.com/up_files/Professional+iPhone+and+iPod+Touch+Programming.pdf

     恩这本书不错,前台方面的讲的很详细 有同道中人 留言谈下你们开发iphone web 遇到的问题。

针对各种浏览器的css hack写法

七月 21st, 2008

1:IE6及IE6以下识别
* html select {…}
这个地方要特别注意很多博客都写成了是IE6的HACK其实IE5.x同样可以识别这个HACK。其它浏览器不识别。

2:针对IE7的
>body
html*
*+html
这三种写法,其中前两种都是不合法的 CSS 写法,在标准兼容浏览器中被被忽略,但是 IE7 却不这么认为。对于 >body ,它会将缺失的选择符用全局选择符 * 代替,也就是将其处理成了 *>body,而且不光对于 > 选择符,+,~ 选择符中这个现象也存在。对于 html* ,由于 html 和 * 之间没有空格,所以也是一种 CSS 语法错误,但 IE7 不会忽略,而是错误地认为这里有一个空格。对于第三种 *+html,IE7 认为 html 前面的 DTD 声明也是一个元素,所以 html 会被选中,这三种方法中只有这一种方法是合法的 CSS 写法,也就是说可以通过校验器的验证,因此也是作者推荐的 hack 用法。

3:仅IE6不识别,屏蔽IE6
select { display /*屏蔽IE6*/:none;}
这里主要是通过CSS注释分开一个属性与值,注释在冒号前。

4:仅opera可以识别
@media screen and (min-width:0px){
选择符 {
样式
}
选择符 {
样式
}
}

由于上面的代码只能被Opera读到,而其他浏览器只会将其视为无效的代码而忽略掉,所以我们可以将其作为Opera的hack来使用。
全文阅读 »

CSS减肥总结-节省代码量

七月 21st, 2008

使用Dreamweaver的师哥师妹都知道,这个前台编辑工具很强大,鼠标点点就自动生成了许多CSS代码,不用自己写的。但是看下代码你可能发现 垃圾代码真多。

例如本来我想 让div加1px黑色框,我们手工写肯定是这样的-》 border:1px solid #000;

 但是程序自动生成这样的:
border-top:1px solid #00000
border-left:1px solid #00000
border-right:1px solid #00000
border-bottom:1px solid #00000;
这样你的CSS文件是不是变大了,下面我们就来说说怎么给CSS减肥。

css缩写的主要规则如下:

颜色
16进制的色彩值,如果每两位的值相同,可以缩写一半,例如:
#000000可以缩写为#000;#336699可以缩写为#369;

盒尺寸
通常有下面四种书写方法:

property:value1; 表示所有边都是一个值value1;
property:value1 value2; 表示top和bottom的值是value1,right和left的值是value2
property:value1 value2 value3; 表示top的值是value1,right和left的值是value2,bottom的值是value3
property:value1 value2 value3 value4; 四个值依次表示top,right,bottom,left
方便的记忆方法是顺时针,上右下左。具体应用在margin和padding的例子如下:
margin:1em 0 2em 0.5em;

边框(border)
边框的属性如下:

border-width:1px;
border-style:solid;
border-color:#000;
可以缩写为一句:border:1px solid #000;
全文阅读 »

CSS Hack 大全(定期汇总)

七月 21st, 2008
  1. height:20px; /*For Firefox*/
  2. *height:25px; /*For IE7 & IE6*/
  3. _height:20px; /*For IE6*/
  4. div#milkr{width:200px;} /*-for ff-*/
  5. * html div#milkr{width:180px;}   /*-for ie6-*/
  6. *+html div#milkr{width:150px;}  /*-for ie7-*/
  7. 所以,tantakhack必须和正确的DOCTYPE同时包含在文档中才能够正常工作
  8.  
  9. div.content {
  10. width:400px; //这个是错误的width,所有浏览器都读到了
  11. voice-family: "\"}\""; //IE5.X/win忽略了"\"}\""后的内容
  12. voice-family:inherit;
  13. width:300px; //包括IE6/win在内的部分浏览器读到这句,新的数值(300px)覆盖掉了旧的
  14. }
  15. html>body .content { //html>bodyCSS2的写法
  16. width:300px; //支持CSS2该写法的浏览器有幸读到了这一句
  17. }
  18.  
  19. 现在回到主题,我们经常看到!important和(空格)/**/:组合在一起使用,这个写法有什么奥妙呢?
  20.  
  21. 看刚才那个写法,我这里可以提供另一种写法也能达到这样的效果
  22.  
  23. div.content {
  24. width:300px !important; //这个是正确的width,大部分支持!important标记的浏览器使用这里的数值
  25. width(空格)/**/:400px; //IE6/win不解析这句,所以IE6/win仍然认为width的值是300px;而IE5.X/win读到这句,新的数值(400px)覆盖掉了旧的,因为!important标记对他们不起作用
  26. }
  27. html>body .content { //html>bodyCSS2的写法
  28. width:300px; //支持CSS2该写法的浏览器有幸读到了这一句
  29. }

同样,这个方法仍必须依靠正确的文档类型声明才能够正常工作,原因在前面已经说过。
全文阅读 »

div+css命名参考

七月 21st, 2008

常用的CSS命名规则:
头:header
内容:content/container
尾:footer
导航:nav
侧栏:sidebar
栏目:column
页面外围控制整体布局宽度:wrapper
左右中:left right center

命名全部使用小写字母,如果需要多个单词,单词间使用“-”分隔,比如user-list
常用代码结构:
div:主要用于布局,分割页面的结构
ul/ol:用于无序/有序列表
span:没有特殊的意义,可以用作排版的辅助,例如

<li><span>(4.23)</span>天幻网六周年天幻网六周年天幻网六周年天幻网六</li>

然后在css中定义span为右浮动,实现了日期和标题分两侧显示的效果

h1-h6:标题
h1-h6 根据重要性依次递减
h1位最重要的标题

C #content

S #subcol

M #maincol

X #xcol

这是纵向布局的XHTML结构,c-smx表示网页有三个纵栏, c-sm表示有两个纵栏, c-mx表示有两个纵栏其中一个是附属的, c-m表示一个纵栏。

其中在三纵栏的布局需要分为两层 第一层是#subcol与#main第二层是#main中的#maincol与#xcol。

命名尽量和对应的结构意思想近这样以后维护起来容易许多, 建议使用英文缩写 。
全文阅读 »

Ruby中的特殊变量、常量

七月 20th, 2008

$0 :当前脚本名称
$: :动态库路径
$& :[正则表达式]与模式匹配的那部分
$` :(反引号)[正则表达式]与模式匹配之前的那部分
$’ :[正则表达式]与模式匹配之后的那部分
$~ :[正则表达式]是MatchData对象,它持有有关匹配的所有信息
$1…… :[正则表达式]持有匹配各个部分的值
$+ :[正则表达式]成功模式匹配产生的最高序号的组的内容
$/ :输入记录分隔符
$-0 :同$/的同义词
$\ :附后加到方法调用的输出结果的字符串。默认为nil(如kernel#print,IO#write)
$, :输出的分隔符,默认为nil
$. :从当前输入文件中读入的最后一行的行号
$; :String#split使用的默认分隔模式
$> :Kernel#print 和Kernet#printf的输出目标
$< :输入的内容
$_ :Kernel#gets或者Kernel#readline读入的最后一行[thread]
$stderr
$stdin
$stdout
$* :调用参数(除了ruby使用的参数)
$” :包含require装载的文件名或者模块名
__FILE__ :当前源文件名
$FILENAME :当前输入的文件的名字
$ARGF :同$<
$ARGV :同$*
ENV :包含了所有的环境变量的值

The Legend of Sleepy Hollow

七月 20th, 2008

内容简介:
《睡谷的传说》中,欧文是这样给我们描述“睡谷”的:“离开这个村庄不远,大约两英里路光景,在高山之间,有一个小山谷,或者不如说,一块凹地,它算得上是全世界最安静的地方。一条小溪穿谷而过,汩汩的水声刚好催人入梦,偶尔一声鹌鹑的轻啼,或者啄木鸟“得得”啄木的声音,几乎就是打破这万籁俱寂的气氛的惟一的声响了。”这里“仿佛有一种昏沉沉、令人思睡的力量笼罩着整个山谷,甚至渗透了那儿的空气。”在这样的自然氛围下,作者又加入了自己童年时代打松鼠的回忆和感受。他说,一天正午,他溜达进一片高大的胡桃树林,听到自己的枪声打破了四周的寂静,连自己也吃了一惊。他随即想道:“要是有一天,我想退隐,逃避纷纭的俗世,在恬静的梦中度过烦恼的余生,我真不知道还有什么地方会比这个小小的山谷更使我满意的了。”何况,这里还流传着关于德国医生和魔法、印第安酋长和巫术的神奇传说。所以当地的老百姓好像鬼迷了心窍一般,走路时也像在做梦,成天恍恍惚惚,容易发生幻想,看到异象。这里也是“梦魇和她的九个小鬼”最喜爱的游乐场。读者可以想象一下,乡村教师伊卡包德·克莱恩就是在这样的地方,在一个漆黑的夜里,遭遇了那个骑在马背上的“无头鬼”。

Grade 7 Up-The Legend of Sleepy Hollow takes place in Tarrytown, and tells the
story of schoolmaster, Ichabod Crane, Connecticut native, who comes to teach in
a one-room schoolhouse. He becomes the neighborhood song master, reads Cotton
Mather, steeps himself in local folklore, and competes with Brom Bones for the
affections of Katrina. One afternoon, after being rebuffed by Katrina, he
briskly rides off on his landlord’’s horse, sees an apparition of a headless
horseman, and is never seen again in Sleepy Hollow. The townspeople have a
myriad of theories concerning his disappearance. Rip Van Winkle is the short
tale of a henpecked man who is very much liked by the townspeople, but is a
failure as a farmer and family man. He journeys up the mountains one afternoon
with his dog and stumbles upon a strangely dressed group of men who offer him a
drink that puts him to sleep for 20 years. The world to which he awakens is
greatly changed. George Vafiadis provides flawless narration for these tales by
Washington Irving. His voice is strong, distinctive, and clear. Students may
find this audio version helpful in understanding these tales set in the 18th
century. The language is archaic and patronizing to women and blacks, although
it is was appropriate to the time. The action takes place after a great deal of
description, and middle schoolers may miss the tongue-in-cheek humor. Students
may need prompting to listen to these two tales. That said, these classic tales
are steeped in atmosphere and reveal a great deal about the social and political
history of the time.

The Mysterious Mr. Quin

七月 19th, 2008

内容简介:
Agatha Christie is more than the most popular mystery writer of all time. In a
career that spans over half a century, her name is synonymous with brilliant
deception, ingenious puzzles, and the surprise denouement. By virtually
inventing the modern mystery novel she has earned her title as the Queen of
Crime. Curious? Then you”re invited to read….THE MYSTERIOUS MR. QUINA
conjurer of skill with an instinct for detection, Mr. Harley Quin has an almost
magical flair for appearing at the scene of the most remarkable crimes. But is
it just a trick of light that haunts his shadow with a ghostly apparition? Is it
fate that invites him to a New Year’’s Eve murder? And what forces are at work
when his car breaks down outside Royston Hall, an isolated estate with a deadly
history? With fantastic intrigue, uncanny procedure, and Agatha Christie’most
charismatic creation, these dazzling stories remain personal favorites for the
queen of crime.AUTHORBIO: AGATHA CHRISTIE is the world’’s best known mystery
writer. Her books have sold over a billion copies in the English language and
another billion in 44 foreign languages. She is the most widely published author
of all time in any language, outsold only by the Bible and Shakespeare. Her
writing career spanned more than half a century, during which she wrote 80
novels and short story collections, as well as 14 plays, one of which, The
Mousetrap, is the longest-running play in history. Two of the characters she
created, the brilliant little Belgian Hercule Poirot and the irrepressible and
relentless Miss Marple, went on to become world-famous detectives. Both have
been widely dramatized in feature films and made-for-TV movies.Agatha Christie
also wrote under the pseudonym Mary Westmacott. As well, she wrote four
non-fiction books including an autobiography and an entertaining account of the
many expeditions she shared with her archaeologist husband, Sir Max Mallowan.
Agatha Christie died in 1976.

【总 页 数】:272页
【装  帧】:平装
【开  本】:6.8 x 4.2 x 0.8 inches
【I S B N】 :0312981600
【出版社】: St. Martin’s Minotaur

Pages: Prev 1 2 3 ...25 26 27 28 29 30 31 32 33 Next