`
wutao8818
  • 浏览: 619657 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论
文章列表
I got around to setting up Ruby on our new Centos 5 server today and ran into a snag. I ran: yum install ruby And went on to installing rubygems. However in installing rubygems I got an error that rdoc was not installed. Now I don’t remember ever having to install RDoc on my mac so I did a quick go ...
准备用ror写点东西,首先得找个舒服的IDE。netbeans6.0竟然装不上我的ubuntu.报错。 听说Textmate不错,可惜是Mac下面的编辑器。突然看到有一篇文章介绍linux下gedit也可以达到类似的效果。先看看吧。 Textmate-like Gedit in few steps UPDATE: A !! new version !! of this guide is avalaible. 感觉还不错。下面还有很多插件哦。 具体请看http://grigio.org/textmate_gedit_few_steps Snippets: it permits ...
1.首先一个区别 script\generate scaffold product title:string description:text image_url:string 在书中 只需要添加scaffold :product到AdminController到即可实现基本的操作。2.0中删除了动态scaffold方式。 这个问题在另一篇文章里已经写了。更准确的介绍可以查看 http://wiki.rubyonrails.org/rails/pages/ScaffoldGenerator http://wiki.rubyonrails.org/rails/pages/Tutorial ...
3.7 索引调优 有2组参数可以设置。 在数据库触发索引操作的时候 • hibernate.search.[default|<indexname>].transaction.merge_factor    控制片段合并频率及大小 • hibernate.search.[default|<indexname>].transaction.max_merge_docs    定义一个片段中最大文档数 • hibernate.search.[default|<indexname>].transaction.max_buffered_docs    定义在创建索引 ...
Apache Lucene has a 概念 of Directory to store the index files 这个目录实现可以自定义。但是Lucene绑定文件系统FSDirectoryProvider 内存模式memory(RAMDirectoryProvider)2种实现。Hibernate Search 提供DirectoryProvider 概念处理Lucene目录问题。内建Directory Provide ...
开始为系统加入全文检索功能。考虑使用Hibernate Search 实现。 2.4节 Reader strategy 顺便翻译一些 当之行一个查询,Hibernate Search将通过一种读策略与lucene索引文件交互。选择哪种读策略取决于应用的属性(例如更新频率,主要以读为主,异步索引更新等)。可以参考3.5节读策略配置。 1.Shared 使用此策略。Hibernate Search 将使用相同的IndexReader,访问多个查询,and threads provided that the IndexReader is still up-to-date,If the Inde ...
今天在看Agile.Web.Development.with.Rails.2nd.Edition照着书写 Chapter 6 的代码class AdminController < ApplicationController scoffold Product;end运行报错。undefined method `scoffold' for AdminController:Class运行 gem list 查看当前版本rails (2.0.2, 1.2.6)查了网上的信息, 说是rails2.0把动态的scaffold去掉了。书写的内容比当前运行的2.0.2rails早。真郁闷。 怎么办。有一 ...
来源:http://webddj.sys-con.com/read/295396.htm  相关链接:http://flex.org/ruby/http://flexonrails.net/http://webddj.sys-con.com/ With the release of Flex 2, Adobe has introduced a tool that makes building rich user interfaces for the Web easier than ever; of course, as anyone remotely plugged in to the Web ...
来源:http://www.flex888.com/2007/09/20/10-flex-and-ruby-on-rails-integration-examples.html  I love RIA technologies and Ruby on Rails. I always think combination of the these two could be greatest system framework. I’m glad Adobe recognizes that too, so do a few great guys. Here are the examples:Integr ...
A former student asked me a few days ago how I learned Ruby on Rails. The answer was that I simply read alot of great tutorials. So in the spirit of sharing, here are the 12 tutorials that I found most useful: Rolling with Ruby on Rails - Curtis Hibbs of ONLamp.com offers his first excellent introdu ...
What is a Queue Let’s examine how events in a queue occur: For a programmer a queue is an Array with events that are stacked on each other to be handled one by one. For example, a user hovers over a button with his cursor and then after half a second leaves the button area again. Two events have take ...
Effect.Drop Out Makes the element drop and fade out at the same time. 让元素掉下去一样的消失的效果! Examples Effect.DropOut('id_of_element'); http://wiki.script.aculo.us/scriptaculous/show/Effect.DropOut ============================== Effect.Shake Moves the element slightly to the left, then to the right ...
Gives the illusion of the element puffing away (like a in a cloud of smoke). 让元素像烟一样消失的效果! Examples Effect.Puff('id_of_element'); // with options Effect.Puff('id_of_element', {duration:3}); Options Items in bold are default values. duration: 1.0 (in seconds) from: 0.0-1.0 (percent of ...

Effect.Fade

    博客分类:
  • js
Makes an element fade away and takes it out of the document flow at the end of the effect by setting the CSS display property to none. Opposite of Effect.Appear 元素消失效果! Examples Effect.Fade('id_of_element'); Effect.Fade('id_of_element', { transition: Effect.Transitions.wobble }) Option ...
Examples   Effect.Appear('id_of_element');   Effect.Appear('id_of_element', { duration: 3.0 }); Options duration:1.0 (in seconds) from:0.0-1.0 (percent of opacity to start) to:0.0-1.0 (percent of opacity to end) Notes: Works safely with most HTML elements, except table rows, table bodies and ...
Global site tag (gtag.js) - Google Analytics