Ruby 模块(Module) 模块(Module)是一种把方法、类和常量组合在一起的方式。模块(Module)为您提供了两大好处。 模块提供了一个命名空间和避免名字冲突。 模块实…
Ruby CGI Cookies HTTP协议是无状态协议。但对于一个商业网站,它需要保持不同的页面间的会话信息。 如用户在网站注册过程中需要跳转页面,但又要保证之前填写的信息部丢…
Android 应用程序组件 应用程序组件是一个Android应用程序的基本构建块。这些组件由应用清单文件松耦合的组织。AndroidManifest.xml描述了应用程序的每个组…
Ruby 安装 – Linux 下面列出了在 Linux 机器上安装 Ruby 的步骤。 注意:在安装之前,请确保您有 root 权限。 源码安装 下载最新版的 Rub…
Ruby 块 您已经知道 Ruby 如何定义方法以及您如何调用方法。类似地,Ruby 有一个块的概念。 块由大量的代码组成。 您需要给块取个名称。 块中的代码总是包含在大括号 {}…
Ruby 连接 Mysql – MySql2 前面一章节我们介绍了 Ruby DBI 的使用。这章节我们技术 Ruby 连接 Mysql 更高效的驱动 mysql2,目…
Android 架构 Android 操作系统是一个软件组件的栈,在架构图中它大致可以分为五个部分和四个主要层。 Linux内核 在所有层的最底下是 Linux - 包括大约115…
Ruby 安装 – Windows 下面列出了在 Windows 机器上安装 Ruby 的步骤。 注意:在安装时,您可能有不同的可用版本。 Window 系统下,我们可…
Ruby 字符串(String) Ruby 中的 String 对象用于存储或操作一个或多个字节的序列。 Ruby 字符串分为单引号字符串(’)和双引号字符串(R…
Ruby CGI方法 以下为CGI类的方法列表: 序号 方法描述 1 CGI::new([ level=”query”])创建 CGI 对象。query可以…
Android Hello World 实例 让我们开始真正的基于Android框架编程。在开始使用Android SDK写第一个示例之前,请确保你已经按照Android - 环境…
Ruby 中文编码 前面章节中我们已经学会了如何用 Ruby 输出 ”Hello, World!”,英文没有问题,但是如果你输出中文字符”你好,…
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
Excellent blog here Also your website loads up very fast What web host are you using Can I get your affiliate link to your host I wish my web site loaded up as quickly as yours lol