Ruby 语言 思想驱动生活

Ruby,Rails,编程是一种乐趣。

Tag List for:

明天开始

Posted by liubin on Saturday May 31 @ 1:10
Taged with: tagged and

这几天主要考察了一下,主要想的都差不多了。明天开始就可以编码了,应该。

今天装了PEAR::Log

自己也想了2种多语言支持的方法,一个是用smarty的注册方法,一个是修饰子

注册方法的使用为:

{getMessage id=”some message”  name=”asdf “   mail= “hotmail”}

而语言定义文件为

“some message”=> “hello {name}, mail to {hotmail}”

取出的字符串当然会被asdf等实际传递的字符串替换。

TAG:


Locations of visitors to this page