Naming a Method》的相关内容

Rails的怪异作法 -- 关于config

说ruby是怪异的语法有点不妥当,动态语言里面不乏这样的语法出现。但是看了一些源码后发现,使用ruby的用法真的各有不同,就像大家以前说的,ruby每个人写出来的可能都不同。 现来说Rails里面如何加载config的吧。 在java里面config绝对是一个resource文件,然后通过读取配置的工具加入进来,在分析处理。 在ROR里面完全不是这么回事。 1.首先大家要了解的是,在我们启 ...
by 差沙 2006-11-21 浏览 (8846) 回复 (19) 关键字:

Ruby DSL

http://forum.javaeye.com/viewtopic.php?p=128602#128602 potian 写道 macro没有利用任何反射能力,和类型也没有关系 Lisp macro(我只知道Common Lisp)的macro主要是开放编译器内部的结构,把词法分析、语法分析和语义分析和执行中间割裂(不过S-Expression非常简单,基本上没有语法),Lisp的S-expr ...
by buaawhl 2006-07-12 浏览 (9963) 回复 (10) 关键字:

自己翻译的Java.In.A.Nutshell.5th中泛型一章,欢迎拍砖把文章砸的漂亮一些

做些说明吧:转网页的东西,改起来稍觉得的麻烦,就可能滞后。不过pdf文件会不定时的及时更新 4.1. Generic Types Generic types and methods are the defining new feature of Java 5.0. A generic type is defined using one or more type variables and has ...
by Julysea 2006-09-21 浏览 (11470) 回复 (19) 关键字:

TOB - An ORM Replacement Unleashes Real Power Of Java OO Per

Useful Links: * See http://tob.ableverse.org/benchmarks.html to get shock by extreme database performance! * See http://www.webofweb.net ( CDDL source code at http://wow.dev.java.net ) for TOB in ac ...
by 歆渊 2006-11-23 浏览 (10759) 回复 (52) 关键字: tob

rails 细研base.rb(rails_generator)

lib/ruby/gems/1.8/gems/rails-1.2.3/lib/rails_generator/base.rb require File.dirname(__FILE__) + '/options' require File.dirname(__FILE__) + '/manifest' require File.dirname(__FILE__) + '/spec' re ...
by xu_wccq 2008-01-17 浏览 (194) 回复 (0) 关键字: rails generator core

Crossing borders: Ajax on Rails

Crossing borders: Ajax on Rails Why Ajax works so well with Ruby ...
by Gene 2006-12-07 浏览 (513) 回复 (0) 关键字:

每天一剂Rails良药之Automating Development With Your Own Generators

今天看看怎么写自己的Generators Rails在以下地方查找用户自定义的Generators: RAILS_ROOT/lib/generators RAILS_ROOT/vendor/generators RAILS_ROOT/vendor/plugins/any_subdirectory/generators ~/.rails/generators 以及以_generator为后缀的Gem ...
by hideto 2007-05-18 浏览 (829) 回复 (3) 关键字: Rails Automating Development With Your Own Generators

(ZZ)Cache in Rails

很经典的文章,留在blog里面做个收藏 Ruby on Rails Caching Tutorial Posted by gregg When your Ruby On Rails Website gets famous you're going to wish you implemented proper caching. Are you worried? Maybe ju ...
by 9esuLuciano 2007-09-25 浏览 (280) 回复 (0) 关键字:

(转)Rolling with Ruby on Rails, Part 2 (onlamp.com)

Are you ready? Let's begin! Updating Ruby on Rails When I wrote Part 1, the current version of Rails was 0.9.3. At the time of this writing, Rails is up to version 0.10.0 and has some useful new featu ...
by lzj520 2006-11-04 浏览 (17) 回复 (0) 关键字:

Flex With Spring [转]

来源:  http://coenraets.org/flex-spring       What is Spring?Spring is one of the most popular Java frameworks. The foundation ofthe Spring framework is a lightweight comp ...
by mikel 2007-11-23 浏览 (1266) 回复 (1)

推荐一首nba music--remember the name

共享区可以下载 这里有个mv: http://bbs.hoopchina.com/htm_data/18/0609/122591.html ------- You ready? Lets go Yeah For those who wanna know what we're all about Its like this y'all 15% conncentrated power of wi ...
by eyejava 2006-11-07 浏览 (2193) 回复 (0)

The Problem with Programming

转自: http://www.techreview.com/InfoTech/17831/page1/ Bjarne Stroustrup, the inventor of the C++ programming language, defends his legacy and examines what's wrong with most software code. 引用 In the 1 ...
by qiezi 2006-12-06 浏览 (1105) 回复 (2)

在Grails中如何配置过滤器?我找不到web.xml!

突然发现找不到地方写过滤器配置,因为WEB-INF中没有web.xml文件! 使用grails war生成的war包中倒是有,看来是临时生成的! 现在我想配置自己的过滤器该往哪里写?!
by zengsun 2007-12-02 浏览 (930) 回复 (10)

Tips on writing scalable apps

from  http://googleappengine.blogspot.com/2008/04/posted-by-ken-ashcraft-software.html Posted by Ken Ashcraft, Software Engineer Google App Engine makes writing scalable apps easier, and a wel ...
by pickerel 2008-05-23 浏览 (133) 回复 (0)

NetBeans6.5 M1 众多期待的特性一览表!

NetBeans6.5 M1 众多期待的特性一览表! Netbeans 6.5 M1 已经发布,最新版本的NetBeans 增强了许多功能,同时也引入了许多值得期待的新特性. 其中我比较喜欢的是DataBase 的改进,Eclipse 项目导入变得比以前更方便了,可以正确的区分Web项目 和普通项目,还有Spring   Hibernate 增强. GUI 中新增了JD ...
by gml520 2008-06-25 浏览 (4453) 回复 (16) 关键字: netbeans 6.5 m1

Sun公司加快JDK的开发—JDK6u6以及JDK6u10Beta发布!

JDK6u6的内部版本号是1.6.0_06-b02,这次发布主要是修正了一些Bug。原文如下: 网址:http://java.sun.com/javase/6/webnotes/ReleaseNotes.html Java SE 6u10Beta的发布则与众不同   官方发文写到:千万不要被它不起眼的名字(即Java SE 6u10Beta,JDK6更新10Beta版本)所愚弄,它是一个 ...
by jyw 2008-04-18 浏览 (1703) 回复 (1) 关键字: jdk

Ruby,Python不能威胁到Java的13个理由

  最近,danielstoner发表了一篇题为13 reasons why Ruby, Python and the gang will push Java to die… of old age的文章。文中作者的观点是:目前这些XX语言都不足以威胁到Java,Java真正的危险不是来自外部,而是其本身。作者通过列举一些数据并进行分析得到了13个理由来支持自己的结论。   首先,作者从TIOBE上 ...
by Eastsun 2008-05-29 浏览 (5102) 回复 (20) 关键字: ruby python scala groovy java引用 编辑 收藏

相关问答

赞助商链接